summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20228: Argument Clinic now has special support for class specialLarry Hastings2014-01-121-8/+2
| | | | methods.
* Issue #20214: Fixed a number of small issues and documentation errors inLarry Hastings2014-01-121-6/+6
| | | | Argument Clinic (see issue for details).
* Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly ↵Antoine Pitrou2014-01-091-4/+5
|\ | | | | | | asked for.
| * Remove conditional: it is useless at this point (OpenSSL headers are not yet ↵Antoine Pitrou2014-01-091-2/+0
| | | | | | | | included)
| * Issue #20207: Always disable SSLv2 except when PROTOCOL_SSLv2 is explicitly ↵Antoine Pitrou2014-01-091-2/+5
| | | | | | | | asked for.
* | merge 3.3Benjamin Peterson2014-01-091-3/+1
|\ \ | |/
| * fix zipimport ref leakBenjamin Peterson2014-01-091-3/+1
| |
* | (Merge 3.3) Issue #20113: os.readv() and os.writev() now raise an OSErrorVictor Stinner2014-01-081-9/+15
|\ \ | |/ | | | | exception on error instead of returning -1.
| * Issue #20113: os.readv() and os.writev() now raise an OSError exception onVictor Stinner2014-01-081-9/+15
| | | | | | | | error instead of returning -1.
* | Fixes issue #19081: When a zipimport .zip file in sys.path being imported fromGregory P. Smith2014-01-081-48/+238
|\ \ | |/ | | | | | | | | 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).
| * Fixes Issue #19081: When a zipimport .zip file in sys.path being imported fromGregory P. Smith2014-01-081-47/+238
| | | | | | | | | | | | 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).
* | Issue #19723: Missed one conversion to the new Argument Clinic syntax.Larry Hastings2014-01-071-3/+3
| |
* | Issue #12837: Silence a Clang compiler warning on OS X.Brett Cannon2014-01-071-1/+15
| | | | | | | | | | | | | | | | 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.
* | Issue #19273: The marker comments Argument Clinic uses have been changedLarry Hastings2014-01-079-135/+135
| | | | | | | | to improve readability.
* | Issue #20141: Improved Argument Clinic's support for the PyArg_Parse "O!"Larry Hastings2014-01-071-5/+5
| | | | | | | | format unit.
* | Issue #20144: Argument Clinic now supports simple constants as parameterLarry Hastings2014-01-072-18/+62
| | | | | | | | | | default values. inspect.Signature correspondingly supports them in __text_signature__ fields for builtins.
* | Issue #20142: Py_buffer variables generated by Argument Clinic are nowLarry Hastings2014-01-061-4/+4
| | | | | | | | initialized with a default value.
* | Issue #19659: Added documentation for Argument Clinic.Larry Hastings2014-01-041-5/+2
| |
* | Issue #19976: Argument Clinic METH_NOARGS functions now alwaysLarry Hastings2014-01-042-20/+137
| | | | | | | | take two parameters.
* | Merge from 3.3.Stefan Krah2014-01-041-3/+3
|\ \ | |/
| * Whitespace.Stefan Krah2014-01-041-3/+3
| |
* | * Issue #16113: Remove sha3 module again.Martin v. Löwis2014-01-0323-7930/+0
| | | | | | | | Patch by Christian Heimes, with modifications.
* | Issue #18294: Fix uint_converter() in zlibmodule.c, fix the "> UINT_MAX" checkVictor Stinner2014-01-031-5/+6
| |
* | audioop: adpcm2lin() and lin2adpcm() now raises a TypeError instead of aVictor Stinner2014-01-031-0/+6
| | | | | | | | SystemError if the state type is invalid.
* | threading.RLock._acquire_restore() now raises a TypeError instead of aVictor Stinner2014-01-021-3/+3
| | | | | | | | SystemError when it is not called with 2 arguments
* | (Merge 3.3) parser: fix usage of Py_BuildValue() to build a parser errorVictor Stinner2014-01-021-1/+1
|\ \ | |/ | | | | Fix typo: "os" format => "Os"
| * parser: fix usage of Py_BuildValue() to build a parser errorVictor Stinner2014-01-021-1/+1
| | | | | | | | Fix typo: "os" format => "Os"
* | whatsnew for gc.get_stats, plus doc tweaks.R David Murray2013-12-261-0/+1
| | | | | | | | | | | | | | | | | | | | 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.
* | mergeChristian Heimes2013-12-216-7/+33
|\ \
| * | Issue #20037: Avoid crashes when doing text I/O late at interpreter shutdown.Antoine Pitrou2013-12-216-7/+33
| | |
* | | Issue #16136: Remove VMS support and VMS-related codeChristian Heimes2013-12-2111-228/+20
|/ /
* | (Merge 3.3) Issue #20025: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() nowVictor Stinner2013-12-191-0/+5
|\ \ | |/ | | | | raise a ValueError if num is negative (instead of raising a SystemError).
| * Issue #20025: ssl.RAND_bytes() and ssl.RAND_pseudo_bytes() now raise aVictor Stinner2013-12-191-0/+5
| | | | | | | | ValueError if num is negative (instead of raising a SystemError).
* | (Merge 3.3) Issue #20026: Fix the sqlite module to handle correctly invalidVictor Stinner2013-12-191-1/+4
|\ \ | |/ | | | | isolation level (wrong type).
| * Issue #20026: Fix the sqlite module to handle correctly invalid isolation levelVictor Stinner2013-12-191-1/+4
| | | | | | | | (wrong type).
* | Issue #18829: csv.Dialect() now checks type for delimiter, escapechar andSerhiy Storchaka2013-12-191-1/+8
|\ \ | |/ | | | | quotechar fields. Original patch by Vajrasky Kok.
| * Issue #18829: csv.Dialect() now checks type for delimiter, escapechar andSerhiy Storchaka2013-12-191-1/+8
| | | | | | | | quotechar fields. Original patch by Vajrasky Kok.
| * remove trailing spaces.Gregory P. Smith2013-12-181-7/+7
| |
* | Fix os.listdir(): _Py_dup() already raises an exception on error, no need toVictor Stinner2013-12-191-4/+2
| | | | | | | | raise a new exception
* | Issue #16404: Add checks for return value of PyLong_FromLong() inSerhiy Storchaka2013-12-171-8/+1
|\ \ | |/ | | | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder.
| * Issue #16404: Add checks for return value of PyLong_FromLong() inSerhiy Storchaka2013-12-171-8/+1
| | | | | | | | | | sys.getwindowsversion() and ossaudiodev.setparameters(). Reported by Ned Batchelder.
* | tracemalloc: fix usage of strtol(), value can be LONG_MIN or LONG_MAX on ERANGEVictor Stinner2013-12-161-1/+2
| |
* | tracemalloc: only use unsigned types to compute hashVictor Stinner2013-12-161-5/+4
| | | | | | | | | | Commit to simplify the backport to python 2.7 and to make the code more consistent.
* | Merge from 3.3.Stefan Krah2013-12-151-3/+4
|\ \ | |/
| * Issue #19986: Avoid an incorrect warning of older gcc versions.Stefan Krah2013-12-151-3/+4
| |
* | Issue #17919: Fixed integer overflow in the eventmask parameter.Serhiy Storchaka2013-12-141-11/+29
|\ \ | |/
| * Issue #17919: Fixed integer overflow in the eventmask parameter.Serhiy Storchaka2013-12-141-11/+29
| |
* | Issue #19972: Add rarely used freefunc. This fixes a leak if sys.exit()Stefan Krah2013-12-141-8/+14
| | | | | | | | is used in a program.
* | Merge from 3.3.Stefan Krah2013-12-141-9/+11
|\ \ | |/
| * Fix C++ header usage. This __STDC_LIMIT_MACROS scheme can still be subvertedStefan Krah2013-12-141-9/+11
| | | | | | | | | | by including stdint.h before mpdecimal.h. In that case the only option left is to compile with -D_STDC_LIMIT_MACROS.