Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | #17255: merge with 3.2. | Ezio Melotti | 2013-02-21 | 1 | -0/+2 |
|\ | |||||
| * | #17255: test short-circuiting behavior of any()/all(). Patch by Wim Glenn. | Ezio Melotti | 2013-02-21 | 1 | -0/+2 |
| | | |||||
* | | Merge: #17142: fix apparent copy and paste error in test_all. | R David Murray | 2013-02-06 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #17142: fix apparent copy and paste error in test_all. | R David Murray | 2013-02-06 | 1 | -1/+1 |
| | | |||||
* | | Back out fix for issue #13886; it introduced a new bug in interactive ↵ | Nadeem Vawda | 2013-02-02 | 1 | -7/+0 |
|\ \ | |/ | | | | | readline use. | ||||
| * | Back out fix for issue #13886; it introduced a new bug in interactive ↵ | Nadeem Vawda | 2013-02-02 | 1 | -7/+0 |
| | | | | | | | | readline use. | ||||
* | | Issue #13886: Fix input() to not strip out supposedly-invalid input bytes. | Nadeem Vawda | 2013-01-27 | 1 | -0/+7 |
|\ \ | |/ | | | | | | | Also fix sporadic failures in test_builtin due to dependence on whether the readline module has previously been imported. | ||||
| * | Issue #13886: Fix input() to not strip out supposedly-invalid input bytes. | Nadeem Vawda | 2013-01-27 | 1 | -0/+7 |
| | | | | | | | | | | Also fix sporadic failures in test_builtin due to dependence on whether the readline module has previously been imported. | ||||
| * | Improve str() and object.__str__() documentation (issue #13538). | Chris Jerdonek | 2012-11-21 | 1 | -0/+1 |
| | | |||||
* | | Issue #16045: add more unit tests for built-in int() | Andrew Svetlov | 2012-12-23 | 1 | -0/+2 |
| | | | | | | | | Patch by Chris Jerdonek. | ||||
* | | Improve str() and object.__str__() documentation (issue #13538). | Chris Jerdonek | 2012-11-21 | 1 | -0/+1 |
| | | |||||
* | | Issue #11022 and #15287: correctly remove the TESTFN file in test_builtin. | Florent Xicluna | 2012-07-08 | 1 | -1/+2 |
| | | |||||
* | | Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore | Victor Stinner | 2012-06-05 | 1 | -9/+31 |
| | | | | | | | | | | | | | | | | | | | | open() and io.TextIOWrapper are now calling locale.getpreferredencoding(False) instead of locale.getpreferredencoding() in text mode if the encoding is not specified. Don't change temporary the locale encoding using locale.setlocale(), use the current locale encoding instead of the user preferred encoding. Explain also in open() documentation that locale.getpreferredencoding(False) is called if the encoding is not specified. | ||||
* | | Issue #14385: Support other types than dict for __builtins__ | Victor Stinner | 2012-04-18 | 1 | -0/+33 |
| | | | | | | | | | | | | It is now possible to use a custom type for the __builtins__ namespace, instead of a dict. It can be used for sandboxing for example. Raise also a NameError instead of ImportError if __build_class__ name if not found in __builtins__. | ||||
* | | Issue #14288: Serialization support for builtin iterators. | Kristján Valur Jónsson | 2012-04-03 | 1 | -0/+41 |
| | | |||||
* | | Skip early if stdin and stdout are not ttys | Antoine Pitrou | 2011-11-06 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | Skip early if stdin and stdout are not ttys | Antoine Pitrou | 2011-11-06 | 1 | -0/+2 |
| | | |||||
| * | Backport robustness fix for test_builtin | Antoine Pitrou | 2011-11-06 | 1 | -21/+31 |
| | | |||||
* | | Try to make the tty input() tests more robust | Antoine Pitrou | 2011-11-06 | 1 | -21/+31 |
| | | |||||
* | | Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode | Antoine Pitrou | 2011-11-05 | 1 | -0/+70 |
|\ \ | |/ | | | | | error handler in interactive mode (when calling into PyOS_Readline()). | ||||
| * | Issue #13342: input() used to ignore sys.stdin's and sys.stdout's unicode | Antoine Pitrou | 2011-11-05 | 1 | -0/+70 |
| | | | | | | | | error handler in interactive mode (when calling into PyOS_Readline()). | ||||
* | | #13054: fix usage of sys.maxunicode after PEP-393. | Ezio Melotti | 2011-10-04 | 1 | -2/+1 |
| | | |||||
* | | also make NotImplementedType callable | Benjamin Peterson | 2011-07-29 | 1 | -1/+1 |
| | | |||||
* | | make the types of None and Ellipsis callable | Benjamin Peterson | 2011-07-29 | 1 | -0/+7 |
| | | |||||
* | | bytes should be verboten in sum() (fixes #12654) | Benjamin Peterson | 2011-07-29 | 1 | -0/+3 |
| | | |||||
* | | allow __dir__ to return any sequence | Benjamin Peterson | 2011-06-11 | 1 | -1/+9 |
| | | |||||
* | | test that object has a __dir__() implementation | Benjamin Peterson | 2011-05-25 | 1 | -0/+2 |
| | | |||||
* | | Issue 9856: Change object.__format__ with a non-empty format string from a ↵ | Eric V. Smith | 2011-03-12 | 1 | -3/+3 |
| | | | | | | | | PendingDeprecationWarning to a DeprecationWarning. | ||||
* | | Removed fcmp and FUZZ from test.support, following the discussion on python-dev: | Eli Bendersky | 2011-02-25 | 1 | -5/+8 |
|/ | | | | http://mail.python.org/pipermail/python-dev/2011-January/107735.html | ||||
* | Add an "optimize" parameter to compile() to control the optimization level, ↵ | Georg Brandl | 2010-12-04 | 1 | -0/+29 |
| | | | | and provide an interface to it in py_compile, compileall and PyZipFile. | ||||
* | Issue #10518: Bring back the callable() builtin. | Antoine Pitrou | 2010-11-27 | 1 | -12/+29 |
| | | | | Approved by Guido (BDFL) and Georg (RM). | ||||
* | merge all range tests into test_range | Benjamin Peterson | 2010-11-20 | 1 | -178/+0 |
| | |||||
* | enable test that was commented out for whatever reason | Benjamin Peterson | 2010-11-20 | 1 | -1/+1 |
| | |||||
* | count() should return integers #10474 | Benjamin Peterson | 2010-11-20 | 1 | -0/+2 |
| | |||||
* | #9424: Replace deprecated assert* methods in the Python test suite. | Ezio Melotti | 2010-11-20 | 1 | -6/+6 |
| | |||||
* | Issue #9213: Add index and count methods to range objects, needed to | Daniel Stutzbach | 2010-09-13 | 1 | -0/+54 |
| | | | | meet the API of the collections.Sequence ABC. | ||||
* | Issue 7994: Make object.__format__() raise a PendingDeprecationWarning | Eric Smith | 2010-09-13 | 1 | -0/+110 |
| | | | | | | | | | if the format string is not empty. Manually merge r79596 and r84772 from 2.x. Also, apparently test_format() from test_builtin never made it into 3.x. I've added it as well. It tests the basic format() infrastructure. | ||||
* | Issue #9804: ascii() now always represents unicode surrogate pairs as | Antoine Pitrou | 2010-09-09 | 1 | -0/+22 |
| | | | | | | a single `\UXXXXXXXX`, regardless of whether the character is printable or not. Also, the "backslashreplace" error handler now joins surrogate pairs into a single character on UCS-2 builds. | ||||
* | only catch AttributeError in hasattr() #9666 | Benjamin Peterson | 2010-08-24 | 1 | -5/+6 |
| | |||||
* | cleanup imports | Benjamin Peterson | 2010-08-23 | 1 | -9/+7 |
| | |||||
* | Issue #665761: functools.reduce() will no longer mask exceptions other | Alexander Belopolsky | 2010-08-16 | 1 | -0/+1 |
| | | | | | than TypeError raised by the iterator argument. Also added a test to check that zip() already behaves similarly. | ||||
* | Merged revisions 81525 via svnmerge from | Mark Dickinson | 2010-05-25 | 1 | -0/+18 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81525 | mark.dickinson | 2010-05-25 20:01:08 +0100 (Tue, 25 May 2010) | 3 lines Issue #8816: Extra tests for some built-in functions. These tests are ports of IronPython tests. Thanks Gregory Nofi. ........ | ||||
* | Issue #1533: Merge added trunk range tests to py3k. (The fix itself | Mark Dickinson | 2010-05-05 | 1 | -2/+42 |
| | | | | doesn't need to be merged.) Patch by Alexander Belopolsky. | ||||
* | Clean up the manipulation of the warnings filter in test_builtin. | Brett Cannon | 2010-03-20 | 1 | -8/+5 |
| | |||||
* | Merged revisions 78093 via svnmerge from | Georg Brandl | 2010-03-14 | 1 | -4/+4 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line Remove unused imports in test modules. ........ | ||||
* | Issue #6697: catch _PyUnicode_AsString() errors in getattr() and setattr() | Victor Stinner | 2010-03-12 | 1 | -0/+2 |
| | | | | builtin functions. | ||||
* | use assert[Not]In where appropriate | Benjamin Peterson | 2010-01-19 | 1 | -14/+14 |
| | | | | A patch from Dave Malcolm. | ||||
* | Issue #7435: Remove duplicate int/long tests, and other | Mark Dickinson | 2009-12-05 | 1 | -51/+5 |
| | | | | references to long in py3k. Patch provided by flox. | ||||
* | Merged revisions 76176 via svnmerge from | Mark Dickinson | 2009-11-09 | 1 | -0/+22 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76176 | mark.dickinson | 2009-11-09 17:03:34 +0000 (Mon, 09 Nov 2009) | 7 lines Issue #7251: Break out round tests for large values into a separate test function, and skip that test on Linux/alpha systems with a broken system round function. This should turn the Debian/alpha buildbot green. ........ | ||||
* | Merged revisions 75470 via svnmerge from | Mark Dickinson | 2009-10-17 | 1 | -0/+4 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75470 | mark.dickinson | 2009-10-17 22:46:32 +0100 (Sat, 17 Oct 2009) | 1 line Protect against attempts to replace PyNumber_Add with PyNumber_InPlaceAdd in builtin sum ........ |