summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Merge: #19970: Fix some comment typos.R David Murray2013-12-142-3/+3
|\ \ | |/
| * #19970: Fix some comment typos.R David Murray2013-12-142-3/+3
| | | | | | | | Report and patch by Vajrasky Kok.
* | Issue #19787: PyThread_set_key_value() now always set the valueVictor Stinner2013-12-131-6/+3
| | | | | | | | | | | | | | | | | | | | In Python 3.3, PyThread_set_key_value() did nothing if the key already exists (if the current value is a non-NULL pointer). When _PyGILState_NoteThreadState() is called twice on the same thread with a different Python thread state, it still keeps the old Python thread state to keep the old behaviour. Replacing the Python thread state with the new state introduces new bugs: see issues #10915 and #15751.
* | Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.Serhiy Storchaka2013-12-131-3/+2
|\ \ | |/
| * Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.Serhiy Storchaka2013-12-131-3/+2
| |
* | Backout changeset 46393019b650Victor Stinner2013-12-132-7/+6
| | | | | | | | test_capi is failing and the fix is not trivial, I prefer to revert
* | Close #19787: PyThread_set_key_value() now always set the value. In Python 3.3,Victor Stinner2013-12-132-6/+7
| | | | | | | | | | | | | | | | the function did nothing if the key already exists (if the current value is a non-NULL pointer). _testcapi.run_in_subinterp() now correctly sets the new Python thread state of the current thread when a subinterpreter is created.
* | (Merge 3.3) Issue #14432: Fix compilation when thread support is disabledVictor Stinner2013-12-131-0/+5
|\ \ | |/
| * Issue #14432: Fix compilation when thread support is disabledVictor Stinner2013-12-131-0/+4
| |
| * Issue #14432: Generator now clears the borrowed reference to the thread stateVictor Stinner2013-12-131-0/+89
| | | | | | | | | | | | | | 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.
* | Issue #14432: Remove the thread state field from the frame structure. Fix aVictor Stinner2013-12-131-0/+89
| | | | | | | | | | | | | | 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.
* | Merge from 3.3.Stefan Krah2013-12-121-7/+7
|\ \ | |/
| * Do not discard const qualifier without a reason.Stefan Krah2013-12-121-7/+7
| |
* | Merge 3.3.Stefan Krah2013-12-0935-36/+36
|\ \ | |/
| * Fix two typos.Stefan Krah2013-12-082-2/+2
| |
| * Missed one copyright.Stefan Krah2013-12-081-1/+1
| |
| * Update copyright. The four year increment is intentional (to save work).Stefan Krah2013-12-0833-33/+33
| |
* | Issue #15475: Add __sizeof__ implementations for itertools objects.Serhiy Storchaka2013-12-091-0/+51
| |
* | - Issue #19736: Add module-level statvfs constants defined for GNU/glibcdoko@ubuntu.com2013-12-081-0/+29
| | | | | | | | based systems.
* | Issue #19343: Expose FreeBSD-specific APIs in resource module. Original ↵Christian Heimes2013-12-081-0/+14
| | | | | | | | patch by Koobs.
* | Issue #6784: Strings from Python 2 can now be unpickled as bytes objects.Alexandre Vassalotti2013-12-071-189/+217
| | | | | | | | | | | | | | Initial patch by Merlijn van Deen. I've added a few unrelated docstring fixes in the patch while I was at it, which makes the documentation for pickle a bit more consistent.
* | Fix indentation of switch cases.Guido van Rossum2013-12-071-11/+11
| |