aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_builtin.py
Commit message (Collapse)AuthorAge
...
* bpo-31160: test_builtin: don't check waitpid() status (#3050)Victor Stinner2017-08-09
|
* bpo-31160: Fix test_builtin for zombie process (#3043)Victor Stinner2017-08-09
| | | | | PtyTests.run_child() now calls os.waitpid() to read the exit status of the child process to avoid creating zombie process and leaking processes in the background.
* [security] bpo-13617: Reject embedded null characters in wchar* strings. (#2302)Serhiy Storchaka2017-06-28
| | | | | | | Based on patch by Victor Stinner. Add private C API function _PyUnicode_AsUnicode() which is similar to PyUnicode_AsUnicode(), but checks for null characters.
* bpo-29839: Raise ValueError rather than OverflowError in len() for negative ↵Serhiy Storchaka2017-04-16
| | | | values. (#701)
* bpo-29919: Remove unused imports found by pyflakes (#137)Victor Stinner2017-03-27
| | | Make also minor PEP8 coding style fixes on modified imports.
* Issue #29327: Fixed a crash when pass the iterable keyword argument to sorted().Serhiy Storchaka2017-01-20
|
* Issue #28385: An error message when non-empty format spec is passed toSerhiy Storchaka2016-10-30
|\ | | | | | | object.__format__ now contains the name of actual type.
| * Issue #28385: An error message when non-empty format spec is passed toSerhiy Storchaka2016-10-30
| | | | | | | | object.__format__ now contains the name of actual type.
* | Issue #24254: Drop cls.__definition_order__.Eric Snow2016-09-08
| |
* | #27364: fix "incorrect" uses of escape character in the stdlib.R David Murray2016-09-08
| | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.
* | Issue #24254: Preserve class attribute definition order.Eric Snow2016-09-05
| |
* | MergeRaymond Hettinger2016-09-03
|\|
| * Issue 27936: Fix inconsistent round() behavior between float and intRaymond Hettinger2016-09-03
| |
* | Issue #27366: Implement PEP 487Nick Coghlan2016-07-30
|/ | | | | | - __init_subclass__ called when new subclasses defined - __set_name__ called when descriptors are part of a class definition
* Issue #25983: Added tests for multi-argument type().Serhiy Storchaka2016-02-08
|
* Issue #24402: Merge potential test fix from 3.4 into 3.5Martin Panter2015-10-10
|\
| * Issue #24402: Factor out PtyTests.run_child() in input() testsMartin Panter2015-10-10
| | | | | | | | | | | | This reuses existing code to hopefully make the new test_input_no_stdout_ fileno() test work. It is hanging Free BSD 9 and OS X Tiger buildbots, and I don't know why.
* | Issue #24402: Merge input() fix from 3.4 into 3.5Martin Panter2015-10-10
|\|
| * Issue #24402: Fix input() when stdout.fileno() fails; diagnosed by EryksunMartin Panter2015-10-10
| | | | | | | | Also factored out some test cases into a new PtyTests class.
* | Issue #9517: Move script_helper to the support package.Berker Peksag2015-05-06
| | | | | | | | Patch by Christie Wilson.
* | Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-15
|\|
| * Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-15
| |
| * Issue #20599: Don't clear environment in test_cleanup() of test_builtinVictor Stinner2014-02-13
| |
| * Issue #20599: Force ASCII encoding for stdout in test_cleanup() of test_builtinVictor Stinner2014-02-12
| | | | | | | | | | | | On Windows, the codec of sys.stdout is implemented in Python. At exit, the codec may be unloaded before the destructor tries to write something to sys.stdout.
| * Try to fix test_cleanup (issue #20599).Serhiy Storchaka2014-02-12
| |
| * Issue #19255: The builtins module is restored to initial value beforeSerhiy Storchaka2014-02-10
| | | | | | | | cleaning other modules. The sys and builtins modules are cleaned last.
* | Issue #22215: Now ValueError is raised instead of TypeError when str or bytesSerhiy Storchaka2014-09-06
| | | | | | | | argument contains not permitted null character or byte.
* | test the change of #21193 correctlyBenjamin Peterson2014-04-11
| |
* | Issue #21193: Make (e.g.,) pow(2, -3, 5) raise ValueError rather than ↵Mark Dickinson2014-04-11
| | | | | | | | TypeError. Patch by Josh Rosenberg.
* | Issue #20599: Don't clear environment in test_cleanup() of test_builtinVictor Stinner2014-02-13
| |
* | Issue #20599: Force ASCII encoding for stdout in test_cleanup() of test_builtinVictor Stinner2014-02-12
| | | | | | | | | | | | On Windows, the codec of sys.stdout is implemented in Python. At exit, the codec may be unloaded before the destructor tries to write something to sys.stdout.
* | Try to fix test_cleanup (issue #20599).Serhiy Storchaka2014-02-12
| |
* | Issue #19255: The builtins module is restored to initial value beforeSerhiy Storchaka2014-02-10
|/ | | | cleaning other modules. The sys and builtins modules are cleaned last.
* Issue #3158: doctest can now find doctests in functions and methodsZachary Ware2013-11-24
| | | | | | | | written in C. As a part of this, a few doctests have been added to the builtins module (on hex(), oct(), and bin()), a doctest has been fixed (hopefully on all platforms) on float, and test_builtins now runs doctests in builtins.
* Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-28
| | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* Cleanup test_builtinVictor Stinner2013-08-22
|
* Issue 18111: Add a default argument to min() and max()Raymond Hettinger2013-06-24
|
* Make test_builtin work when executed directlyBrett Cannon2013-06-15
|
* Revert a premature patch for issue #14010 (changeset 846bd418aee5).Serhiy Storchaka2013-04-06
|\
| * Revert a premature patch for issue #14010 (changeset aaaf36026511).Serhiy Storchaka2013-04-06
| |
* | Issue #14010: Fix a crash when iterating or deleting deeply nested filtersSerhiy Storchaka2013-04-06
|\| | | | | | | (builting and in itertools module, i.e. map(), itertools.chain(), etc).
| * Issue #14010: Fix a crash when iterating or deleting deeply nested filtersSerhiy Storchaka2013-04-06
| | | | | | | | (builting and in itertools module, i.e. map(), itertools.chain(), etc).
* | #17255: merge with 3.3.Ezio Melotti2013-02-21
|\|
| * #17255: merge with 3.2.Ezio Melotti2013-02-21
| |\
| | * #17255: test short-circuiting behavior of any()/all(). Patch by Wim Glenn.Ezio Melotti2013-02-21
| | |
* | | Merge: #17142: fix apparent copy and paste error in test_all.R David Murray2013-02-06
|\| |
| * | Merge: #17142: fix apparent copy and paste error in test_all.R David Murray2013-02-06
| |\|
| | * #17142: fix apparent copy and paste error in test_all.R David Murray2013-02-06
| | |
* | | Back out fix for issue #13886; it introduced a new bug in interactive ↵Nadeem Vawda2013-02-02
|\| | | | | | | | | | | readline use.
| * | Back out fix for issue #13886; it introduced a new bug in interactive ↵Nadeem Vawda2013-02-02
| |\| | | | | | | | | | readline use.