summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* make delegating generators say they running (closes #14220)Benjamin Peterson2012-03-071-0/+72
|
* merge 3.2 (#14212)Benjamin Peterson2012-03-071-1/+13
|\
| * keep the buffer object around while we're using it (closes #14212)Benjamin Peterson2012-03-071-1/+13
| |
| * Backport minidom attribute tests from default (73c76466cf44).Éric Araujo2012-03-051-4/+22
| | | | | | | | | | Some minidom code changed between 3.2 and 3.3, so to be sure to avoid differenced in behavior I’m backporting these tests added by MvL.
* | Remove a couple of local imports.Antoine Pitrou2012-03-061-5/+4
| |
* | Reap processes at test end to avoid false positives in reference leak detection.Antoine Pitrou2012-03-061-0/+2
| |
* | test_pty: fix ResourceWarning warningsVictor Stinner2012-03-061-5/+14
| |
* | Close #14205: dict lookup raises a RuntimeError if the dict is modified duringVictor Stinner2012-03-063-339/+21
| | | | | | | | | | | | | | a lookup. "if you want to make a sandbox on top of CPython, you have to fix segfaults" so let's fix segfaults!
* | Added delay before record creation.Vinay Sajip2012-03-051-1/+1
| |
* | Issue #12328: Fix multiprocessing's use of overlapped I/O on Windows.Antoine Pitrou2012-03-051-1/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Issue #14181: Preserve backwards compatibility for getbufferprocs that a) doStefan Krah2012-03-051-0/+6
| | | | | | | | | | not adhere to the new documentation and b) manage to clobber view->obj before returning failure.
* | Issue #14181: Test creating memoryviews from a static exporter with bothStefan Krah2012-03-051-0/+94
| | | | | | | | view.obj==NULL and view.obj==base.
* | Issue #12151: Added more info to diagnostics.Vinay Sajip2012-03-051-4/+5
| |
* | Merge.Stefan Krah2012-03-052-46/+105
|\ \
| * \ Merged upstream changes.Vinay Sajip2012-03-051-46/+103
| |\ \
| | * | Issue #14007: accept incomplete TreeBuilder objects (missing ↵Florent Xicluna2012-03-051-46/+103
| | | | | | | | | | | | | | | | start/end/data/close) for the Python implementation as well. Add disabled tests for the doctype() method.
| * | | Added more diagnostics for diagnosing #12151.Vinay Sajip2012-03-051-0/+2
| |/ /
* | | Issue #10181: The decision was to raise a buffer error in memory_exit()Stefan Krah2012-03-051-5/+6
|/ / | | | | | | | | if the view has exported buffers. Make this official by uncommenting a test case.
* | Issue #14181: Allow memoryview construction from an object that uses theStefan Krah2012-03-051-0/+90
| | | | | | | | getbuffer redirection scheme.
* | Issue #14168: Check for presence of _attrs before accessing it.Martin v. Löwis2012-03-051-3/+12
| |
* | Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.Meador Inge2012-03-051-11/+23
|\ \ | |/
| * Issue #14195: Make WeakSet.__lt__ and WeakSet.__gt__ irreflexive.Meador Inge2012-03-051-11/+23
| |
* | Fix some set algebra methods of WeakSet objects.Antoine Pitrou2012-03-041-4/+18
|\ \ | |/
| * Fix some set algebra methods of WeakSet objects.Antoine Pitrou2012-03-041-4/+18
| |
* | Fix spelling.Georg Brandl2012-03-041-0/+0
| |
* | Issue #14166: Pickler objects now have an optional `dispatch_table` ↵Antoine Pitrou2012-03-042-1/+126
| | | | | | | | | | | | attribute which allows to set custom per-pickler reduction functions. Patch by sbt.
* | Updated tokenize to support the inverse byte literals new in 3.3Armin Ronacher2012-03-041-0/+12
| |
* | fix trailing whitespaceEli Bendersky2012-03-041-1/+0
| |
* | Issue #14128: Exposing Element as an actual type from _elementtree, rather ↵Eli Bendersky2012-03-042-8/+53
| | | | | | | | | | | | | | | | 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.
* | Fixed problem with diagnostic output.Vinay Sajip2012-03-031-1/+2
| |
* | - Issue #14177: marshal.loads() now raises TypeError when given an unicodeAntoine Pitrou2012-03-032-2/+7
|\ \ | |/ | | | | string. Patch by Guilherme Gonçalves.
| * Issue #14177: marshal.loads() now raises TypeError when given an unicode string.Antoine Pitrou2012-03-032-2/+7
| | | | | | | | Patch by Guilherme Gonçalves.
* | Issue #13964: signal.sigtimedwait() timeout is now a float instead of a tupleVictor Stinner2012-03-022-7/+24
| | | | | | | | Add a private API to convert an int or float to a C timespec structure.
* | Issue #14172: Fix reference leak when marshalling a buffer-like object ↵Antoine Pitrou2012-03-021-0/+23
|\ \ | |/ | | | | (other than a bytes object).
| * Issue #14172: Fix reference leak when marshalling a buffer-like object ↵Antoine Pitrou2012-03-021-0/+23
| | | | | | | | (other than a bytes object).
* | Closes #14158: merged test file resilience fix from 3.2.Vinay Sajip2012-03-023-10/+30
|\ \ | |/
| * Closes #14158: improved resilience to test files left behind.Vinay Sajip2012-03-023-11/+33
| |
* | Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, ↵Antoine Pitrou2012-03-012-0/+107
|\ \ | |/ | | | | | | | | | | WeakValueDictionary) to return a better approximation when some objects are dead or dying. Moreover, the implementation is now O(1) rather than O(n). Thanks to Yury Selivanov for reporting.
| * Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, ↵Antoine Pitrou2012-03-012-0/+107
| | | | | | | | | | | | | | WeakValueDictionary) to return a better approximation when some objects are dead or dying. Moreover, the implementation is now O(1) rather than O(n). Thanks to Yury Selivanov for reporting.
* | update skip reasonPhilip Jenvey2012-03-011-1/+1
| |
* | also skip test_device_encoding when stdin isn't a ttyPhilip Jenvey2012-03-011-2/+2
| |
* | Issue #14153 Create _Py_device_encoding() to prevent _io from having to importBrett Cannon2012-02-291-0/+19
| | | | | | | | the os module.
* | #14089: merge with 3.2.Ezio Melotti2012-02-291-0/+22
|\ \ | |/
| * #14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.Ezio Melotti2012-02-291-0/+22
| |
* | #10713: merge with 3.2.Ezio Melotti2012-02-291-0/+26
|\ \ | |/
| * #10713: Improve documentation for \b and \B and add a few tests. Initial ↵Ezio Melotti2012-02-291-0/+26
| | | | | | | | patch and tests by Martin Pool.
* | Merge: Give better failure messages in test_strptime (cf. issue #14113).Nadeem Vawda2012-02-281-8/+8
|\ \ | |/
| * Give better failure messages in test_strptime (cf. issue #14113).Nadeem Vawda2012-02-281-17/+14
| |
| * MergeAntoine Pitrou2012-02-271-18/+5
| |\
| | * Issue #13873: Fix crash in test_zlib when running on a small (<4GB) tmpfs.Nadeem Vawda2012-02-261-18/+5
| | |