summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* (Merge 3.3) Issue #19969: PyBytes_FromFormatV() now raises an OverflowError ifVictor Stinner2013-12-131-0/+6
|\ | | | | | | "%c" argument is not in range [0; 255].
| * Issue #19969: PyBytes_FromFormatV() now raises an OverflowError if "%c"Victor Stinner2013-12-131-0/+6
| | | | | | | | argument is not in range [0; 255].
* | Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.Serhiy Storchaka2013-12-131-4/+0
|\ \ | |/
| * Issue #17919: select.poll.poll() again works with poll.POLLNVAL on AIX.Serhiy Storchaka2013-12-131-4/+0
| |
| * Issue #14432: Generator now clears the borrowed reference to the thread stateVictor Stinner2013-12-131-0/+43
| | | | | | | | | | | | | | Fix a crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup.
* | #19957: Simplify encode_7or8bit now that _payload is always str.R David Murray2013-12-131-1/+8
| | | | | | | | Patch by Vajrasky Kok, test enhancement by me.
* | Issue #19952: test_asyncio: relax timings of Windows events, buildbots areVictor Stinner2013-12-131-2/+2
| | | | | | | | sometimes busy
* | Issue #14432: Remove the thread state field from the frame structure. Fix aVictor Stinner2013-12-132-1/+39
| | | | | | | | | | | | | | crash when a generator is created in a C thread that is destroyed while the generator is still used. The issue was that a generator contains a frame, and the frame kept a reference to the Python state of the destroyed C thread. The crash occurs when a trace function is setup.
* | Issue #19751: Fix hash_info test of test_sys on SPARC SolarisVictor Stinner2013-12-121-5/+1
| |
* | Issue #19751: Fix typo in configuration optionVictor Stinner2013-12-121-1/+1
| |
* | Merge fix from 3.3Zachary Ware2013-12-121-2/+2
|\ \ | |/
| * Avoid UnicodeEncodeError by only printing ASCII.Zachary Ware2013-12-121-2/+2
| | | | | | | | | | This fixes running test_decimal in verbose mode on Windows, which I broke in issue #19572.
* | Issue #19828: Merge with 3.3Zachary Ware2013-12-111-9/+8
|\ \ | |/
| * Issue #19828: Fixed test_site when the whole suite is run with -S.Zachary Ware2013-12-111-9/+8
| | | | | | | | Also, cleaned up an unused import.
| * #19063: partially fix set_payload handling of non-ASCII string input.R David Murray2013-12-111-0/+32
| | | | | | | | | | | | This is a backward compatible partial fix, the complete fix requires raising an error instead of accepting the invalid input, so the real fix is only suitable for 3.4.
* | #19063: fix set_payload handling of non-ASCII string input.R David Murray2013-12-112-15/+42
| | | | | | | | | | This version of the fix raises an error instead of accepting the invalid input (ie: if a non-ASCII string is used but no charset is specified).
* | Issue #17576: Deprecation warning emitted now when __int__() or __index__()Serhiy Storchaka2013-12-113-26/+156
|\ \ | |/ | | | | | | return not int instance. Introduced _PyLong_FromNbInt() and refactored PyLong_As*() functions.
| * Issue #17576: Deprecation warning emitted now when __int__() or __index__()Serhiy Storchaka2013-12-113-26/+156
| | | | | | | | | | return not int instance. Introduced _PyLong_FromNbInt() and refactored PyLong_As*() functions.
* | Issue #18864: Add a setter for ModuleSpec.has_location.Eric Snow2013-12-111-0/+7
| |
* | Issue #19928: Fix test on WindowsZachary Ware2013-12-101-2/+2
|\ \ | |/
| * Issue #19928: Fix test on WindowsZachary Ware2013-12-101-2/+2
| |
* | Issue #19928: Implemented a test for repr() of cell objects.Serhiy Storchaka2013-12-101-3/+9
|\ \ | |/
| * Issue #19928: Implemented a test for repr() of cell objects.Serhiy Storchaka2013-12-101-3/+9
| |
* | Remove commented-out module spec test code and an out-of-date note.Eric Snow2013-12-101-10/+0
| |
* | Issue 19851: Fix a regression in reloading submodules.Eric Snow2013-12-101-0/+68
| |
* | Issue #15475: Add __sizeof__ implementations for itertools objects.Serhiy Storchaka2013-12-091-1/+42
| |
* | Backed out changeset c4c1c4bc8086Victor Stinner2013-12-091-1/+1
| |
* | Issue #19876: Run also ↵Victor Stinner2013-12-091-1/+1
| | | | | | | | | | | | test_selectors.test_unregister_after_fd_close_and_reuse() on Windows os.dup2() is available on Windows.
* | Fix #19830: Fix a ResourceWarning in test_poplib.Victor Stinner2013-12-091-1/+1
| | | | | | | | Patch written by Vajrasky Kok.
* | (Merge 3.3) Issue #17429: Oops, remove unused importVictor Stinner2013-12-081-1/+0
|\ \ | |/
| * Issue #17429: Oops, remove unused importVictor Stinner2013-12-081-1/+0
| |
* | (Merge 3.3) Issue #17429: platform.linux_distribution() now decodes files fromVictor Stinner2013-12-081-0/+16
|\ \ | |/ | | | | | | | | | | the UTF-8 encoding with the surrogateescape error handler, instead of decoding from the locale encoding in strict mode. It fixes the function on Fedora 19 which is probably the first major distribution release with a non-ASCII name. Patch written by Toshio Kuratomi.
| * Issue #17429: platform.linux_distribution() now decodes files from the UTF-8Victor Stinner2013-12-081-0/+16
| | | | | | | | | | | | | | encoding with the surrogateescape error handler, instead of decoding from the locale encoding in strict mode. It fixes the function on Fedora 19 which is probably the first major distribution release with a non-ASCII name. Patch written by Toshio Kuratomi.
* | Issue #19535: Fixed test_docxmlrpc, test_functools, test_inspect, andSerhiy Storchaka2013-12-084-4/+11
|\ \ | |/ | | | | test_statistics when python is run with -OO.
| * Issue #19535: Fixed test_docxmlrpc when python is run with -OO.Serhiy Storchaka2013-12-081-2/+4
| |
* | Issue #19343: Expose FreeBSD-specific APIs in resource module. Original ↵Christian Heimes2013-12-081-0/+6
| | | | | | | | patch by Koobs.
* | Fix test_selectors failure introduced by 39e7995f9ad1.Charles-François Natali2013-12-081-0/+1
| |
* | Issue #19926: Removed unneeded test_main from test_abstract_numbers.Zachary Ware2013-12-081-4/+0
|\ \ | |/ | | | | Patch by Vajrasky Kok.
| * Issue #19926: Removed unneeded test_main from test_abstract_numbers.Zachary Ware2013-12-081-4/+0
| | | | | | | | Patch by Vajrasky Kok.
* | Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-0834-146/+137
|\ \ | |/
| * Normalize whitespaceZachary Ware2013-12-081-1/+1
| |
| * Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-0833-137/+125
| |
| * Issue #19857: Make sure that test_imaplib reaps server threads even in face ofCharles-François Natali2013-12-071-7/+6
| | | | | | | | error upon client disconnection.
* | Issue #19758: silence PendingDeprecationWarnings in test_importlib.Eric Snow2013-12-081-4/+8
| |
* | Silently ignore unregistering closed files. Fixes issue 19876. With docs and ↵Guido van Rossum2013-12-071-37/+59
| | | | | | | | slight test refactor.
* | Issue #19857: Make sure that test_imaplib reaps server threads even in face ofCharles-François Natali2013-12-071-7/+6
| | | | | | | | error upon client disconnection.
* | Solaris needs a readable file for shared lockChristian Heimes2013-12-071-1/+2
| |
* | Issue #6784: Strings from Python 2 can now be unpickled as bytes objects.Alexandre Vassalotti2013-12-072-1/+33
| | | | | | | | | | | | | | Initial patch by Merlijn van Deen. I've added a few unrelated docstring fixes in the patch while I was at it, which makes the documentation for pickle a bit more consistent.
* | copy 'n paste typo (thx Antoine)Christian Heimes2013-12-061-5/+5
| |
* | Skip new SSL tests with IocpEventLoopChristian Heimes2013-12-061-0/+9
| |