summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 81992 via svnmerge fromMark Dickinson2010-06-151-30/+33
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81992 | mark.dickinson | 2010-06-15 09:33:03 +0100 (Tue, 15 Jun 2010) | 3 lines Issue #8469: Further clarifications and improvements to struct module documentation. Thanks Mads Kiilerich. ........
* Switch the __import__ state check from using __builtins__ to builtins to beBrett Cannon2010-06-141-8/+3
| | | | | | nicer to other VMs. Thanks to Philip Jenvey for the pointer.
* Undo r81988 code change leaving added test.Alexander Belopolsky2010-06-141-3/+8
|
* Issue 6280: Tests and simpler implementation for calendar.timegmAlexander Belopolsky2010-06-142-10/+13
|
* Issue #5094: The ``datetime`` module now has a simple concrete classAlexander Belopolsky2010-06-145-26/+483
| | | | implementing ``datetime.tzinfo`` interface.
* getargs.c: remove last reference to "t#" formatVictor Stinner2010-06-131-1/+0
| | | | "t#" format was removed from convertitem() (convertsimple) but not skipitem().
* Issue #8592: PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z"Victor Stinner2010-06-135-5/+317
| | | | | formats if the string contains a null byte/character. Write unit tests for string formats.
* Merged revisions 81971 via svnmerge fromMark Dickinson2010-06-131-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81971 | mark.dickinson | 2010-06-13 13:01:34 +0100 (Sun, 13 Jun 2010) | 1 line Ezio Melotti was missing from Misc/ACKS. ........
* Merged revisions 81969 via svnmerge fromMark Dickinson2010-06-131-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81969 | mark.dickinson | 2010-06-13 12:07:00 +0100 (Sun, 13 Jun 2010) | 1 line Add Éric Araujo to Misc/ACKS for doc work and many patch and commit reviews. ........
* Merged revisions 81967 via svnmerge fromMark Dickinson2010-06-135-6/+67
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81967 | mark.dickinson | 2010-06-13 11:50:29 +0100 (Sun, 13 Jun 2010) | 4 lines Issue #8986: erfc was raising OverflowError on Linux for arguments in the (approximate) range (-27.3, 30.0), as a result of an escaped errno value. ........
* Remove unnecessary brackets from docstring optional arguments.Mark Dickinson2010-06-131-2/+2
|
* Issue #8973: Expanded Struct.__doc__.Alexander Belopolsky2010-06-121-1/+5
|
* Blocked revisions 81957 via svnmergeMark Dickinson2010-06-120-0/+0
| | | | | | | | | | | ........ r81957 | mark.dickinson | 2010-06-12 19:50:34 +0100 (Sat, 12 Jun 2010) | 5 lines Issue #8469: Add standard sizes to table in struct documentation; additional clarifications and documentation tweaks. Backport of revisions 81955-81956 from py3k. ........
* Issue #8469: Reorder struct module sections for clarity; other minor tweaks.Mark Dickinson2010-06-121-75/+79
|
* Issue #8469: add standard sizes to struct docs table.Mark Dickinson2010-06-121-40/+40
|
* Merged revisions 81953 via svnmerge fromBenjamin Peterson2010-06-120-0/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81953 | benjamin.peterson | 2010-06-12 12:47:06 -0500 (Sat, 12 Jun 2010) | 1 line fix warning with ucs4 ........
* Added acknowlegement for Issue #3129Alexander Belopolsky2010-06-122-2/+3
|
* Fix mild type confusion in decimal module docstring.Mark Dickinson2010-06-121-1/+2
|
* More struct module docs and docstring tweaks.Mark Dickinson2010-06-122-25/+25
|
* Issue #8973: Improve struct module docstrings.Mark Dickinson2010-06-121-22/+37
|
* Remove accidental (yet-to-be-reviewed) docstring changes included in r81947.Mark Dickinson2010-06-121-28/+21
|
* Issue #8973: Add __all__ to struct module, so that help(struct) correctlyMark Dickinson2010-06-123-21/+42
| | | | displays information for the struct.Struct class.
* Blocked revisions 81945 via svnmergeNick Coghlan2010-06-120-0/+0
| | | | | | | | ........ r81945 | nick.coghlan | 2010-06-12 23:45:37 +1000 (Sat, 12 Jun 2010) | 1 line Backport a fix from Py3k for a potentially misleading example ........
* Merged revisions 80578 via svnmerge fromNick Coghlan2010-06-125-14/+108
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80578 | nick.coghlan | 2010-04-29 00:29:06 +1000 (Thu, 29 Apr 2010) | 1 line Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing the exception under test (original patch by Lennart Regebro) ........
* Remove unused variable.Mark Dickinson2010-06-121-1/+1
|
* Issue #8981: Remove _struct.__version__.Mark Dickinson2010-06-121-6/+0
|
* Silence 'unused variable' gcc warning. Patch by Éric Araujo.Mark Dickinson2010-06-121-1/+2
|
* Calling __import__ as a method technically works, but really should be wrappedBrett Cannon2010-06-121-1/+1
| | | | | in a staticmethod. This is important for when __import__ is set to a function defined in Python instead of C.
* 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
|