summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* distiguish between refusing to creating shared keys and error (#13903)Benjamin Peterson2012-04-241-0/+7
|
* Account for shared keys in type's __sizeof__ (#13903).Martin v. Loewis2012-04-241-3/+9
|
* merge 3.2 (#14658)Benjamin Peterson2012-04-241-1/+9
|\
| * don't use a slot wrapper from a different special method (closes #14658)Benjamin Peterson2012-04-241-1/+9
| | | | | | | | | | | | | | This also alters the fix to #11603. Specifically, setting __repr__ to object.__str__ now raises a recursion RuntimeError when str() or repr() is called instead of silently bypassing the recursion. I believe this behavior is more correct.
* | Skip long repr tests when the cached pyc file's path length would exceed the ↵Antoine Pitrou2012-04-241-3/+25
| | | | | | | | | | | | maximum Win32 path length. This should fix a failure on one of the XP buildbots.
* | Close #14648: Compute correctly maxchar in str.format() for substrinVictor Stinner2012-04-231-2/+8
| |
* | Issue #14650: fix typo in shutil.disk_usage() docstring; patch by Hobson LaneSandro Tosi2012-04-231-1/+1
| |
* | merge headsBenjamin Peterson2012-04-233-1/+16
|\ \
| * \ merge #14638: pydoc now treats non-str __name__ as None instead of raisingR David Murray2012-04-232-1/+13
| |\ \ | | |/ | | | | | | Original patch by Peter Otten.
| | * #14638: pydoc now treats non-str __name__ as None instead of raisingR David Murray2012-04-232-1/+13
| | | | | | | | | | | | Original patch by Peter Otten.
| * | 3.2 - Fix for Issue13684 - httplib tunnel infinite loopSenthil Kumaran2012-04-231-0/+3
| |\ \ | | |/
| | * 3.2 - Fix for Issue13684 - httplib tunnel infinite loopSenthil Kumaran2012-04-231-0/+3
| | |
* | | fix instance dicts with str subclasses (#13903)Benjamin Peterson2012-04-231-0/+10
|/ /
* | Implement PEP 412: Key-sharing dictionaries (closes #13903)Benjamin Peterson2012-04-233-3/+28
| | | | | | | | Patch from Mark Shannon.
* | inherit maxchar of field value where needed (closes #14648)Benjamin Peterson2012-04-231-0/+2
| |
* | merge 3.2Benjamin Peterson2012-04-231-1/+1
|\ \ | |/
| * sleep hereBenjamin Peterson2012-04-231-1/+1
| |
* | Issue #14605: Expose importlib.abc.FileLoader andBrett Cannon2012-04-2214-91/+140
| | | | | | | | | | | | | | | | importlib.machinery.(FileFinder, SourceFileLoader, _SourcelessFileLoader, ExtensionFileLoader). This exposes all of importlib's mechanisms that will become public on the sys module.
* | mergeBrett Cannon2012-04-222-2/+2
|\ \
| * | Issue #14644: Increased default timeout for SMTPHandler. Note: last commit ↵Vinay Sajip2012-04-221-1/+1
| | | | | | | | | | | | message referred to the wrong issue number.
| * | Issue #14622: Increased default timeout for SMTPHandler.Vinay Sajip2012-04-221-1/+1
| | |
* | | Change tests for imp.cache_from_source() to follow os.path.join/splitBrett Cannon2012-04-221-43/+32
|/ / | | | | | | semantics.
* | mergeBrett Cannon2012-04-222-12/+10
|\ \
| * | Use os.path.samestat() instead of reinventing the wheel.Charles-François Natali2012-04-221-9/+2
| | |
| * | Resolve #14026 (Merge from 3.2)Nick Coghlan2012-04-221-3/+8
| |\ \ | | |/
| | * Close issue #14026 by better testing sys.argv handling in ↵Nick Coghlan2012-04-221-3/+8
| | | | | | | | | | | | test_cmd_line_script (patch by Jason Yeo)
* | | Issue #13959: Continue to try to accomodate altsep in importlib by notBrett Cannon2012-04-221-5/+11
|/ / | | | | | | ignoring altsep if it already exists on a path when doing a join.
* | Revert to os.path.join() semantics for path manipulation in importlibBrett Cannon2012-04-221-11/+2
| | | | | | | | which is different than what imp.cache_from_source() operates on.
* | Continue the good fight to get Windows to like importlib by fixing aBrett Cannon2012-04-221-1/+3
| | | | | | | | variable name.
* | mergeBrett Cannon2012-04-222-1/+10
|\ \
| * \ merge headsSenthil Kumaran2012-04-221-4/+67
| |\ \
| * | | Fix Issue2193 - Allow ":" character in Cookie NAME valuesSenthil Kumaran2012-04-222-1/+10
| | | |
* | | | Have importlib look for pre-existing path separators when joiningBrett Cannon2012-04-221-2/+10
| |/ / |/| | | | | | | | paths.
* | | Fix whitespace.Brett Cannon2012-04-221-1/+0
| | |
* | | Issue #13959: Re-implement imp.find_module() in Lib/imp.py.Brett Cannon2012-04-221-4/+68
|/ / | | | | | | Thanks to Eric Snow for taking an initial stab at the implementation.
* | Issue #14637: Fix the UNC import test under Windows to actually useBrett Cannon2012-04-211-4/+8
| | | | | | | | | | | | the UNC path. Also clean up sys.path and invalidate finder caches. Thanks to Vinay Sajip for spotting the use of the wrong path.
* | Don't worry about moving imp.get_tag() over to Lib/imp.py.Brett Cannon2012-04-212-3/+5
| |
* | mergeBrett Cannon2012-04-213-7/+38
|\ \
| * | Remove incorrect commentMichael Foord2012-04-211-1/+0
| | |
| * | Closes issue 14634. unittest.mock.create_autospec now supports keyword only ↵Michael Foord2012-04-212-4/+22
| | | | | | | | | | | | arguments.
| * | Closes issue 14636. mock objects raise exceptions from an iterable side_effectMichael Foord2012-04-212-3/+17
| | |
* | | Issue #13959: Re-implement imp.source_from_cache() in Lib/imp.py.Brett Cannon2012-04-212-2/+30
| | |
* | | Issue #13959: Re-implement imp.cache_from_source() in Lib/imp.py.Brett Cannon2012-04-212-8/+30
| | |
* | | Make path manipulation more robust for platforms with alternative pathBrett Cannon2012-04-211-16/+27
|/ / | | | | | | separators.
* | Issue #13959: Keep imp.get_magic() in C code, but cache in importlibBrett Cannon2012-04-202-5/+11
| | | | | | | | | | | | for performance. While get_magic() could move to Lib/imp.py, having to support PyImport_GetMagicNumber() would lead to equal, if not more, C code than sticking with the status quo.
* | Fix a cleanup.Brett Cannon2012-04-201-1/+1
| |
* | MergeBrett Cannon2012-04-201-0/+14
|\ \
| * \ Issue #14630: Merge fix from 3.2.Mark Dickinson2012-04-201-0/+14
| |\ \ | | |/
| | * Issue #14630: Fix an incorrect access of ob_digit[0] for a zero instance of ↵Mark Dickinson2012-04-201-0/+14
| | | | | | | | | | | | an int subclass.
* | | Use a skipUnless decorator instead of conditional renaming.Brett Cannon2012-04-201-3/+1
|/ /