Antoine Pitrou
78ace81c93
Issue #20207 : Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for.
2014-01-09 20:09:03 +01:00
Antoine Pitrou
2f7c31678a
Remove conditional: it is useless at this point (OpenSSL headers are not yet included)
2014-01-09 20:07:41 +01:00
Antoine Pitrou
cd3d7cabef
Issue #20207 : Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly asked for.
2014-01-09 20:02:20 +01:00
Benjamin Peterson
766e10c4a8
merge 3.3
2014-01-09 09:36:23 -06:00
Benjamin Peterson
21e7d4cd5e
fix zipimport ref leak
2014-01-09 09:36:10 -06:00
Victor Stinner
149e540adf
(Merge 3.3) Issue #20113 : os.readv() and os.writev() now raise an OSError
...
exception on error instead of returning -1.
2014-01-08 15:26:12 +01:00
Victor Stinner
57ddf78b6b
Issue #20113 : os.readv() and os.writev() now raise an OSError exception on
...
error instead of returning -1.
2014-01-08 15:21:28 +01:00
Gregory P. Smith
2e385e2592
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).
2014-01-07 18:34:23 -08:00
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).
2014-01-07 18:30:07 -08:00
Larry Hastings
df7c22b25b
Issue #19723 : Missed one conversion to the new Argument Clinic syntax.
2014-01-07 14:25:26 -08:00
Brett Cannon
b05cbe61b3
Issue #12837 : Silence a Clang compiler warning on OS X.
...
Now makes CPython build without warnings on OS X under Clang with
-Wno-unused-value -Wno-empty-body -Qunused-arguments
-Wno-deprecated-declarations.
Thanks to David Watson for taking an initial stab at a solution.
2014-01-07 17:01:01 -05:00
Larry Hastings
61272b77b0
Issue #19273 : The marker comments Argument Clinic uses have been changed
...
to improve readability.
2014-01-07 12:41:53 -08:00
Larry Hastings
77561cccb2
Issue #20141 : Improved Argument Clinic's support for the PyArg_Parse "O!"
...
format unit.
2014-01-07 12:13:13 -08:00
Larry Hastings
16c5191ab3
Issue #20144 : Argument Clinic now supports simple constants as parameter
...
default values. inspect.Signature correspondingly supports them in
__text_signature__ fields for builtins.
2014-01-07 11:53:01 -08:00
Larry Hastings
3f144c2ad7
Issue #20142 : Py_buffer variables generated by Argument Clinic are now
...
initialized with a default value.
2014-01-06 10:34:00 -08:00
Stefan Krah
0455c3fd28
Whitespace.
2014-01-04 13:03:48 +01:00
Larry Hastings
78cf85c669
Issue #19659 : Added documentation for Argument Clinic.
2014-01-04 12:44:57 -08:00
Larry Hastings
3cceb38486
Issue #19976 : Argument Clinic METH_NOARGS functions now always
...
take two parameters.
2014-01-04 11:09:09 -08:00
Stefan Krah
41adc26708
Merge from 3.3.
2014-01-04 13:06:59 +01:00
Martin v. Löwis
24e43308b7
* Issue #16113 : Remove sha3 module again.
...
Patch by Christian Heimes, with modifications.
2014-01-03 14:05:06 +01:00
Victor Stinner
5c86733c8a
Issue #18294 : Fix uint_converter() in zlibmodule.c, fix the "> UINT_MAX" check
2014-01-03 12:26:12 +01:00
Victor Stinner
daeffd2c08
audioop: adpcm2lin() and lin2adpcm() now raises a TypeError instead of a
...
SystemError if the state type is invalid.
2014-01-03 03:26:47 +01:00
Victor Stinner
e8794526db
threading.RLock._acquire_restore() now raises a TypeError instead of a
...
SystemError when it is not called with 2 arguments
2014-01-02 12:47:24 +01:00
Victor Stinner
f4c68db162
(Merge 3.3) parser: fix usage of Py_BuildValue() to build a parser error
...
Fix typo: "os" format => "Os"
2014-01-02 11:50:10 +01:00
Victor Stinner
5f8d485982
parser: fix usage of Py_BuildValue() to build a parser error
...
Fix typo: "os" format => "Os"
2014-01-02 11:49:27 +01:00
R David Murray
0e814634e5
whatsnew for gc.get_stats, plus doc tweaks.
...
Clarified the "At the moment" wording, and added the get_stats entry in the
module summary that Serhiy noted was missing at the end of issue 16351.
Given that pydoc lists all the function docstrings, I'm not sure that module
summary section is actually needed; but, it is probably better to address that
when the module is converted to use Argument Clinic. In the meantime we
should keep the list complete.
2013-12-26 15:11:28 -05:00
Christian Heimes
266772abe9
merge
2013-12-21 16:19:57 +01:00
Christian Heimes
af01f66817
Issue #16136 : Remove VMS support and VMS-related code
2013-12-21 16:19:10 +01:00
Antoine Pitrou
712cb734bd
Issue #20037 : Avoid crashes when doing text I/O late at interpreter shutdown.
2013-12-21 15:51:54 +01:00
Victor Stinner
36e96b8716
(Merge 3.3) Issue #20025 : ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now
...
raise a ValueError if num is negative (instead of raising a SystemError).
2013-12-19 16:47:25 +01:00
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).
2013-12-19 16:47:04 +01:00
Victor Stinner
08263f10f8
(Merge 3.3) Issue #20026 : Fix the sqlite module to handle correctly invalid
...
isolation level (wrong type).
2013-12-19 16:39:00 +01:00
Victor Stinner
cb1f74ec40
Issue #20026 : Fix the sqlite module to handle correctly invalid isolation level
...
(wrong type).
2013-12-19 16:38:03 +01:00
Serhiy Storchaka
cf58fb5e29
Issue #18829 : csv.Dialect() now checks type for delimiter, escapechar and
...
quotechar fields. Original patch by Vajrasky Kok.
2013-12-19 16:28:04 +02:00
Serhiy Storchaka
cac23a50ee
Issue #18829 : csv.Dialect() now checks type for delimiter, escapechar and
...
quotechar fields. Original patch by Vajrasky Kok.
2013-12-19 16:27:18 +02:00
Victor Stinner
f326665fe7
Fix os.listdir(): _Py_dup() already raises an exception on error, no need to
...
raise a new exception
2013-12-19 13:24:49 +01:00
Gregory P. Smith
b1792d9503
remove trailing spaces.
2013-12-18 11:27:05 -08:00
Serhiy Storchaka
85c2497950
Issue #16404 : Add checks for return value of PyLong_FromLong() in
...
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
2013-12-17 15:12:46 +02:00
Serhiy Storchaka
48d761e2b4
Issue #16404 : Add checks for return value of PyLong_FromLong() in
...
sys.getwindowsversion() and ossaudiodev.setparameters().
Reported by Ned Batchelder.
2013-12-17 15:11:24 +02:00
Victor Stinner
711e27cd50
tracemalloc: fix usage of strtol(), value can be LONG_MIN or LONG_MAX on ERANGE
2013-12-16 23:06:19 +01:00
Victor Stinner
4d8c29cd57
tracemalloc: only use unsigned types to compute hash
...
Commit to simplify the backport to python 2.7 and to make the code more
consistent.
2013-12-16 23:05:13 +01:00
Stefan Krah
ae01a8bcdf
Merge from 3.3.
2013-12-15 20:52:08 +01:00
Stefan Krah
1f1ec12db9
Issue #19986 : Avoid an incorrect warning of older gcc versions.
2013-12-15 20:45:08 +01:00
Serhiy Storchaka
03241e8017
Issue #17919 : Fixed integer overflow in the eventmask parameter.
2013-12-14 19:18:39 +02:00
Serhiy Storchaka
5da107ac72
Issue #17919 : Fixed integer overflow in the eventmask parameter.
2013-12-14 19:12:02 +02:00
Stefan Krah
f483b0f3a9
Issue #19972 : Add rarely used freefunc. This fixes a leak if sys.exit()
...
is used in a program.
2013-12-14 13:43:10 +01:00
Stefan Krah
7ab9f72519
Merge from 3.3.
2013-12-14 12:58:59 +01:00
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.
2013-12-14 12:58:09 +01:00
R David Murray
3c2a178af2
Merge: #19970 : Fix some comment typos.
2013-12-13 20:53:26 -05:00
R David Murray
fc06999e0b
#19970 : Fix some comment typos.
...
Report and patch by Vajrasky Kok.
2013-12-13 20:52:19 -05:00