Berker Peksag
bf3c1c3235
Issue #28075 : Fix test_access_denied in Python 3.5
I forgot there two variations of os.stat() in Python 3.5.
9 years ago
Berker Peksag
0b4dc4846b
Issue #28075 : Check for ERROR_ACCESS_DENIED in Windows implementation of os.stat()
Patch by Eryk Sun.
9 years ago
Martin Panter
6d57fe1c23
Issue #28139 : Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
9 years ago
Martin Panter
2dc77f0e19
Issue #28145 : Spelling fixes
9 years ago
Serhiy Storchaka
e6265e92bf
Issue #27599 : Fixed buffer overrun in binascii.b2a_qp() and binascii.a2b_qp().
9 years ago
Christian Heimes
7ce201322e
Restrict name_length to NAME_MAXLEN in unicodedata_UCD_lookup()
9 years ago
Berker Peksag
d751040b1a
Issue #26171 : Prevent buffer overflow in get_data
Backport of 01ddd608b85c.
9 years ago
Berker Peksag
4aa74c429c
Issue #28131 : Fix a regression in zipimport's compile_source()
zipimport should use the same optimization level as the interpreter.
9 years ago
Serhiy Storchaka
8ddcf3abf7
Issue #28019 : itertools.count() no longer rounds non-integer step in range
between 1.0 and 2.0 to 1.
9 years ago
Steve Dower
8dcc48ee3b
Issue #25758 : Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun)
9 years ago
Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
9 years ago
Martin Panter
be8da9c990
Issue #27570 : Avoid zero-length memcpy() calls with null source pointers
9 years ago
Benjamin Peterson
4a757609d1
do not memcpy from NULL
10 years ago
Christian Heimes
1c03abd026
Issue #27691 : Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs.
10 years ago
Benjamin Peterson
1bb0c0bd30
explicitly cast away constness to silence compiler warning
10 years ago
Benjamin Peterson
5130a4d5d7
Backed out changeset 8b6be1341770
10 years ago
Benjamin Peterson
6d999803a0
remove long double from ctypes value union
It is unused. It also forces a 16-byte alignment, which creates problems because
Python's allocator only uses 8-byte alignment.
10 years ago
Christian Heimes
281e5f8839
Issue #26470 : Use short name rather than name for compression name to fix #27958 .
10 years ago
Benjamin Peterson
768f3b4492
do not pretend to support passing a fd to access()
10 years ago
Christian Heimes
598894ff48
Issue #26470 : Port ssl and hashlib module to OpenSSL 1.1.0.
10 years ago
Serhiy Storchaka
2891492d23
Issue #27881 : Fixed possible bugs when setting sqlite3.Connection.isolation_level.
Based on patch by Xiang Zhang.
10 years ago
Serhiy Storchaka
ef113cd4cc
Issue #27861 : Fixed a crash in sqlite3.Connection.cursor() when a factory
creates not a cursor. Patch by Xiang Zhang.
10 years ago
Martin Panter
c427b8d517
Issue #19884 : Avoid spurious output on OS X with Gnu Readline
Also adjust the test condition, because enable-meta-key was only added in
6.1, not 6.0.
10 years ago
Berker Peksag
cc9afa9b51
Issue #10513 : Fix a regression in Connection.commit()
Statements should not be reset after a commit.
Backported from 029050896b
10 years ago
Berker Peksag
6afe85827c
Issue #21718 : cursor.description is now available for queries using CTEs
According to PEP 249, cursor.description must be
available for any SELECT statements, such as those
that use CTEs.
Backported from f67fa9c898
Additional test cases added by me.
10 years ago
Nick Coghlan
8682f578c1
Issue #27782 : Fix m_methods handling in multiphase init
Multi-phase extension module import now correctly allows the
``m_methods`` field to be used to add module level functions
to instances of non-module types returned from ``Py_create_mod``.
Patch by Xiang Zhang.
10 years ago
Benjamin Peterson
1f0e7c9933
rearrange methodcaller_new so that the main error case does not cause uninitialized memory usage ( closes #27783 )
10 years ago
Benjamin Peterson
3a27b0857e
do not decref value borrowed from list ( closes #27774 )
10 years ago
Benjamin Peterson
81b9ecd2a3
fix corner cases in the management of server_hostname ( closes #27773 )
10 years ago
Benjamin Peterson
432ea4ff37
fail when negative values are passed to instr()
10 years ago
Benjamin Peterson
4f976513ef
fix possible integer overflow in binascii.b2a_qp ( closes #27760 )
Reported by Thomas E. Hybel
10 years ago
Benjamin Peterson
40a77c3381
do not allow reading negative values with getstr()
10 years ago
Benjamin Peterson
6e01d90cc8
check for overflow in join_append_data ( closes #27758 )
Reported by Thomas E. Hybel
10 years ago
Vinay Sajip
6f25003291
Issue #20160 : Handled passing of large structs to callbacks correctly.
10 years ago
Benjamin Peterson
dbaa559b7f
all SCHED_ constants are optional ( closes #27656 )
10 years ago
Martin Panter
eb9957065a
Issue #27626 : Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
10 years ago
Victor Stinner
e33797b686
ctypes: fix CThunkObject_new()
* Initialize restype and flags fields to fix a crash when Python runs on a
read-only file system
* Use Py_ssize_t type rather than int for the "i" iterator variable
* Reorder assignements to be able to more easily check if all fields are
initialized
Issue #11048 . Initial patch written by Marcin Bachry.
10 years ago
Berker Peksag
1fd497ed91
Issue #27591 : Set sigint_event to NULL if _PyOS_IsMainThread() returns false
Patch by Chris Angelico.
10 years ago
Martin Panter
84544c1020
Issue #27130 : Fix handling of buffers exceeding UINT_MAX in “zlib” module
Patch by Xiang Zhang.
10 years ago
Victor Stinner
524714eeda
socket: use INVALID_SOCKET
* Replace "fd = -1" with "fd = INVALID_SOCKET"
* Replace "fd < 0" with "fd == INVALID_SOCKET": SOCKET_T is unsigned on Windows
Bug found by Pavel Belikov ("Fragment N1"):
http://www.viva64.com/en/b/0414/#ID0ECDAE
10 years ago
Victor Stinner
0cec877230
socket: Fix internal_select()
Bug found by Pavel Belikov ("Fragment N1"):
http://www.viva64.com/en/b/0414/#ID0ECDAE
10 years ago
Steve Dower
b22a67737e
Issue #27533 : Release GIL in nt._isdir
10 years ago
Stefan Krah
8c126f17f0
Issue #26974 : Fix segfault in the presence of absurd subclassing. Proactively
eliminate all internal uses of overridden methods.
10 years ago
Serhiy Storchaka
dec25afab1
Issue #17711 : Fixed unpickling by the persistent ID with protocol 0.
Original patch by Alexandre Vassalotti.
10 years ago
Martin Panter
bed7f1a512
Issue #23804 : Fix SSL zero-length recv() calls to not block and raise EOF
10 years ago
Serhiy Storchaka
1a2b24f02d
Issue #27332 : Fixed the type of the first argument of module-level functions
generated by Argument Clinic. Patch by Petr Viktorin.
10 years ago
Benjamin Peterson
b8a2f51ceb
assume egd unless OPENSSL_NO_EGD is defined—remove configure check ( closes #24557 )
10 years ago
Serhiy Storchaka
9e941d6373
Fixed integer overflow in array.buffer_info().
10 years ago
Stefan Krah
947f099d99
Issue #27006 : Do not use PyDec_CheckExact() on a type.
10 years ago
Stefan Krah
6817c59cf0
Issue #27006 : from_float(): call the subclass' __new__() and __init__().
10 years ago