summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson2012-04-033-56/+957
|
* Expose clock_settime() as time.clock_settime()Victor Stinner2012-04-021-0/+30
|
* Add time.CLOCK_HIGHRES constant, needed on SolarisVictor Stinner2012-04-021-0/+3
|
* Improve comments.Stefan Krah2012-04-021-5/+5
|
* merge 3.2Benjamin Peterson2012-04-021-0/+3
|\
| * prevent writing to stderr from messing up the exception state (closes #14474)Benjamin Peterson2012-04-021-0/+3
| |
| * Issue #14437: Fix building the _io module under Cygwin.Antoine Pitrou2012-03-311-1/+1
| |
* | Clear the context flags if a context is initialized from the DefaultContext.Stefan Krah2012-04-021-0/+8
| |
* | Fix Overflow exception in the bignum factorial benchmark that is due toStefan Krah2012-04-011-1/+4
| | | | | | | | the recent change of the default value for context.Emax.
* | Issue #14300: Under Windows, sockets created using socket.dup() now allow ↵Antoine Pitrou2012-03-311-1/+1
| | | | | | | | | | | | overlapped I/O. Patch by sbt.
* | fix issue #5136: deprecate old unused functions from tkinter.Andrew Svetlov2012-03-311-1/+18
| | | | | | | | These functions are not documnted, so no documentation update.
* | Fix warning when compiling socketmodule.c with VS2010Kristján Valur Jónsson2012-03-311-0/+1
| | | | | | | | VS2010 defineds the old errno constants in addition to the WSA* ones.
* | Issue #14065: Added cyclic GC support to ET.ElementEli Bendersky2012-03-301-15/+48
| |
* | Merge.Stefan Krah2012-03-301-0/+8
|\ \
| * | #14416: conditionally add LOG_AUTHPRIV facility and LOG_ODELAY to syslog.R David Murray2012-03-291-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Unlike the other facilities, we don't use a fallback for AUTHPRIV if it doesn't exist. Because it is intended for logging sensitive log messages, it is better that a program trying to log such messages fail than that it log them insecurely. Initial patch by Federico Reghenzani.
* | | Use abort() rather than exit() to appease tools like rpmlint. abort() is usedStefan Krah2012-03-301-1/+1
|/ / | | | | | | | | | | in libmpdec to prevent undefined behavior if an invalid context is used. This cannot occur for the _decimal module since user input for the context is validated.
* | time.time() now uses clock_gettime(CLOCK_REALTIME) if availableVictor Stinner2012-03-281-0/+11
| | | | | | | | | | | | clock_gettime(CLOCK_REALTIME) has a better resolution than gettimeofday(). time.time() falls back on gettimeofday() (and then on other functions) on error.
* | Document the fact that mach_timebase_info() cannot failVictor Stinner2012-03-281-4/+8
| | | | | | | | And call mach_absolute_time() after mach_timebase_info().
* | Issue #11826: Fix memory leak in atexitmodule.Stefan Krah2012-03-271-1/+9
| |
* | Fix time.steady(strict=True): don't use CLOCK_REALTIMEVictor Stinner2012-03-261-7/+28
| |
* | Issue #14368: _PyTime_gettimeofday() cannot failVictor Stinner2012-03-261-7/+1
| | | | | | | | floattime() must not raise an error if the current time is 1970.1.1 at 00:00.
* | Issue #3367: Merge fix from 3.2.Stefan Krah2012-03-261-2/+4
|\ \ | |/
| * Issue #3367: NULL-terminate argv[] copies to prevent an invalid accessStefan Krah2012-03-261-2/+4
| | | | | | | | in sys_update_path().
* | Raise MemoryError instead of InvalidOperation/MallocError for compatibilityStefan Krah2012-03-251-1/+8
| | | | | | | | | | | | with decimal.py. The standard specifies InsufficientStorage (MallocError) as a sub-condition of InvalidOperation. This allows a calculation to continue with NaN results when allocation fails.
* | Issue #14154: Reimplement the bigmem test memory watchdog as a subprocess.Charles-François Natali2012-03-241-184/+0
| |
* | Fix formatting after removing tabs.Stefan Krah2012-03-232-4/+8
| |
* | Whitespace.Stefan Krah2012-03-232-102/+102
| |
* | Use the same exception hierarchy as decimal.py. FloatOperation now alsoStefan Krah2012-03-231-20/+65
| | | | | | | | | | inherits from TypeError. Cleanup in module initialization to make repeated import failures robust.
* | Issue #13782: streamline argument type-checking in ET.ElementEli Bendersky2012-03-231-0/+9
| | | | | | | | | | | | | | | | append, extend and insert now consistently type-check their argument in both the C and Python implementations, and raise TypeError for non-Element argument. Added tests
* | Issue #14387: Do not include accu.h from Python.h.Antoine Pitrou2012-03-222-0/+3
|\ \ | |/
| * Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.Ross Lagerwall2012-03-191-1/+12
| | | | | | | | Based on patch from Hervé Coatanhay.
* | Issue #14204: The ssl module now has support for the Next Protocol ↵Antoine Pitrou2012-03-211-0/+115
| | | | | | | | | | | | Negotiation extension, if available in the underlying OpenSSL library. Patch by Colin Marc.
* | Whitespace.Stefan Krah2012-03-216-168/+168
| |
* | Issue #7652: Integrate the decimal floating point libmpdec library to speedStefan Krah2012-03-2154-0/+26284
| | | | | | | | | | up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application.
* | Issue #14328: Add keyword-only parameters to PyArg_ParseTupleAndKeywords.Larry Hastings2012-03-201-1/+19
| | | | | | | | | | | | They're optional-only for now (unlike in pure Python) but that's all I needed. The syntax can easily be relaxed if we want to support required keyword-only arguments for extension types in the future.
* | Issue 14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.Ross Lagerwall2012-03-181-1/+12
| | | | | | | | Based on patch from Hervé Coatanhay.
* | cleanup Ellipsis and NotImplemented strings after we're doneBenjamin Peterson2012-03-161-2/+8
| |
* | fix condition (#14296)Benjamin Peterson2012-03-161-1/+1
| |
* | Issue #14207: the ParseError exception raised by _elementtree was madeEli Bendersky2012-03-161-8/+27
| | | | | | | | | | | | | | | | | | | | consistent to the one raised by the Python module (the 'code' attribute was added). In addition, the exception is now documented. Added a test to check that ParseError has the required attributes, and threw away the equivalent doctest which is no longer required.
* | Closes Issue #14246: _elementtree parser will now handle io.StringIOEli Bendersky2012-03-161-1/+22
| |
* | try to fix compilation on glibc's with cpu sets (#14296)Benjamin Peterson2012-03-151-0/+4
| |
* | Fixes Issue 14234: fix for the previous commit, keep compilation whenGregory P. Smith2012-03-152-0/+7
|\ \ | |/ | | | | | | using --with-system-expat working when the system expat does not have salted hash support.
| * Fixes Issue 14234: fix for the previous commit, keep compilation whenGregory P. Smith2012-03-152-0/+7
| | | | | | | | | | using --with-system-expat working when the system expat does not have salted hash support.
* | Issue #10278: Add an optional strict argument to time.steady(), False by defaultVictor Stinner2012-03-151-17/+41
| |
* | Issue #10278: Drop time.monotonic() function, rename time.wallclock() to ↵Victor Stinner2012-03-141-67/+15
| | | | | | | | | | | | | | | | | | time.steady() * On Mac OS X, time.steady() now uses mach_absolute_time(), a monotonic clock * Optimistic change: bet that CLOCK_MONOTONIC and CLOCK_REALTIME are available when clock_gettime() is available * Rewrite time.steady() documentation
* | fix compiler warningsBenjamin Peterson2012-03-141-4/+4
| |
* | Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributesGregory P. Smith2012-03-144-59/+130
|\ \ | |/ | | | | | | | | in the hash table internal to the pyexpat module's copy of the expat library to avoid a denial of service due to hash collisions. Patch by David Malcolm with some modifications by the expat project.
| * Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributesGregory P. Smith2012-03-144-59/+130
| |\ | | | | | | | | | | | | | | | in the hash table internal to the pyexpat module's copy of the expat library to avoid a denial of service due to hash collisions. Patch by David Malcolm with some modifications by the expat project.
| | * Fixes issue #14234: CVE-2012-0876: Randomize hashes of xml attributesGregory P. Smith2012-03-144-59/+130
| | | | | | | | | | | | | | | | | | in the hash table internal to the pyexpat module's copy of the expat library to avoid a denial of service due to hash collisions. Patch by David Malcolm with some modifications by the expat project.
* | | Avoid main_window unused compiler warning.Gregory P. Smith2012-03-141-0/+6
| | |