summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* When dealing with __import__ for detecting a global state change made by aBrett Cannon2010-06-121-2/+8
| | | | | | test, make sure to check if __builtins__ is a dict or not. Discovered when running importlib.test.regrtest.
* Issue #8969: On Windows, use mbcs codec in strict mode to encode and decodeVictor Stinner2010-06-115-22/+33
| | | | filenames and enable os.fsencode().
* Issue #8784: Set tarfile default encoding to 'utf-8' on Windows.Victor Stinner2010-06-113-5/+8
| | | | Note: file system encoding cannot be None anymore (since r81190, issue #8610).
* Fix some bugs in c-api/arg.rst documentationVictor Stinner2010-06-111-16/+15
| | | | | | | | | | | | | | | | * replace "the default encoding" by "'utf-8' encoding" * fix "w" / "w*" / "w#" doc: similar to "y" / "y*" / "y#" and not "s" / "s*" / "s#" * "u#": remove "Non-Unicode objects are handled by interpreting their read-buffer pointer ...", it's no more true * "es", "es#": remove "... and objects convertible to Unicode into a character buffer", it's no more true * Py_BuildValue(), "K" and "L" formats: specify the name of the C type on Windows (_int64 / unsigned _int64) as done for PyArg_Parse*() long long types --CETTE ligne, et les suivantes ci-dessous, seront ignorées-- M Doc/c-api/arg.rst
* Issue #8965: Write more tests for sys.getfilesystemencoding()Victor Stinner2010-06-111-11/+24
|
* readline: use PyUnicode_FSConverter() to parse filenamesVictor Stinner2010-06-111-10/+32
|
* Issue #8965: Add a regression test to test_sys with LANG=CVictor Stinner2010-06-111-2/+13
|
* locale.bindtextdomain(): use PyUnicode_FSConverter() to parse the filenameVictor Stinner2010-06-111-5/+17
|
* Merged revisions 81906 via svnmerge fromBenjamin Peterson2010-06-111-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81906 | benjamin.peterson | 2010-06-11 16:40:37 -0500 (Fri, 11 Jun 2010) | 1 line different spellings are just unacceptable ........
* Issue #8966: If a ctypes structure field is an array of c_char, convert itsVictor Stinner2010-06-114-9/+12
| | | | value to bytes instead of str (as done for c_char and c_char_p).
* Merged revisions 81907 via svnmerge fromAntoine Pitrou2010-06-113-19/+50
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81907 | antoine.pitrou | 2010-06-11 23:42:26 +0200 (ven., 11 juin 2010) | 5 lines Issue #8941: decoding big endian UTF-32 data in UCS-2 builds could crash the interpreter with characters outside the Basic Multilingual Plane (higher than 0x10000). ........
* Blocked revisions 81904 via svnmergeMark Dickinson2010-06-110-0/+0
| | | | | | | | | | ........ r81904 | mark.dickinson | 2010-06-11 21:27:05 +0100 (Fri, 11 Jun 2010) | 4 lines Fix possible undefined behaviour from signed overflow in struct module. Backport of revisions 81897, 81898 and 81902 from py3k. ........
* Fix more undefined-behaviour inducing overflow checks in struct module.Mark Dickinson2010-06-112-19/+25
|
* Blocked revisions 81899 via svnmergeVictor Stinner2010-06-110-0/+0
| | | | | | | | ........ r81899 | victor.stinner | 2010-06-11 21:22:28 +0200 (ven., 11 juin 2010) | 2 lines Issue #8362: Add Misc/maintainers.rst: list of module maintainers ........
* Fix an incorrect return type.Mark Dickinson2010-06-111-1/+1
|
* Avoid possible undefined behaviour from signed overflow.Mark Dickinson2010-06-112-3/+11
|
* Fix typo in docstring.Mark Dickinson2010-06-111-1/+1
|
* Issue #3129: Trailing digits in format string are no longer ignored.Alexander Belopolsky2010-06-113-3/+36
|
* Fix issue number typo.Mark Dickinson2010-06-111-2/+2
|
* Issue #8188: Comparisons between Decimal objects and other numericMark Dickinson2010-06-115-25/+112
| | | | objects (Fraction, float, complex, int) now all function as expected.
* Merged revisions 81889 via svnmerge fromEzio Melotti2010-06-111-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81889 | ezio.melotti | 2010-06-11 05:21:25 +0300 (Fri, 11 Jun 2010) | 1 line Remove extra ] from itertools.count docstring. ........
* test_sys: add a test on the file system encoding for darwinVictor Stinner2010-06-111-0/+5
|
* Issue #8965: initfsencoding() doesn't change the encoding on Mac OS XVictor Stinner2010-06-111-17/+19
| | | | | File system encoding have to be hardcoded to "utf-8" on Mac OS X. r81190 introduced a regression: the encoding was changed depending on the locale.
* Merged revisions 81878 via svnmerge fromMichael Foord2010-06-102-2/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81878 | michael.foord | 2010-06-10 21:40:21 +0100 (Thu, 10 Jun 2010) | 2 lines Fix issue with nested test suites debug method and module setups. (unittest) ........
* Blocked revisions 81876 via svnmergeMichael Foord2010-06-100-0/+0
| | | | | | | | ........ r81876 | michael.foord | 2010-06-10 17:32:00 +0100 (Thu, 10 Jun 2010) | 1 line NEWS update for issue 8948. ........
* Merged revisions 81859 via svnmerge fromMichael Foord2010-06-101-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81859 | michael.foord | 2010-06-09 13:29:56 +0100 (Wed, 09 Jun 2010) | 1 line Typo correction. ........
* Merged revisions 81853 via svnmerge fromMichael Foord2010-06-104-2/+116
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81853 | michael.foord | 2010-06-08 23:44:52 +0100 (Tue, 08 Jun 2010) | 1 line Issue 8948. cleanup functions are not run by unittest.TestCase.debug(), plus class and module teardowns are not run by unittest.TestSuite.debug(). ........
* Issue #8950: Make PyArg_Parse* with 'L' code raise for float inputs,Mark Dickinson2010-06-103-33/+9
| | | | | instead of warning. This makes it consistent with the other integer codes.
* Fix r81869: ISO-8859-15 was seen as an alias to ISO-8859-1Victor Stinner2010-06-101-39/+45
| | | | Don't use normalize_encoding() result if it is truncated.
* Issue #8922: Normalize the encoding name in PyUnicode_AsEncodedString() toVictor Stinner2010-06-102-18/+35
| | | | | enable shortcuts for upper case encoding name. Add also a shortcut for "iso-8859-1" in PyUnicode_AsEncodedString() and PyUnicode_Decode().
* Merged revisions 81864 via svnmerge fromAlexander Belopolsky2010-06-091-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81864 | alexander.belopolsky | 2010-06-09 13:08:11 -0400 (Wed, 09 Jun 2010) | 1 line Fixed markup of tm_isdst attribute. ........
* Merged revisions 81860 via svnmerge fromAntoine Pitrou2010-06-093-149/+149
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81860 | antoine.pitrou | 2010-06-09 18:24:00 +0200 (mer., 09 juin 2010) | 3 lines Issue #8930: fix some C code indentation ........
* Issue #8932: Skip required when compiled --without-threads.Stefan Krah2010-06-091-0/+1
|
* http://bugs.python.org/issue8832Kristján Valur Jónsson2010-06-093-0/+22
| | | | Issue minidom.unlink with a context manager
* Issue #8838, #8339: Remove codecs.charbuffer_encode() and "t#" parsing formatVictor Stinner2010-06-086-77/+11
| | | | | Remove last references to the "char buffer" of the buffer protocol from Python3.
* Fix #8946. Extra PyObject* parameter documented which doesn't exist.Brian Curtin2010-06-081-3/+3
|
* PyArg_Parse*("Z#") raises an error for unknown typeVictor Stinner2010-06-081-3/+4
| | | | | | | instead of ignoring the error and leave the pointer to the string and the size unchanged (not initialized). Fix also the type in the error message of "Z", "Z#" and "Y" formats.
* Py_FatalError(): don't sys sys.last_xxx variablesVictor Stinner2010-06-081-1/+1
| | | | | | Call PyErr_PrintEx(0) instead of PyErr_Print() to avoid a crash if Py_FatalError() is called in an early stage of Python initialization (if PySys is not yet initialized).
* Fix a compile warning missed during porting (wchar_t/char) and move aBrian Curtin2010-06-081-4/+4
| | | | variable declaration outside of a loop. #2810 was when this first went in.
* sys_pyfile_write() does nothing if file is NULLVictor Stinner2010-06-081-0/+3
| | | | | | mywrite() falls back to the C file object if sys_pyfile_write() returns an error. This patch fixes a segfault is Py_FatalError() is called in an early stage of Python initialization.
* Merged revisions 81489 via svnmerge fromAlexander Belopolsky2010-06-081-7/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81489 | georg.brandl | 2010-05-23 17:29:29 -0400 (Sun, 23 May 2010) | 1 line #1436346: make it more obvious that timetuple[7] is yday. ........
* Added myself as a maintainer of time and datetime modules.Alexander Belopolsky2010-06-081-2/+2
|
* Merged revisions 81834 via svnmerge fromBenjamin Peterson2010-06-081-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81834 | benjamin.peterson | 2010-06-08 09:53:29 -0500 (Tue, 08 Jun 2010) | 1 line kill extra word ........
* Now that sunau has some tests, remove it from test_sundry.R. David Murray2010-06-081-1/+0
|
* Add note for r81830.Stefan Krah2010-06-081-0/+4
|
* Issue #7384: If the system readline library is linked against ncurses,Stefan Krah2010-06-082-24/+44
| | | | | | | | the curses module must be linked against ncurses as well. Otherwise it is not safe to load both the readline and curses modules in an application. Thanks Thomas Dickey for answering questions about ncurses/ncursesw and readline!
* Blocked revisions 81669,81672,81683 via svnmergeStefan Krah2010-06-080-0/+0
| | | | | | | | | | | | | | | | | | | | | ........ r81669 | stefan.krah | 2010-06-03 14:39:50 +0200 (Thu, 03 Jun 2010) | 9 lines Issue #7384: If the system readline library is linked against ncurses, the curses module must be linked against ncurses as well. Otherwise it is not safe to load both the readline and curses modules in an application. Thanks Thomas Dickey for answering questions about ncurses/ncursesw and readline! ........ r81672 | stefan.krah | 2010-06-03 16:25:16 +0200 (Thu, 03 Jun 2010) | 3 lines Use compiler rather than compiler_obj. Thanks Michael Foord for noticing. ........ r81683 | stefan.krah | 2010-06-04 11:49:20 +0200 (Fri, 04 Jun 2010) | 1 line Detect missing ldd on all systems. ........
* Blocked revisions 81825 via svnmergeBenjamin Peterson2010-06-070-0/+0
| | | | | | | | ........ r81825 | benjamin.peterson | 2010-06-07 17:33:09 -0500 (Mon, 07 Jun 2010) | 1 line use unicode literals ........
* Merged revisions 81824 via svnmerge fromBenjamin Peterson2010-06-071-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81824 | benjamin.peterson | 2010-06-07 17:32:44 -0500 (Mon, 07 Jun 2010) | 1 line remove extra byte and fix comment ........
* Merged revisions 81820 via svnmerge fromBenjamin Peterson2010-06-073-0/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81820 | benjamin.peterson | 2010-06-07 17:23:23 -0500 (Mon, 07 Jun 2010) | 1 line correctly overflow when indexes are too large ........