summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Fix test_sys.test_implementation for final releases.v3.3.0Georg Brandl2012-09-291-1/+1
|
* Closes #15973: fix a segmentation fault when comparing timezone objects.Georg Brandl2012-09-221-0/+2
|
* Closes #15925: fix regression in parsedate() and parsedate_tz() that should ↵Georg Brandl2012-09-221-2/+11
| | | | return None if unable to parse the argument.
* Closes #15969: rename new API to have consistent names in the faulthandler ↵Georg Brandl2012-09-221-19/+19
| | | | module.
* Issue #15882: Change _decimal to accept any coefficient tuple whenStefan Krah2012-09-101-7/+10
| | | | | | constructing infinities. This is done for backwards compatibility with decimal.py: Infinity coefficients are undefined in _decimal (in accordance with the specification).
* Issue #13992: The trashcan mechanism is now thread-safe. This eliminatesAntoine Pitrou2012-09-051-0/+69
| | | | | | | | | | | sporadic crashes in multi-thread programs when several long deallocator chains ran concurrently and involved subclasses of built-in container types. Because of this change, a couple extension modules compiled for 3.2.4 (those which use the trashcan mechanism, despite it being undocumented) will not be loadable by 3.2.3 and earlier. However, extension modules compiled for 3.2.3 and earlier will be loadable by 3.2.4.
* Fix bug with argparse.Parser.parse_args(*args)Zbigniew Jędrzejewski-Szmek2012-09-021-0/+18
|
* Issue #15828: Don't try to close a file if imp.find_module() doesn'tBrett Cannon2012-08-311-1/+3
| | | | return one.
* Issue #15828: Restore support for C extension modules in imp.load_module()Nick Coghlan2012-08-312-19/+29
|
* Issue #15781: Fix two small race conditions in import's module locking.Antoine Pitrou2012-08-271-1/+11
|
* Issue #15784: Modify OSError.__str__() to better distinguish betweenRichard Oudkerk2012-08-281-2/+2
| | | | errno error numbers and Windows error numbers.
* Issue #15785: Modify window.get_wch() API of the curses module: return aVictor Stinner2012-08-281-7/+5
| | | | | | character for most keys, and an integer for special keys, instead of always returning an integer. So it is now possible to distinguish special keys like keypad keys.
* Close #15573: use value-based memoryview comparisons (patch by Stefan Krah)Nick Coghlan2012-08-251-68/+430
|
* Issue #15316: Let exceptions raised during imports triggered by theBrett Cannon2012-08-241-0/+38
| | | | | | | | | | | | | | | fromlist of __import__ propagate. The problem previously was that if something listed in fromlist didn't exist then that's okay. The fix for that was too broad in terms of catching ImportError. The trick with the solution to this issue is that the proper refactoring of import thanks to importlib doesn't allow for a way to distinguish (portably) between an ImportError because finders couldn't find a loader, or a loader raised the exception. In Python 3.4 the hope is to introduce a new exception (e.g. ModuleNotFound) to make it clean to differentiate why ImportError was raised.
* Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.Mark Dickinson2012-08-241-0/+16
|
* Issue #15778: Coerce ImportError.args to a string when it isn'tBrett Cannon2012-08-241-0/+5
| | | | | | already one. Patch by Dave Malcolm.
* Merge #15249: Mangle From lines correctly when body contains invalid bytes.R David Murray2012-08-241-1/+15
|\ | | | | | | 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-241-1/+24
| | | | | | | | 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
| |
* | Added test for a bug fixed in issue #665194.Alexander Belopolsky2012-08-231-0/+12
| |
* | #665194: Update email.utils.localtime to use astimezone, and fix bug.R David Murray2012-08-231-2/+8
| | | | | | | | | | | | | | 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.
* | Issue #12643: Respect sys.excepthook in code.InteractiveConsoleNick Coghlan2012-08-202-1/+72
| |
* | 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-201-3/+12
| |
* | Issue #14814: document the Interface APIs and fix various problems with the ↵Nick Coghlan2012-08-201-9/+7
| | | | | | | | string representations (initial patch by Eli Bendersky).
* | Merge #13579: teach string.Formatter about 'a'.R David Murray2012-08-191-0/+6
|\ \ | |/ | | | | Patch by Francisco Martín Brugué.
| * #13579: teach string.Formatter about 'a'.R David Murray2012-08-191-0/+12
| | | | | | | | Patch by Francisco Martín Brugué.
* | Issue #15595: Fix subprocess.Popen(universal_newlines=True)Andrew Svetlov2012-08-191-0/+32
|\ \ | |/ | | | | | | | | for certain locales (utf-16 and utf-32 family). Patch by Chris Jerdonek.
| * Issue #15595: Fix subprocess.Popen(universal_newlines=True)Andrew Svetlov2012-08-191-0/+33
| | | | | | | | | | | | for certain locales (utf-16 and utf-32 family). Patch by Chris Jerdonek.
* | 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 #15715: Ignore failed imports triggered by the use of fromlist.Brett Cannon2012-08-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | 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.