summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #2051: Tweak last commit for this issue to pass in mode insteadBrett Cannon2012-08-241-9/+7
| | | | | of source path to set_data() and make the new argument private until possible API changes can be discussed more thoroughly in Python 3.4.
* Issue #15778: Coerce ImportError.args to a string when it isn'tBrett Cannon2012-08-241-0/+5
| | | | | | already one. Patch by Dave Malcolm.
* Closes #9374: merge with 3.2Georg Brandl2012-08-241-0/+10
|\
| * Closes #9374: add back now-unused module attributes; removing them is a ↵Georg Brandl2012-08-241-0/+10
| | | | | | | | backward compatibility issue, since they have a public-seeming name.
* | Issue #15776: Allow pyvenv to work in existing directory with --clean.Andrew Svetlov2012-08-241-1/+9
| | | | | | | | Patch by Vinay Sajip.
* | Merge #15249: Mangle From lines correctly when body contains invalid bytes.R David Murray2012-08-242-1/+17
|\ \ | |/ | | | | Fix by Colin Su. Test by me, based on a test written by Petri Lehtinen.
| * #15249: Mangle From lines correctly when body contains invalid bytes.R David Murray2012-08-242-1/+17
| | | | | | | | Fix by Colin Su. Test by me, based on a test written by Petri Lehtinen.
| * Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.Trent Nelson2012-08-211-3/+20
| | | | | | | | This is necessary for ZFS systems, which don't support UF_IMMUTABLE.
* | Close #2501: Permission bits are once again correctly copied from the source ↵Nick Coghlan2012-08-242-6/+50
| | | | | | | | file to the cached bytecode file. Test by Eric Snow.
* | Issue #15770: Check invalid arguments in test function. Patch by Victor Stinner.Stefan Krah2012-08-231-0/+2
| |
* | Issue #665194: Added a small optimizationAlexander Belopolsky2012-08-231-1/+1
| |
* | Added test for a bug fixed in issue #665194.Alexander Belopolsky2012-08-231-0/+12
| |
* | #665194: fix variable name in exception code path.R David Murray2012-08-231-1/+1
| | | | | | | | | | It was correct in the original patch and I foobared it when I restructured part of the code.
* | #665194: Update email.utils.localtime to use astimezone, and fix bug.R David Murray2012-08-232-31/+30
| | | | | | | | | | | | | | The new code correctly handles historic changes in UTC offsets. A test for this should follow. Original patch by Alexander Belopolsky.
* | Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.Trent Nelson2012-08-211-3/+20
| | | | | | | | | | | | | | | | This is necessary for ZFS systems, which don't support UF_IMMUTABLE. (Note: this commit is a manual merge of 78699:019a2390b014 as both _test_chflags_regular_file and test_lchflags_symlink differ between 3.2 and default.)
* | #15752: merge with 3.2.Ezio Melotti2012-08-211-2/+2
|\ \ | |/
| * #15752: s/assertRaisesRegexp/assertRaisesRegex/gEzio Melotti2012-08-211-2/+2
| |
* | Merge 3.2.Stefan Krah2012-08-211-0/+8
|\ \ | |/
| * Issue #15736: Fix overflow in _PySequence_BytesToCharpArray().Stefan Krah2012-08-211-0/+8
| |
* | Issue #15285: Refactor connect timeout test in test_timeout.Trent Nelson2012-08-211-8/+82
|\ \ | |/
| * Issue #15285: Refactor connect timeout test in test_timeout.Trent Nelson2012-08-211-8/+82
| |
* | Fix Issue 15743 - improve urllib tests by removing deprecated method usages. ↵Senthil Kumaran2012-08-201-31/+33
| | | | | | | | Patch by Jeff Knupp.
* | #15199: Fix JavaScript's default MIME type to application/javascriptPetri Lehtinen2012-08-201-1/+1
|\ \ | |/
| * #15199: Fix JavaScript's default MIME type to application/javascriptPetri Lehtinen2012-08-201-1/+1
| |
* | Issue #12643: Respect sys.excepthook in code.InteractiveConsoleNick Coghlan2012-08-203-5/+87
| |
* | Merge 3.2.Stefan Krah2012-08-201-0/+10
|\ \ | |/
| * Issue #15738: Fix a missing NULL check in subprocess_fork_exec().Stefan Krah2012-08-201-0/+10
| |
* | Merge 3.2.Stefan Krah2012-08-201-0/+13
|\ \ | |/
| * Issue #15732: Fix (constructed) crash in _PySequence_BytesToCharpArray().Stefan Krah2012-08-201-0/+13
| | | | | | | | Found by Coverity.
* | Close #14846: Handle a sys.path entry going awayNick Coghlan2012-08-202-4/+17
| |
* | Close #14814: Avoid depending on struct by using newer features. Also use ↵Nick Coghlan2012-08-201-8/+6
| | | | | | | | enumerate where appropriate (patch by Serhiy Storchaka). Declaring PEP 3144 final at this point - any further changes to code or docs can go in new issues.
* | Issue #14814: document the Interface APIs and fix various problems with the ↵Nick Coghlan2012-08-202-12/+13
| | | | | | | | string representations (initial patch by Eli Bendersky).
* | Merge #13579: teach string.Formatter about 'a'.R David Murray2012-08-192-4/+12
|\ \ | |/ | | | | Patch by Francisco Martín Brugué.
| * #13579: teach string.Formatter about 'a'.R David Murray2012-08-192-4/+18
| | | | | | | | Patch by Francisco Martín Brugué.
* | Issue #15595: Fix subprocess.Popen(universal_newlines=True)Andrew Svetlov2012-08-192-2/+34
|\ \ | |/ | | | | | | | | for certain locales (utf-16 and utf-32 family). Patch by Chris Jerdonek.
| * Issue #15595: Fix subprocess.Popen(universal_newlines=True)Andrew Svetlov2012-08-192-2/+35
| | | | | | | | | | | | for certain locales (utf-16 and utf-32 family). Patch by Chris Jerdonek.
* | Use Thread.is_alive() instead of old-style Thread.isAlive() in subprocess.Andrew Svetlov2012-08-191-2/+2
| |
* | Brush subprocess tests a bit.Andrew Svetlov2012-08-191-20/+21
| |
* | The latest NumPy revision no longer segfaults here.Stefan Krah2012-08-191-6/+0
| |
* | Fix out-of-date comment in test_memoryview.Stefan Krah2012-08-191-1/+2
| |
* | Issue #15615: Add some tests for the json module's handling of invalid input ↵Antoine Pitrou2012-08-181-0/+9
|\ \ | |/ | | | | | | | | data. Patch by Kushal Das.
| * Issue #15615: Add some tests for the json module's handling of invalid input ↵Antoine Pitrou2012-08-181-0/+9
| | | | | | | | | | | | data. Patch by Kushal Das.
* | Issue #15477: Merge fix from 3.2Mark Dickinson2012-08-181-4/+0
|\ \ | |/
| * Issue #15477: Add workaround for log1p(-0.0) on platforms where it's broken.Mark Dickinson2012-08-181-4/+0
| |
* | Closes #15632: regrtest.py: fix spurious refleaks due to various cachesStefan Krah2012-08-171-4/+9
| | | | | | | | filling up with random data.
* | Issue #15678: Fix menu customization for IDLE started from OS XNed Deily2012-08-171-3/+13
| | | | | | | | | | | | | | | | | | | | command lines. It was broken as a side effect of the changes to pythonw.c in b79d276041a8 for #15307. Since sys.executable no longer includes 'Python.app' in the path name, test for a framework build instead. This should give the previous behavior in nearly all cases. Whether the previous behavior is sensible is left as an issue for later releases. IDLE.app behavior was not affected as it does its own manipulation of sys.executable.
* | Issue #15715: Ignore failed imports triggered by the use of fromlist.Brett Cannon2012-08-172-2/+13
| | | | | | | | | | | | | | | | | | | | | | When the fromlist argument is specified for __import__() and the attribute doesn't already exist, an import is attempted. If that fails (e.g. module doesn't exist), the ImportError will now be silenced (for backwards-compatibility). This *does not* affect ``from ... import ...`` statements. Thanks to Eric Snow for the patch and Simon Feltman for reporting the regression.
* | Fix subprocess test broken on WindowsAndrew Svetlov2012-08-161-10/+11
| |
* | Issue #14669: Fix pickling of connections and sockets on MacOSXRichard Oudkerk2012-08-162-2/+8
| | | | | | | | | | by sending/receiving an acknowledgment after file descriptor transfer. TestPicklingConnection has been reenabled for MacOSX.
* | #11062: Fix universal newline support in Babyl._install_message()Petri Lehtinen2012-08-161-3/+10
|\ \ | |/