Ned Deily
7b9ddea80b
Issue #20374 : Avoid compiler warnings when compiling readline with libedit.
12 years ago
Christian Heimes
d33491ea76
Issue #20515 : Fix NULL pointer dereference introduced by issue #20368
CID 1167595
12 years ago
Benjamin Peterson
091d017ab1
restore namespacing of pyexpat symbols ( closes #19186 )
12 years ago
Serhiy Storchaka
1317e14468
Issue #20368 : The null character now correctly passed from Tcl to Python.
Improved error handling in variables-related commands.
12 years ago
Victor Stinner
933209689e
Issue #20311 : Revert 033137c12d88, select.epoll.poll() rounds again the timeout
towards zero
12 years ago
Benjamin Peterson
f0b463ad84
new plan: just remove typecasts ( closes #20374 )
12 years ago
Benjamin Peterson
5f6bf55965
use new readline function types ( closes #20374 )
12 years ago
Serhiy Storchaka
744135d7bb
Issue #19936 : Restored executable bits for several libffi files.
These files have shebangs and executable bits in the libffi distribution.
12 years ago
Victor Stinner
665486e0e7
Issue #20311 : select.epoll.poll() now rounds the timeout away from zero,
instead of rounding towards zero. For example, a timeout of one microsecond is
now rounded to one millisecond, instead of being rounded to zero.
12 years ago
Serhiy Storchaka
7e52705ee3
Issue #20315 : Removed support for backward compatibility with early 2.x versions.
12 years ago
Benjamin Peterson
e83ed43281
improve description of buffers argument for readv/writev ( closes #17811 )
Patch by Nikolaus Rath.
12 years ago
Gregory P. Smith
f34890937b
avoid a compiler warning about assigning const char * to char *.
12 years ago
Serhiy Storchaka
7f470d0f9c
Issue #19936 : Remove executable bits from C source files and several forgotten
test files.
12 years ago
Serhiy Storchaka
b992a0e102
Issue #19936 : Added executable bits or shebang lines to Python scripts which
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang line to use python3 executable in the unittestgui script.
12 years ago
Stefan Krah
16540408f4
Issue #19936 : Disable shebang lines in order to prevent using a random
system python.
12 years ago
Benjamin Peterson
a677d7628b
remove overly strict assertion ( closes #20251 )
12 years ago
Benjamin Peterson
9cb33b7d03
correct defaultdict signature in docstring ( closes #20250 )
Patch from Andrew Barnert.
12 years ago
Benjamin Peterson
fbf648ebba
complain when nbytes > buflen to fix possible buffer overflow ( closes #20246 )
12 years ago
Benjamin Peterson
463753831c
fix build when SCHED_SPORADIC is defined ( closes #20217 )
12 years ago
Antoine Pitrou
2f7c31678a
Remove conditional: it is useless at this point (OpenSSL headers are not yet included)
12 years ago
Antoine Pitrou
cd3d7cabef
Issue #20207 : Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for.
12 years ago
Benjamin Peterson
21e7d4cd5e
fix zipimport ref leak
12 years ago
Victor Stinner
57ddf78b6b
Issue #20113 : os.readv() and os.writev() now raise an OSError exception on
error instead of returning -1.
12 years ago
Gregory P. Smith
2bcbc14117
Fixes Issue #19081 : When a zipimport .zip file in sys.path being imported from
is modified during the lifetime of the Python process after zipimport has
already cached the zip's table of contents we detect this and recover
rather than read bad data from the .zip (causing odd import errors).
12 years ago
Stefan Krah
0455c3fd28
Whitespace.
12 years ago
Victor Stinner
5f8d485982
parser: fix usage of Py_BuildValue() to build a parser error
Fix typo: "os" format => "Os"
12 years ago
Victor Stinner
1e81a399a2
Issue #20025 : ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now raise a
ValueError if num is negative (instead of raising a SystemError).
12 years ago
Victor Stinner
cb1f74ec40
Issue #20026 : Fix the sqlite module to handle correctly invalid isolation level
(wrong type).
12 years ago
Serhiy Storchaka
cac23a50ee
Issue #18829 : csv.Dialect() now checks type for delimiter, escapechar and
quotechar fields. Original patch by Vajrasky Kok.
12 years ago
Gregory P. Smith
b1792d9503
remove trailing spaces.
12 years ago
Serhiy Storchaka
48d761e2b4
Issue #16404 : Add checks for return value of PyLong_FromLong() in
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
12 years ago
Stefan Krah
1f1ec12db9
Issue #19986 : Avoid an incorrect warning of older gcc versions.
12 years ago
Serhiy Storchaka
5da107ac72
Issue #17919 : Fixed integer overflow in the eventmask parameter.
12 years ago
Stefan Krah
01e5f800b4
Fix C++ header usage. This __STDC_LIMIT_MACROS scheme can still be subverted
by including stdint.h before mpdecimal.h. In that case the only option left
is to compile with -D_STDC_LIMIT_MACROS.
12 years ago
R David Murray
fc06999e0b
#19970 : Fix some comment typos.
Report and patch by Vajrasky Kok.
12 years ago
Serhiy Storchaka
3ad2d70947
Issue #17919 : select.poll.poll() again works with poll.POLLNVAL on AIX.
12 years ago
Victor Stinner
258e4d372f
Issue #14432 : Fix compilation when thread support is disabled
12 years ago
Victor Stinner
1310510793
Issue #14432 : Generator now clears the borrowed reference to the thread state
Fix a crash when a generator is created in a C thread that is destroyed while
the generator is still used. The issue was that a generator contains a frame,
and the frame kept a reference to the Python state of the destroyed C thread.
The crash occurs when a trace function is setup.
12 years ago
Stefan Krah
da12adac10
Do not discard const qualifier without a reason.
12 years ago
Stefan Krah
37d4e0be3d
Fix two typos.
12 years ago
Stefan Krah
42e3b607cb
Missed one copyright.
12 years ago
Stefan Krah
ecff6554d3
Update copyright. The four year increment is intentional (to save work).
12 years ago
Christian Heimes
abbc8ca708
ncurses' winch and mvwinch return an unsigned long
12 years ago
Stefan Krah
4b7f7acf30
Make a couple of parameters constant.
12 years ago
Gregory P. Smith
708a3182c9
Fixes issue #15798 : subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.
The errpipe_write fd will always be >= 3.
12 years ago
Gregory P. Smith
361e30c17a
Undo supposed fix for Issue #15798 until I understand why this is
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).
12 years ago
Gregory P. Smith
1eda9e7c30
Fixes Issue #15798 - subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.
12 years ago
Alexandre Vassalotti
65846c6c51
Issue #6477 : Keep PyNotImplemented_Type and PyNone_Type private.
12 years ago
Alexandre Vassalotti
19b6fa6ebb
Issue #6477 : Added support for pickling the types of built-in singletons.
12 years ago
Alexandre Vassalotti
896414fedf
Fixed _pickle.Unpickler to handle empty persistent IDs correctly.
12 years ago