summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Issue #16147: PyUnicode_FromFormatV() doesn't need anymore to allocate a bufferVictor Stinner2012-10-061-2/+12
| | | | | | | | | | | | | | | | on the heap to format numbers.
* | | | Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter APIVictor Stinner2012-10-061-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Simplify the code: replace 4 steps with one unique step using the _PyUnicodeWriter API. PyUnicode_Format() has the same design. It avoids to store intermediate results which require to allocate an array of pointers on the heap. * Use the _PyUnicodeWriter API for speed (and its convinient API): overallocate the buffer to reduce the number of "realloc()" * Implement "width" and "precision" in Python, don't rely on sprintf(). It avoids to need of a temporary buffer allocated on the heap: only use a small buffer allocated in the stack. * Add _PyUnicodeWriter_WriteCstr() function * Split PyUnicode_FromFormatV() into two functions: add unicode_fromformat_arg(). * Inline parse_format_flags(): the format of an argument is now only parsed once, it's no more needed to have a subfunction. * Optimize PyUnicode_FromFormatV() for characters between two "%" arguments: search the next "%" and copy the substring in one chunk, instead of copying character per character.
* | | | revert accidental inclusion of subprocess testsAndrew Svetlov2012-10-061-22/+0
|\ \ \ \ | |/ / /
| * | | revert accidental inclusion of subprocess testsAndrew Svetlov2012-10-061-22/+0
| |\ \ \ | | | |/ | | |/|
| | * | revert accidental inclusion of subprocess testsAndrew Svetlov2012-10-061-22/+0
| | | |
* | | | Issue #16025: Minor corrections to the zipfile documentation.Andrew Svetlov2012-10-061-0/+22
|\ \ \ \ | |/ / / | | | | | | | | Patch by Serhiy Storchaka.
| * | | Issue #16025: Minor corrections to the zipfile documentation.Andrew Svetlov2012-10-061-0/+22
| |\ \ \ | | |/ / | | | | | | | | Patch by Serhiy Storchaka.
| | * | Issue #16025: Minor corrections to the zipfile documentation.Andrew Svetlov2012-10-061-0/+22
| | | | | | | | | | | | | | | | Patch by Serhiy Storchaka.
* | | | Issue #16148: implemented PEP 424Armin Ronacher2012-10-065-43/+60
| | | |
* | | | Issue #13896: Make shelf instances work with 'with' as context managers.Andrew Svetlov2012-10-061-0/+13
| | | | | | | | | | | | | | | | Original patch by Filip Gruszczyński.
* | | | Issue #16113: integrade SHA-3 (Keccak) patch from ↵Christian Heimes2012-10-061-1/+126
| | | | | | | | | | | | | | | | http://hg.python.org/sandbox/cheimes
* | | | Merge issue #16115: Add test for check that executable arg to Popen() takes ↵Andrew Svetlov2012-10-051-0/+10
|\ \ \ \ | |/ / / | | | | | | | | precedence over args[0] arg\n \n Patch by Kushal Das
| * | | Issue #16115: Add test for check that executable arg to Popen() takes ↵Andrew Svetlov2012-10-051-0/+10
| | | | | | | | | | | | | | | | precedence over args[0] arg\n \n Patch by Kushal Das
* | | | Closes #16135: Removal of OS/2 supportJesus Cea2012-10-0511-25/+9
| | | |
* | | | Test should be skipped in 'riscos', as intentedJesus Cea2012-10-051-1/+2
| | | |
* | | | #16135: Removal of OS/2 support (Python code partial cleanup)Jesus Cea2012-10-052-5/+4
| | | |
* | | | #16135: Removal of OS/2 support (Remove OS2 and OS/2 references)Jesus Cea2012-10-052-26/+5
| | | |
* | | | Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element ↵Antoine Pitrou2012-10-041-2/+42
|\ \ \ \ | |/ / / | | | | | | | | element_factory (fixes a regression in SimpleTAL).
| * | | Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element ↵Antoine Pitrou2012-10-041-2/+42
| | | | | | | | | | | | | | | | element_factory (fixes a regression in SimpleTAL).
* | | | MERGE: Closes #16126: PyErr_Format format mismatch in _testcapimodule.cJesus Cea2012-10-041-0/+11
|\ \ \ \ | |/ / /
| * | | Closes #16126: PyErr_Format format mismatch in _testcapimodule.cJesus Cea2012-10-041-0/+11
| | | |
* | | | Closes #15488: Closed files keep their buffer aliveJesus Cea2012-10-041-0/+8
| | | |
* | | | Remove unnecessary [].Ezio Melotti2012-10-021-9/+9
| | | |
* | | | Issue #15452: Added verify option for logging configuration socket listener.Vinay Sajip2012-10-021-5/+71
| | | |
* | | | Issue #15609: Optimize str%args for integer argumentVictor Stinner2012-10-011-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use _PyLong_FormatWriter() instead of formatlong() when possible, to avoid a temporary buffer - Enable the fast path when width is smaller or equals to the length, and when the precision is bigger or equals to the length - Add unit tests! - formatlong() uses PyUnicode_Resize() instead of _PyUnicode_FromASCII() to resize the output string
* | | | Merge 3.3.Stefan Krah2012-10-011-3/+1
|\ \ \ \ | |/ / /
| * | | Issue #15599: Increase the switch interval. Several systems cannot handleStefan Krah2012-10-011-3/+1
| | | | | | | | | | | | | | | | gil_interval == 1 in extreme situations.
* | | | utilize subprocess.DEVNULLPhilip Jenvey2012-10-011-22/+20
| | | |
* | | | Issue #15533: Merge update from 3.3.Chris Jerdonek2012-09-301-0/+2
|\ \ \ \ | |/ / /
| * | | Issue #15533: Merge update from 3.2.Chris Jerdonek2012-09-301-0/+2
| |\ \ \ | | |/ /
| | * | Issue #15533: Skip test_cwd_with_relative_*() tests on Windows pending ↵Chris Jerdonek2012-09-301-0/+2
| | | | | | | | | | | | | | | | resolution of issue.
* | | | Issue #15533: Merge fix from 3.3.Chris Jerdonek2012-09-301-29/+94
|\ \ \ \ | |/ / /
| * | | Issue #15533: Merge fix from 3.2.Chris Jerdonek2012-09-301-29/+94
| |\ \ \ | | |/ /
| | * | Issue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd argument.Chris Jerdonek2012-09-301-29/+94
| | | |
* | | | Speed up test_httpservers by avoiding a one-second cleanup wait after each ↵Antoine Pitrou2012-09-291-0/+1
|\ \ \ \ | |/ / / | | | | | | | | test case.
| * | | Speed up test_httpservers by avoiding a one-second cleanup wait after each ↵Antoine Pitrou2012-09-291-0/+1
| |\ \ \ | | |/ / | | | | | | | | test case.
| | * | Speed up test_httpservers by avoiding a one-second cleanup wait after each ↵Antoine Pitrou2012-09-291-0/+1
| | | | | | | | | | | | | | | | test case.
* | | | Remove the new trivial pty.spawn() test as it hangs on many buildbots.Gregory P. Smith2012-09-291-6/+0
| | | |
* | | | pty.spawn() now returns the child process status as returned by os.waitpid().Gregory P. Smith2012-09-291-0/+6
| | | | | | | | | | | | | | | | Addresses the remaining feature request from issue #2489.
* | | | Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILD toGregory P. Smith2012-09-291-1/+10
|\ \ \ \ | |/ / / | | | | | | | | | | | | return a returncode of 0 when the child has already exited or cannot be waited on.
| * | | Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILDGregory P. Smith2012-09-291-1/+10
| |\ \ \ | | |/ / | | | / | | |/ | |/| to return a returncode of 0 when the child has already exited or cannot be waited on.
| | * Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILDGregory P. Smith2012-09-291-1/+10
| | | | | | | | | | | | | | | to return a returncode of 0 when the child has already exited or cannot be waited on.
| * | merge mostly from defaultBenjamin Peterson2012-09-2934-82/+740
| |\ \
* | | | upgrade to UCD 6.2Benjamin Peterson2012-09-291-1/+1
| | | |
* | | | merge with 3.3Georg Brandl2012-09-291-1/+1
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Fix test_sys.test_implementation for final releases.v3.3.0Georg Brandl2012-09-291-1/+1
| | |
| * | Closes #15973: fix a segmentation fault when comparing timezone objects.Georg Brandl2012-09-221-0/+2
| | |
| * | Closes #15925: fix regression in parsedate() and parsedate_tz() that should ↵Georg Brandl2012-09-221-2/+11
| | | | | | | | | | | | return None if unable to parse the argument.
| * | Closes #15969: rename new API to have consistent names in the faulthandler ↵Georg Brandl2012-09-221-19/+19
| | | | | | | | | | | | module.
| * | Issue #15882: Change _decimal to accept any coefficient tuple whenStefan Krah2012-09-101-7/+10
| | | | | | | | | | | | | | | | | | constructing infinities. This is done for backwards compatibility with decimal.py: Infinity coefficients are undefined in _decimal (in accordance with the specification).