Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Issue #17012: shutil.which() no longer fallbacks to the PATH environment | Barry Warsaw | 2013-04-16 | 3 | -1/+29 |
|\ | | | | | | | variable if empty path argument is specified. Patch by Serhiy Storchaka. | ||||
| * | - Issue #17012: shutil.which() no longer fallbacks to the PATH environment | Barry Warsaw | 2013-04-16 | 3 | -1/+29 |
| | | | | | | | | variable if empty path argument is specified. Patch by Serhiy Storchaka. | ||||
* | | Make C and Python implementations of pickle load STRING opcodes the same way. | Alexandre Vassalotti | 2013-04-16 | 3 | -49/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The C version tried to remove trailing whitespace between the last quote and the newline character. I am not sure why it had this because pickle never generated such pickles---for this to happen repr(some_string) would need to return trailing whitespace. It was maybe there to make it easier for people to write pickles in text editors. Anyhow, the Python version doesn't do this so there is no point keeping this around anymore. Also, I've changed the exception raised when a bad pickle is encountered. Again this unlikely to make much difference to anyone though it does make testing slightly nicer for us. | ||||
* | | merge 3.3 | Benjamin Peterson | 2013-04-16 | 1 | -7/+2 |
|\ \ | |/ | |||||
| * | remove pointless code (closes #17738) | Benjamin Peterson | 2013-04-16 | 1 | -7/+2 |
| | | |||||
* | | Issue #17710: Fix pickle raising a SystemError on bogus input. | Antoine Pitrou | 2013-04-15 | 4 | -5/+15 |
|\ \ | |/ | |||||
| * | Issue #17710: Fix pickle raising a SystemError on bogus input. | Antoine Pitrou | 2013-04-15 | 4 | -5/+15 |
| | | |||||
* | | #13510: merge with 3.3. | Ezio Melotti | 2013-04-15 | 2 | -15/+7 |
|\ \ | |/ | |||||
| * | #13510: clarify that f.readlines() is note necessary to iterate over a file. ↵ | Ezio Melotti | 2013-04-15 | 3 | -15/+8 |
| | | | | | | | | Patch by Dan Riti. | ||||
* | | Issue #17728: Merge with 3.3. | Eric V. Smith | 2013-04-15 | 1 | -2/+3 |
|\ \ | |/ | |||||
| * | Issue #17728: Specify default precision for float.format for presentation ↵ | Eric V. Smith | 2013-04-15 | 1 | -2/+3 |
| | | | | | | | | types e, f, and g. | ||||
* | | Merge fix for #17731 from 3.3 | Nick Coghlan | 2013-04-15 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Close #17731: Clean up properly in test_import | Nick Coghlan | 2013-04-15 | 1 | -0/+3 |
| | | |||||
* | | Issue #17713: Added failure diagnostics to test. | Vinay Sajip | 2013-04-15 | 1 | -1/+5 |
| | | |||||
* | | Cleanup PyUnicode_Contains() | Victor Stinner | 2013-04-14 | 1 | -11/+6 |
| | | | | | | | | | | | | * No need to double-check that strings are ready: test already done by PyUnicode_FromObject() * Remove useless kind variable (use kind1 instead) | ||||
* | | Minor change: fix character in do_strip() for the ASCII case | Victor Stinner | 2013-04-14 | 1 | -2/+2 |
| | | |||||
* | | Cleanup PyUnicode_Append() | Victor Stinner | 2013-04-14 | 1 | -18/+14 |
| | | | | | | | | | | | | | | * Check also that right is a Unicode object * call directly resize_compact() instead of unicode_resize() for a more explicit error handling, and to avoid testing some properties twice (ex: unicode_modifiable()) | ||||
* | | PyUnicode_Join(): move use_memcpy test out of the loop to cleanup and ↵ | Victor Stinner | 2013-04-14 | 1 | -20/+28 |
| | | | | | | | | optimize the code | ||||
* | | Optimize repr(str): use _PyUnicode_FastCopyCharacters() when no character is ↵ | Victor Stinner | 2013-04-14 | 1 | -69/+78 |
| | | | | | | | | escaped | ||||
* | | Optimize ascii(str): don't encode/decode repr if repr is already ASCII | Victor Stinner | 2013-04-14 | 2 | -1/+4 |
| | | |||||
* | | Issue #17693: Fix memory/reference leaks | Victor Stinner | 2013-04-14 | 1 | -5/+3 |
| | | |||||
* | | Merge #17341: Include name in re error message about invalid group name. | R David Murray | 2013-04-14 | 4 | -2/+18 |
|\ \ | |/ | | | | | Patch by Jason Michalski. | ||||
| * | #17341: Include name in re error message about invalid group name. | R David Murray | 2013-04-14 | 4 | -2/+18 |
| | | | | | | | | Patch by Jason Michalski. | ||||
* | | add a newline | Brett Cannon | 2013-04-14 | 1 | -1/+1 |
| | | |||||
* | | merge | Brett Cannon | 2013-04-14 | 1 | -256/+258 |
|\ \ | |||||
| * \ | Issue #17221: Resort Misc/NEWS. | Serhiy Storchaka | 2013-04-14 | 1 | -256/+258 |
| |\ \ | | |/ | |||||
| | * | Issue #17221: Resort Misc/NEWS. | Serhiy Storchaka | 2013-04-14 | 1 | -232/+243 |
| | | | |||||
* | | | Issue #17244: Don't mask exceptions raised during the creation of | Brett Cannon | 2013-04-14 | 4 | -3481/+3512 |
|/ / | | | | | | | | | | | bytecode files in py_compile. Thanks to Arfrever Frehtes Taifersar Arahesis for the bug report. | ||||
* | | (Merge 3.3) Issue #17702: use assertRaises() for the unit test | Victor Stinner | 2013-04-14 | 1 | -10/+4 |
|\ \ | |/ | |||||
| * | Issue #17702: use assertRaises() for the unit test | Victor Stinner | 2013-04-14 | 1 | -10/+4 |
| | | |||||
* | | (Merge 3.3) Close #17702: os.environ now raises KeyError with the original | Victor Stinner | 2013-04-14 | 3 | -4/+34 |
|\ \ | |/ | | | | | | | environment variable name (str on UNIX), instead of using the encoded name (bytes on UNIX). | ||||
| * | Close #17702: os.environ now raises KeyError with the original environment | Victor Stinner | 2013-04-14 | 3 | -4/+34 |
| | | | | | | | | variable name (str on UNIX), instead of using the encoded name (bytes on UNIX). | ||||
* | | stringlib: remove unused STRINGLIB_RESIZE macro | Victor Stinner | 2013-04-14 | 7 | -7/+0 |
| | | |||||
* | | Merge fix for #16163 from 3.3 | Nick Coghlan | 2013-04-14 | 3 | -2/+44 |
|\ \ | |/ | |||||
| * | Close issue #16163: handle submodules in pkgutil.iter_importers | Nick Coghlan | 2013-04-14 | 3 | -2/+44 |
| | | |||||
* | | Issue #17713: additional tweak to test. | Vinay Sajip | 2013-04-14 | 1 | -1/+1 |
| | | |||||
* | | Closes #17713: Fixed bug in test_compute_rollover_weekly_attime. | Vinay Sajip | 2013-04-14 | 1 | -26/+33 |
| | | |||||
* | | #2118: IOError is deprecated, use OSError. | R David Murray | 2013-04-14 | 3 | -3/+3 |
| | | |||||
* | | Merge 3.3 | Alexandre Vassalotti | 2013-04-14 | 1 | -21/+106 |
|\ \ | |/ | |||||
| * | Merge heads. | Alexandre Vassalotti | 2013-04-14 | 2 | -21/+109 |
| |\ | |||||
| | * | Issue #16550: Update the opcode descriptions of pickletools to use unsigned | Alexandre Vassalotti | 2013-04-14 | 2 | -21/+109 |
| | | | | | | | | | | | | integers where appropriate. Initial patch by Serhiy Storchaka. | ||||
* | | | Closes #16551. Cleanup pickle.py. | Serhiy Storchaka | 2013-04-14 | 1 | -138/+85 |
| | | | |||||
* | | | merge with 3.3 | Georg Brandl | 2013-04-14 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fix example ignoring ".svn" directories in compileall. | Georg Brandl | 2013-04-14 | 1 | -1/+1 |
| | | | |||||
* | | | merge with 3.3 | Georg Brandl | 2013-04-14 | 1 | -4/+4 |
|\ \ \ | |/ / | |||||
| * | | The Integral class does not contain implementations for the bit-shifting ↵ | Georg Brandl | 2013-04-14 | 1 | -4/+4 |
| | | | | | | | | | | | | operations. (See #3056.) | ||||
* | | | merge with 3.3 | Georg Brandl | 2013-04-14 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Clarify that the function *definition* creates the function and the binding ↵ | Georg Brandl | 2013-04-14 | 1 | -2/+2 |
| | | | | | | | | | | | | in the module globals. | ||||
* | | | merge with 3.3 | Georg Brandl | 2013-04-14 | 2 | -4/+24 |
|\ \ \ | |/ / | |||||
| * | | Closes #14462: allow any valid Python identifier in sre group names, as ↵ | Georg Brandl | 2013-04-14 | 2 | -4/+24 |
| | | | | | | | | | | | | documented. |