| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
using --with-system-expat working when the system expat does not have
salted hash support.
|
| |
| |
| |
| |
| | |
using --with-system-expat working when the system expat does not have
salted hash support.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
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.
|
| |\
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | |
| | |
| | |
| | | |
Windows build is compiled with no-threaded tcl/tk by default
|
| | |
| | |
| | |
| | | |
structure. timeval.tv_sec is a long on Windows, not time_t.
|
| | |
| | |
| | |
| | |
| | | |
and datetime.datetime.utcfromtimestamp() now raise an OSError instead of
ValueError if localtime() or gmtime() failed.
|
|\ \ \
| |/ / |
|
| | | |
|
| | |
| | |
| | |
| | | |
Patch by Guilherme Polo and Andrew Svetlov.
|
| | | |
|
| | |
| | |
| | |
| | | |
kqueue_queue_control()
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
timeval or timespec
time.ctime(), gmtime(), time.localtime(), datetime.date.fromtimestamp(),
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
raises an OverflowError, instead of a ValueError, if the timestamp does not fit
in time_t.
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp() now
round microseconds towards zero instead of rounding to nearest with ties going
away from zero.
|
| | |
| | |
| | |
| | |
| | | |
Contrary to the documentation, finditer() did not take pos and endpos
keyword arguments.
|
| | |
| | |
| | |
| | | |
patch written by Nicholas Riley.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Thanks for James Sanders for the bug report and the patch.
|
| | |
| | |
| | |
| | |
| | |
| | | |
module.
Fixed the problem and added some tests. Closes #14178
|
| | |
| | |
| | |
| | |
| | | |
Python curses is not linked to libncursesw. It was a regression introduced in
Python 3.3a1.
|
|\ \ \
| |/ / |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also, add a multiprocessing.connection.wait(rlist, timeout=None) function
for polling multiple objects at once. Patch by sbt.
Complete changelist from sbt's patch:
* Adds a wait(rlist, timeout=None) function for polling multiple
objects at once. On Unix this is just a wrapper for
select(rlist, [], [], timeout=None).
* Removes use of the SentinelReady exception and the sentinels argument
to certain methods. concurrent.futures.process has been changed to
use wait() instead of SentinelReady.
* Fixes bugs concerning PipeConnection.poll() and messages of zero
length.
* Fixes PipeListener.accept() to call ConnectNamedPipe() with
overlapped=True.
* Fixes Queue.empty() and SimpleQueue.empty() so that they are
threadsafe on Windows.
* Now PipeConnection.poll() and wait() will not modify the pipe except
possibly by consuming a zero length message. (Previously poll()
could consume a partial message.)
* All of multiprocesing's pipe related blocking functions/methods are
now interruptible by SIGINT on Windows.
|
| | |
| | |
| | |
| | |
| | | |
not adhere to the new documentation and b) manage to clobber view->obj before
returning failure.
|
| | |
| | |
| | |
| | | |
view.obj==NULL and view.obj==base.
|
| | | |
|
| | |
| | |
| | |
| | | |
getbuffer redirection scheme.
|
| | |
| | |
| | |
| | |
| | |
| | | |
attribute which allows to set custom per-pickler reduction functions.
Patch by sbt.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
than a factory function.
This makes the C implementation more aligned with the Python implementation.
Also added some tests to ensure that Element is now a type and that it can
be subclassed.
|
| | |
| | |
| | |
| | | |
Add a private API to convert an int or float to a C timespec structure.
|
| | |
| | |
| | |
| | | |
the os module.
|
| | |
| | |
| | |
| | |
| | | |
out the location of the problem. MS_WINDOWS currently implies !HAVE_WCSFTIME,
so the addition of !defined(HAVE_WCSFTIME) is for readability.
|
| | | |
|
|\ \ \
| |/ / |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
and lifetime issues of dynamically allocated Py_buffer members (#9990)
as well as crashes (#8305, #7433). Many new features have been added
(See whatsnew/3.3), and the documentation has been updated extensively.
The ndarray test object from _testbuffer.c implements all aspects of
PEP-3118, so further development towards the complete implementation
of the PEP can proceed in a test-driven manner.
Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review
and many ideas.
- Issue #12834: Fix incorrect results of memoryview.tobytes() for
non-contiguous arrays.
- Issue #5231: Introduce memoryview.cast() method that allows changing
format and shape without making a copy of the underlying memory.
|