summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Issue #17012: shutil.which() no longer fallbacks to the PATH environmentBarry Warsaw2013-04-163-1/+29
|\ | | | | | | variable if empty path argument is specified. Patch by Serhiy Storchaka.
| * - Issue #17012: shutil.which() no longer fallbacks to the PATH environmentBarry Warsaw2013-04-163-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 Vassalotti2013-04-163-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.3Benjamin Peterson2013-04-161-7/+2
|\ \ | |/
| * remove pointless code (closes #17738)Benjamin Peterson2013-04-161-7/+2
| |
* | Issue #17710: Fix pickle raising a SystemError on bogus input.Antoine Pitrou2013-04-154-5/+15
|\ \ | |/
| * Issue #17710: Fix pickle raising a SystemError on bogus input.Antoine Pitrou2013-04-154-5/+15
| |
* | #13510: merge with 3.3.Ezio Melotti2013-04-152-15/+7
|\ \ | |/
| * #13510: clarify that f.readlines() is note necessary to iterate over a file. ↵Ezio Melotti2013-04-153-15/+8
| | | | | | | | Patch by Dan Riti.
* | Issue #17728: Merge with 3.3.Eric V. Smith2013-04-151-2/+3
|\ \ | |/
| * Issue #17728: Specify default precision for float.format for presentation ↵Eric V. Smith2013-04-151-2/+3
| | | | | | | | types e, f, and g.
* | Merge fix for #17731 from 3.3Nick Coghlan2013-04-151-0/+3
|\ \ | |/
| * Close #17731: Clean up properly in test_importNick Coghlan2013-04-151-0/+3
| |
* | Issue #17713: Added failure diagnostics to test.Vinay Sajip2013-04-151-1/+5
| |
* | Cleanup PyUnicode_Contains()Victor Stinner2013-04-141-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 caseVictor Stinner2013-04-141-2/+2
| |
* | Cleanup PyUnicode_Append()Victor Stinner2013-04-141-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 Stinner2013-04-141-20/+28
| | | | | | | | optimize the code
* | Optimize repr(str): use _PyUnicode_FastCopyCharacters() when no character is ↵Victor Stinner2013-04-141-69/+78
| | | | | | | | escaped
* | Optimize ascii(str): don't encode/decode repr if repr is already ASCIIVictor Stinner2013-04-142-1/+4
| |
* | Issue #17693: Fix memory/reference leaksVictor Stinner2013-04-141-5/+3
| |
* | Merge #17341: Include name in re error message about invalid group name.R David Murray2013-04-144-2/+18
|\ \ | |/ | | | | Patch by Jason Michalski.
| * #17341: Include name in re error message about invalid group name.R David Murray2013-04-144-2/+18
| | | | | | | | Patch by Jason Michalski.
* | add a newlineBrett Cannon2013-04-141-1/+1
| |
* | mergeBrett Cannon2013-04-141-256/+258
|\ \
| * \ Issue #17221: Resort Misc/NEWS.Serhiy Storchaka2013-04-141-256/+258
| |\ \ | | |/
| | * Issue #17221: Resort Misc/NEWS.Serhiy Storchaka2013-04-141-232/+243
| | |
* | | Issue #17244: Don't mask exceptions raised during the creation ofBrett Cannon2013-04-144-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 testVictor Stinner2013-04-141-10/+4
|\ \ | |/
| * Issue #17702: use assertRaises() for the unit testVictor Stinner2013-04-141-10/+4
| |
* | (Merge 3.3) Close #17702: os.environ now raises KeyError with the originalVictor Stinner2013-04-143-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 environmentVictor Stinner2013-04-143-4/+34
| | | | | | | | variable name (str on UNIX), instead of using the encoded name (bytes on UNIX).
* | stringlib: remove unused STRINGLIB_RESIZE macroVictor Stinner2013-04-147-7/+0
| |
* | Merge fix for #16163 from 3.3Nick Coghlan2013-04-143-2/+44
|\ \ | |/
| * Close issue #16163: handle submodules in pkgutil.iter_importersNick Coghlan2013-04-143-2/+44
| |
* | Issue #17713: additional tweak to test.Vinay Sajip2013-04-141-1/+1
| |
* | Closes #17713: Fixed bug in test_compute_rollover_weekly_attime.Vinay Sajip2013-04-141-26/+33
| |
* | #2118: IOError is deprecated, use OSError.R David Murray2013-04-143-3/+3
| |
* | Merge 3.3Alexandre Vassalotti2013-04-141-21/+106
|\ \ | |/
| * Merge heads.Alexandre Vassalotti2013-04-142-21/+109
| |\
| | * Issue #16550: Update the opcode descriptions of pickletools to use unsignedAlexandre Vassalotti2013-04-142-21/+109
| | | | | | | | | | | | integers where appropriate. Initial patch by Serhiy Storchaka.
* | | Closes #16551. Cleanup pickle.py.Serhiy Storchaka2013-04-141-138/+85
| | |
* | | merge with 3.3Georg Brandl2013-04-141-1/+1
|\ \ \ | |/ /
| * | Fix example ignoring ".svn" directories in compileall.Georg Brandl2013-04-141-1/+1
| | |
* | | merge with 3.3Georg Brandl2013-04-141-4/+4
|\ \ \ | |/ /
| * | The Integral class does not contain implementations for the bit-shifting ↵Georg Brandl2013-04-141-4/+4
| | | | | | | | | | | | operations. (See #3056.)
* | | merge with 3.3Georg Brandl2013-04-141-2/+2
|\ \ \ | |/ /
| * | Clarify that the function *definition* creates the function and the binding ↵Georg Brandl2013-04-141-2/+2
| | | | | | | | | | | | in the module globals.
* | | merge with 3.3Georg Brandl2013-04-142-4/+24
|\ \ \ | |/ /
| * | Closes #14462: allow any valid Python identifier in sre group names, as ↵Georg Brandl2013-04-142-4/+24
| | | | | | | | | | | | documented.