Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Issue #16147: PyUnicode_FromFormatV() doesn't need anymore to allocate a buffer | Victor Stinner | 2012-10-06 | 1 | -2/+12 | |
| | | | | | | | | | | | | | | | | on the heap to format numbers. | |||||
* | | | | Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter API | Victor Stinner | 2012-10-06 | 1 | -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 tests | Andrew Svetlov | 2012-10-06 | 1 | -22/+0 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | revert accidental inclusion of subprocess tests | Andrew Svetlov | 2012-10-06 | 1 | -22/+0 | |
| |\ \ \ | | | |/ | | |/| | ||||||
| | * | | revert accidental inclusion of subprocess tests | Andrew Svetlov | 2012-10-06 | 1 | -22/+0 | |
| | | | | ||||||
* | | | | Issue #16025: Minor corrections to the zipfile documentation. | Andrew Svetlov | 2012-10-06 | 1 | -0/+22 | |
|\ \ \ \ | |/ / / | | | | | | | | | Patch by Serhiy Storchaka. | |||||
| * | | | Issue #16025: Minor corrections to the zipfile documentation. | Andrew Svetlov | 2012-10-06 | 1 | -0/+22 | |
| |\ \ \ | | |/ / | | | | | | | | | Patch by Serhiy Storchaka. | |||||
| | * | | Issue #16025: Minor corrections to the zipfile documentation. | Andrew Svetlov | 2012-10-06 | 1 | -0/+22 | |
| | | | | | | | | | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | | | Issue #16148: implemented PEP 424 | Armin Ronacher | 2012-10-06 | 5 | -43/+60 | |
| | | | | ||||||
* | | | | Issue #13896: Make shelf instances work with 'with' as context managers. | Andrew Svetlov | 2012-10-06 | 1 | -0/+13 | |
| | | | | | | | | | | | | | | | | Original patch by Filip Gruszczyński. | |||||
* | | | | Issue #16113: integrade SHA-3 (Keccak) patch from ↵ | Christian Heimes | 2012-10-06 | 1 | -1/+126 | |
| | | | | | | | | | | | | | | | | http://hg.python.org/sandbox/cheimes | |||||
* | | | | Merge issue #16115: Add test for check that executable arg to Popen() takes ↵ | Andrew Svetlov | 2012-10-05 | 1 | -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 Svetlov | 2012-10-05 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | precedence over args[0] arg\n \n Patch by Kushal Das | |||||
* | | | | Closes #16135: Removal of OS/2 support | Jesus Cea | 2012-10-05 | 11 | -25/+9 | |
| | | | | ||||||
* | | | | Test should be skipped in 'riscos', as intented | Jesus Cea | 2012-10-05 | 1 | -1/+2 | |
| | | | | ||||||
* | | | | #16135: Removal of OS/2 support (Python code partial cleanup) | Jesus Cea | 2012-10-05 | 2 | -5/+4 | |
| | | | | ||||||
* | | | | #16135: Removal of OS/2 support (Remove OS2 and OS/2 references) | Jesus Cea | 2012-10-05 | 2 | -26/+5 | |
| | | | | ||||||
* | | | | Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element ↵ | Antoine Pitrou | 2012-10-04 | 1 | -2/+42 | |
|\ \ \ \ | |/ / / | | | | | | | | | element_factory (fixes a regression in SimpleTAL). | |||||
| * | | | Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element ↵ | Antoine Pitrou | 2012-10-04 | 1 | -2/+42 | |
| | | | | | | | | | | | | | | | | element_factory (fixes a regression in SimpleTAL). | |||||
* | | | | MERGE: Closes #16126: PyErr_Format format mismatch in _testcapimodule.c | Jesus Cea | 2012-10-04 | 1 | -0/+11 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Closes #16126: PyErr_Format format mismatch in _testcapimodule.c | Jesus Cea | 2012-10-04 | 1 | -0/+11 | |
| | | | | ||||||
* | | | | Closes #15488: Closed files keep their buffer alive | Jesus Cea | 2012-10-04 | 1 | -0/+8 | |
| | | | | ||||||
* | | | | Remove unnecessary []. | Ezio Melotti | 2012-10-02 | 1 | -9/+9 | |
| | | | | ||||||
* | | | | Issue #15452: Added verify option for logging configuration socket listener. | Vinay Sajip | 2012-10-02 | 1 | -5/+71 | |
| | | | | ||||||
* | | | | Issue #15609: Optimize str%args for integer argument | Victor Stinner | 2012-10-01 | 1 | -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 Krah | 2012-10-01 | 1 | -3/+1 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #15599: Increase the switch interval. Several systems cannot handle | Stefan Krah | 2012-10-01 | 1 | -3/+1 | |
| | | | | | | | | | | | | | | | | gil_interval == 1 in extreme situations. | |||||
* | | | | utilize subprocess.DEVNULL | Philip Jenvey | 2012-10-01 | 1 | -22/+20 | |
| | | | | ||||||
* | | | | Issue #15533: Merge update from 3.3. | Chris Jerdonek | 2012-09-30 | 1 | -0/+2 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #15533: Merge update from 3.2. | Chris Jerdonek | 2012-09-30 | 1 | -0/+2 | |
| |\ \ \ | | |/ / | ||||||
| | * | | Issue #15533: Skip test_cwd_with_relative_*() tests on Windows pending ↵ | Chris Jerdonek | 2012-09-30 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | resolution of issue. | |||||
* | | | | Issue #15533: Merge fix from 3.3. | Chris Jerdonek | 2012-09-30 | 1 | -29/+94 | |
|\ \ \ \ | |/ / / | ||||||
| * | | | Issue #15533: Merge fix from 3.2. | Chris Jerdonek | 2012-09-30 | 1 | -29/+94 | |
| |\ \ \ | | |/ / | ||||||
| | * | | Issue #15533: Clarify docs and add tests for subprocess.Popen()'s cwd argument. | Chris Jerdonek | 2012-09-30 | 1 | -29/+94 | |
| | | | | ||||||
* | | | | Speed up test_httpservers by avoiding a one-second cleanup wait after each ↵ | Antoine Pitrou | 2012-09-29 | 1 | -0/+1 | |
|\ \ \ \ | |/ / / | | | | | | | | | test case. | |||||
| * | | | Speed up test_httpservers by avoiding a one-second cleanup wait after each ↵ | Antoine Pitrou | 2012-09-29 | 1 | -0/+1 | |
| |\ \ \ | | |/ / | | | | | | | | | test case. | |||||
| | * | | Speed up test_httpservers by avoiding a one-second cleanup wait after each ↵ | Antoine Pitrou | 2012-09-29 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | test case. | |||||
* | | | | Remove the new trivial pty.spawn() test as it hangs on many buildbots. | Gregory P. Smith | 2012-09-29 | 1 | -6/+0 | |
| | | | | ||||||
* | | | | pty.spawn() now returns the child process status as returned by os.waitpid(). | Gregory P. Smith | 2012-09-29 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | Addresses the remaining feature request from issue #2489. | |||||
* | | | | Fixes issue #15756: subprocess.poll() now properly handles errno.ECHILD to | Gregory P. Smith | 2012-09-29 | 1 | -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.ECHILD | Gregory P. Smith | 2012-09-29 | 1 | -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.ECHILD | Gregory P. Smith | 2012-09-29 | 1 | -1/+10 | |
| | | | | | | | | | | | | | | | to return a returncode of 0 when the child has already exited or cannot be waited on. | |||||
| * | | merge mostly from default | Benjamin Peterson | 2012-09-29 | 34 | -82/+740 | |
| |\ \ | ||||||
* | | | | upgrade to UCD 6.2 | Benjamin Peterson | 2012-09-29 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | merge with 3.3 | Georg Brandl | 2012-09-29 | 1 | -1/+1 | |
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | ||||||
| * | | Fix test_sys.test_implementation for final releases.v3.3.0 | Georg Brandl | 2012-09-29 | 1 | -1/+1 | |
| | | | ||||||
| * | | Closes #15973: fix a segmentation fault when comparing timezone objects. | Georg Brandl | 2012-09-22 | 1 | -0/+2 | |
| | | | ||||||
| * | | Closes #15925: fix regression in parsedate() and parsedate_tz() that should ↵ | Georg Brandl | 2012-09-22 | 1 | -2/+11 | |
| | | | | | | | | | | | | return None if unable to parse the argument. | |||||
| * | | Closes #15969: rename new API to have consistent names in the faulthandler ↵ | Georg Brandl | 2012-09-22 | 1 | -19/+19 | |
| | | | | | | | | | | | | module. | |||||
| * | | Issue #15882: Change _decimal to accept any coefficient tuple when | Stefan Krah | 2012-09-10 | 1 | -7/+10 | |
| | | | | | | | | | | | | | | | | | | constructing infinities. This is done for backwards compatibility with decimal.py: Infinity coefficients are undefined in _decimal (in accordance with the specification). |