summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16147: PyUnicode_FromFormatV() now detects integer overflow when parsingVictor Stinner2012-10-061-1/+11
| | | | width and precision
* Issue #16147: Rewrite PyUnicode_FromFormatV() to use _PyUnicodeWriter APIVictor Stinner2012-10-063-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 Brandl2012-10-061-10/+10
|\
| * Fix markup in Counter note.Georg Brandl2012-10-061-10/+10
| |
* | Merge: whatsnew updates for smtplib and collections.Counter.R David Murray2012-10-062-9/+16
|\ \ | |/
| * whatsnew updates for smtplib and collections.Counter.R David Murray2012-10-062-9/+16
| |
* | Merge: Fix typos.R David Murray2012-10-061-2/+2
|\ \ | |/
| * Fix typos.R David Murray2012-10-061-2/+2
| |
* | merge #10968: commit threading doc changes and corresponding whatsnew entry.R David Murray2012-10-064-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 Murray2012-10-064-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.3Mark Dickinson2012-10-061-3/+2
|\ \ | |/
| * Issue #16096: Fix signed overflow in Objects/longobject.c. Thanks Serhiy ↵Mark Dickinson2012-10-061-3/+2
| | | | | | | | Storchaka.
* | Issue #16096: Merge fixes from 3.3.Mark Dickinson2012-10-067-35/+30
|\ \ | |/
| * Issue #16096: Fix several occurrences of potential signed integer overflow. ↵Mark Dickinson2012-10-067-35/+30
| | | | | | | | Thanks Serhiy Storchaka.
* | 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
| | |
* | | Add spaces to follow PEP8.Andrew Svetlov2012-10-061-1/+1
| | |
* | | and another oneChristian Heimes2012-10-061-2/+2
| | |
* | | mergeChristian Heimes2012-10-065-24/+40
|\ \ \
| * \ \ Issue #16025: Minor corrections to the zipfile documentation.Andrew Svetlov2012-10-062-12/+34
| |\ \ \ | | |/ / | | | | | | | | Patch by Serhiy Storchaka.
| | * | Issue #16025: Minor corrections to the zipfile documentation.Andrew Svetlov2012-10-062-12/+34
| | |\ \ | | | |/ | | | | | | | | Patch by Serhiy Storchaka.
| | | * Issue #16025: Minor corrections to the zipfile documentation.Andrew Svetlov2012-10-062-9/+31
| | | | | | | | | | | | | | | | Patch by Serhiy Storchaka.
| * | | Issue #16120: Use |yield from| in stdlib.Andrew Svetlov2012-10-063-12/+6
| | | | | | | | | | | | | | | | Patch by Berker Peksag.
* | | | move var declaration to top of block to fix compilation on Windows, fixes ↵Christian Heimes2012-10-061-2/+4
| | | | | | | | | | | | | | | | a7ec0a1b0f7c
* | | | remove #warning from sha3module.cChristian Heimes2012-10-061-1/+0
|/ / /
* | | fix possible memory leak, dealloc newobjChristian Heimes2012-10-061-2/+1
| | |
* | | Fixed a missing incref introduced by a7ec0a1b0f7cArmin Ronacher2012-10-061-1/+1
| | |
* | | Added notimplemented_dealloc for better error reportingArmin Ronacher2012-10-061-1/+10
| | |
* | | merge defaultArmin Ronacher2012-10-0610-18/+83
|\ \ \
| * \ \ merge with 3.3Georg Brandl2012-10-0610-18/+83
| |\ \ \ | | |/ /
| | * | Closes #11710: create "landing pages" (/library/package.html) for those ↵Georg Brandl2012-10-069-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 Brandl2012-10-061-10/+4
| | | | | | | | | | | | | | | | Decimal and float objects.
* | | | Issue #16148: implemented PEP 424Armin Ronacher2012-10-0614-81/+160
|/ / /
* | | Issue #13896: Make shelf instances work with 'with' as context managers.Andrew Svetlov2012-10-063-0/+23
| | | | | | | | | | | | Original patch by Filip Gruszczyński.
* | | Update NEWS for adding missed changes.Andrew Svetlov2012-10-061-0/+5
| | |
* | | fixed _sha3 VS project fileChristian Heimes2012-10-061-11/+2
| | |
* | | Issue #16133: add Windows project file for _sha3 module. I choose to build ↵Christian Heimes2012-10-062-0/+223
| | | | | | | | | | | | _sha3 as a sparat module as it's rather large (190k for AMD64).
* | | add note to Misc/NEWSChristian Heimes2012-10-061-0/+5
| | |
* | | Issue #16113: integrade SHA-3 (Keccak) patch from ↵Christian Heimes2012-10-0630-28/+7971
| | | | | | | | | | | | http://hg.python.org/sandbox/cheimes
* | | In debug mode, unicode_write_cstr() now checks that non-ASCII characters areVictor Stinner2012-10-051-0/+8
| | | | | | | | | | | | not written into an ASCII string
* | | 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
* | | normalize whitespacesAndrew Svetlov2012-10-051-1/+1
| | |
* | | Issue #16123: IDLE - deprecate running without a subprocess.Andrew Svetlov2012-10-052-3/+9
| | | | | | | | | | | | Patch by Roger Serwy
* | | Merge ftplib doc fix with 3.3.Ezio Melotti2012-10-051-9/+9
|\ \ \ | |/ /
| * | Merge ftplib doc fix with 3.2.Ezio Melotti2012-10-051-9/+9
| |\ \ | | |/
| | * The file obj passed to ftp.storbinary/storlines must be opened in binary mode.Ezio Melotti2012-10-051-9/+9
| | |
* | | Merge issue #16138: fix typo.Andrew Svetlov2012-10-051-1/+1
|\ \ \ | |/ /
| * | Merge issue #16138: fix typo.Andrew Svetlov2012-10-051-1/+1
| |\ \ | | |/