Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #16147: PyUnicode_FromFormatV() now detects integer overflow when parsing | Victor Stinner | 2012-10-06 | 1 | -1/+11 |
| | | | | width and precision | ||||
* | Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter API | Victor Stinner | 2012-10-06 | 3 | -484/+364 |
| | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | merge with 3.3. | Georg Brandl | 2012-10-06 | 1 | -10/+10 |
|\ | |||||
| * | Fix markup in Counter note. | Georg Brandl | 2012-10-06 | 1 | -10/+10 |
| | | |||||
* | | Merge: whatsnew updates for smtplib and collections.Counter. | R David Murray | 2012-10-06 | 2 | -9/+16 |
|\ \ | |/ | |||||
| * | whatsnew updates for smtplib and collections.Counter. | R David Murray | 2012-10-06 | 2 | -9/+16 |
| | | |||||
* | | Merge: Fix typos. | R David Murray | 2012-10-06 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Fix typos. | R David Murray | 2012-10-06 | 1 | -2/+2 |
| | | |||||
* | | merge #10968: commit threading doc changes and corresponding whatsnew entry. | R David Murray | 2012-10-06 | 4 | -171/+162 |
|\ \ | |/ | | | | | | | | | It is unfortunate that the '_' names were not kept as aliases, and that RLock was not also converted to a class, but it is now too late to change either of those things for 3.3. | ||||
| * | #10968: commit threading doc changes and corresponding whatsnew entry. | R David Murray | 2012-10-06 | 4 | -171/+162 |
| | | | | | | | | | | | | It is unfortunate that the '_' names were not kept as aliases, and that RLock was not also converted to a class, but it is now too late to change either of those things for 3.3. | ||||
* | | Issue #16096: port fix from 3.3 | Mark Dickinson | 2012-10-06 | 1 | -3/+2 |
|\ \ | |/ | |||||
| * | Issue #16096: Fix signed overflow in Objects/longobject.c. Thanks Serhiy ↵ | Mark Dickinson | 2012-10-06 | 1 | -3/+2 |
| | | | | | | | | Storchaka. | ||||
* | | Issue #16096: Merge fixes from 3.3. | Mark Dickinson | 2012-10-06 | 7 | -35/+30 |
|\ \ | |/ | |||||
| * | Issue #16096: Fix several occurrences of potential signed integer overflow. ↵ | Mark Dickinson | 2012-10-06 | 7 | -35/+30 |
| | | | | | | | | Thanks Serhiy Storchaka. | ||||
* | | 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 |
| | | | |||||
* | | | Add spaces to follow PEP8. | Andrew Svetlov | 2012-10-06 | 1 | -1/+1 |
| | | | |||||
* | | | and another one | Christian Heimes | 2012-10-06 | 1 | -2/+2 |
| | | | |||||
* | | | merge | Christian Heimes | 2012-10-06 | 5 | -24/+40 |
|\ \ \ | |||||
| * \ \ | Issue #16025: Minor corrections to the zipfile documentation. | Andrew Svetlov | 2012-10-06 | 2 | -12/+34 |
| |\ \ \ | | |/ / | | | | | | | | | Patch by Serhiy Storchaka. | ||||
| | * | | Issue #16025: Minor corrections to the zipfile documentation. | Andrew Svetlov | 2012-10-06 | 2 | -12/+34 |
| | |\ \ | | | |/ | | | | | | | | | Patch by Serhiy Storchaka. | ||||
| | | * | Issue #16025: Minor corrections to the zipfile documentation. | Andrew Svetlov | 2012-10-06 | 2 | -9/+31 |
| | | | | | | | | | | | | | | | | Patch by Serhiy Storchaka. | ||||
| * | | | Issue #16120: Use |yield from| in stdlib. | Andrew Svetlov | 2012-10-06 | 3 | -12/+6 |
| | | | | | | | | | | | | | | | | Patch by Berker Peksag. | ||||
* | | | | move var declaration to top of block to fix compilation on Windows, fixes ↵ | Christian Heimes | 2012-10-06 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | a7ec0a1b0f7c | ||||
* | | | | remove #warning from sha3module.c | Christian Heimes | 2012-10-06 | 1 | -1/+0 |
|/ / / | |||||
* | | | fix possible memory leak, dealloc newobj | Christian Heimes | 2012-10-06 | 1 | -2/+1 |
| | | | |||||
* | | | Fixed a missing incref introduced by a7ec0a1b0f7c | Armin Ronacher | 2012-10-06 | 1 | -1/+1 |
| | | | |||||
* | | | Added notimplemented_dealloc for better error reporting | Armin Ronacher | 2012-10-06 | 1 | -1/+10 |
| | | | |||||
* | | | merge default | Armin Ronacher | 2012-10-06 | 10 | -18/+83 |
|\ \ \ | |||||
| * \ \ | merge with 3.3 | Georg Brandl | 2012-10-06 | 10 | -18/+83 |
| |\ \ \ | | |/ / | |||||
| | * | | Closes #11710: create "landing pages" (/library/package.html) for those ↵ | Georg Brandl | 2012-10-06 | 9 | -8/+79 |
| | | | | | | | | | | | | | | | | packages that have no documented content themselves, e.g. "urllib" or "http". | ||||
| | * | | Closes #16149: remove now-false statement about the inability to compare ↵ | Georg Brandl | 2012-10-06 | 1 | -10/+4 |
| | | | | | | | | | | | | | | | | Decimal and float objects. | ||||
* | | | | Issue #16148: implemented PEP 424 | Armin Ronacher | 2012-10-06 | 14 | -81/+160 |
|/ / / | |||||
* | | | Issue #13896: Make shelf instances work with 'with' as context managers. | Andrew Svetlov | 2012-10-06 | 3 | -0/+23 |
| | | | | | | | | | | | | Original patch by Filip Gruszczyński. | ||||
* | | | Update NEWS for adding missed changes. | Andrew Svetlov | 2012-10-06 | 1 | -0/+5 |
| | | | |||||
* | | | fixed _sha3 VS project file | Christian Heimes | 2012-10-06 | 1 | -11/+2 |
| | | | |||||
* | | | Issue #16133: add Windows project file for _sha3 module. I choose to build ↵ | Christian Heimes | 2012-10-06 | 2 | -0/+223 |
| | | | | | | | | | | | | _sha3 as a sparat module as it's rather large (190k for AMD64). | ||||
* | | | add note to Misc/NEWS | Christian Heimes | 2012-10-06 | 1 | -0/+5 |
| | | | |||||
* | | | Issue #16113: integrade SHA-3 (Keccak) patch from ↵ | Christian Heimes | 2012-10-06 | 30 | -28/+7971 |
| | | | | | | | | | | | | http://hg.python.org/sandbox/cheimes | ||||
* | | | In debug mode, unicode_write_cstr() now checks that non-ASCII characters are | Victor Stinner | 2012-10-05 | 1 | -0/+8 |
| | | | | | | | | | | | | not written into an ASCII string | ||||
* | | | 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 | ||||
* | | | normalize whitespaces | Andrew Svetlov | 2012-10-05 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #16123: IDLE - deprecate running without a subprocess. | Andrew Svetlov | 2012-10-05 | 2 | -3/+9 |
| | | | | | | | | | | | | Patch by Roger Serwy | ||||
* | | | Merge ftplib doc fix with 3.3. | Ezio Melotti | 2012-10-05 | 1 | -9/+9 |
|\ \ \ | |/ / | |||||
| * | | Merge ftplib doc fix with 3.2. | Ezio Melotti | 2012-10-05 | 1 | -9/+9 |
| |\ \ | | |/ | |||||
| | * | The file obj passed to ftp.storbinary/storlines must be opened in binary mode. | Ezio Melotti | 2012-10-05 | 1 | -9/+9 |
| | | | |||||
* | | | Merge issue #16138: fix typo. | Andrew Svetlov | 2012-10-05 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge issue #16138: fix typo. | Andrew Svetlov | 2012-10-05 | 1 | -1/+1 |
| |\ \ | | |/ |