Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 ........ | ||||
* | Merged revisions 74167 via svnmerge from | Georg Brandl | 2009-07-22 | 1 | -0/+5 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74167 | georg.brandl | 2009-07-22 13:57:15 +0200 (Mi, 22 Jul 2009) | 1 line Issue #6540: Fixed crash for bytearray.translate() with invalid parameters. ........ | ||||
* | convert old fail* assertions to assert* | Benjamin Peterson | 2009-06-30 | 1 | -37/+37 |
| | |||||
* | Issue #6334: Fix buggy internal length calculation in builtin range function | Mark Dickinson | 2009-06-24 | 1 | -0/+18 |
| | |||||
* | fix len() when __len__() returns a non number type #5137 | Benjamin Peterson | 2009-02-08 | 1 | -0/+12 |
| | |||||
* | Issue #1717: remove the cmp builtin function, the C-API functions | Mark Dickinson | 2009-02-01 | 1 | -3/+1 |
| | | | | PyObject_Cmp, PyObject_Compare, and various support functions. | ||||
* | Issue #4707: round(x, n) now returns an integer when x is an integer. | Mark Dickinson | 2009-01-28 | 1 | -3/+3 |
| | | | | Previously it returned a float. | ||||
* | Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ from | Mark Dickinson | 2009-01-27 | 1 | -19/+4 |
| | | | | the standard library and tests. | ||||
* | #3946 fix PyObject_CheckBuffer on a memoryview object | Benjamin Peterson | 2008-09-26 | 1 | -0/+1 |
| | | | | reviewed by Antoine | ||||
* | Merged revisions 65339-65340,65342 via svnmerge from | Amaury Forgeot d'Arc | 2008-08-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65339 | amaury.forgeotdarc | 2008-07-31 23:28:03 +0200 (jeu., 31 juil. 2008) | 5 lines #3479: unichr(2**32) used to return u'\x00'. The argument was fetched in a long, but PyUnicode_FromOrdinal takes an int. (why doesn't gcc issue a truncation warning in this case?) ........ r65340 | amaury.forgeotdarc | 2008-07-31 23:35:03 +0200 (jeu., 31 juil. 2008) | 2 lines Remove a dummy test that was checked in by mistake ........ r65342 | amaury.forgeotdarc | 2008-08-01 01:39:05 +0200 (ven., 01 août 2008) | 8 lines Correct a crash when two successive unicode allocations fail with a MemoryError: the freelist contained half-initialized objects with freed pointers. The comment /* XXX UNREF/NEWREF interface should be more symmetrical */ was copied from tupleobject.c, and appears in some other places. I sign the petition. ........ | ||||
* | Revert 64451. | Raymond Hettinger | 2008-06-24 | 1 | -27/+0 |
| | |||||
* | Merge 64438: hex/oct/bin can show floats exactly. | Raymond Hettinger | 2008-06-22 | 1 | -0/+27 |
| |