summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Issue #8850: Remove "w" and "w#" formats from PyArg_Parse*() functions, useVictor Stinner2010-06-251-0/+23
| | | | "w*" format instead. Add tests for "w*" format.
* Issue #8682: The ssl module now temporary increments the reference count ofAntoine Pitrou2010-06-241-19/+42
| | | | | a socket object got through `PyWeakref_GetObject`, so as to avoid possible deallocation while the object is still being used.
* Issue #9051: Instances of timezone class can now be pickled.Alexander Belopolsky2010-06-231-0/+11
|
* Merged revisions 82126-82127 via svnmerge fromThomas Heller2010-06-2113-297/+1898
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82126 | thomas.heller | 2010-06-21 16:00:24 +0200 (Mo, 21 Jun 2010) | 1 line Fix #8959 by reverting revision 80761. ........ r82127 | thomas.heller | 2010-06-21 17:01:18 +0200 (Mo, 21 Jun 2010) | 2 lines Add tests for problems reported in issue 8959. ........
* Issue #9005: Prevent utctimetuple() from producing year 0 or year 10,000.Alexander Belopolsky2010-06-211-9/+3
|
* Revert r82089. Commit was intended for a branch.Jean-Paul Calderone2010-06-191-180/+0
|
* merge forward from the python 2.x branchJean-Paul Calderone2010-06-191-0/+180
|
* Issue #6641: Original commit for this issue, r82053, introduced aAlexander Belopolsky2010-06-181-2/+2
| | | | | regression making datetime subclass' strptime return datetime rather than subclass instances. Fixed this bug and a few typos.
* Fixed a typo in a comment.Alexander Belopolsky2010-06-181-1/+1
|
* Issue #6641: The datetime.strptime method now supports the %z directive.Alexander Belopolsky2010-06-171-66/+7
|
* Merged revisions 82047 via svnmerge fromSenthil Kumaran2010-06-171-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82047 | senthil.kumaran | 2010-06-17 22:08:34 +0530 (Thu, 17 Jun 2010) | 3 lines Fix Issue4452 - Incorrect docstring of os.setpgrp ........
* Issue #9012: "Separate compilation of time and datetime modules."Alexander Belopolsky2010-06-163-26/+31
| | | | | | | Segregated code shared between time and datetime modules into Modules/_time.c. Added a new header file, Modules/_time.h, which will be used instead of Include/timefuncs.h for declarations shared between time and datetime modules.
* Issue 5094: minor documentation fixesAlexander Belopolsky2010-06-151-3/+3
|
* Issue #5094: The ``datetime`` module now has a simple concrete classAlexander Belopolsky2010-06-141-1/+284
| | | | implementing ``datetime.tzinfo`` interface.
* Issue #8592: PyArg_Parse*() functions raise a TypeError for "y", "u" and "Z"Victor Stinner2010-06-131-1/+165
| | | | | formats if the string contains a null byte/character. Write unit tests for string formats.
* Merged revisions 81967 via svnmerge fromMark Dickinson2010-06-131-6/+16
| | | | | | | | | | | | 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
|
* More struct module docs and docstring tweaks.Mark Dickinson2010-06-121-4/+4
|
* 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-121-21/+28
| | | | displays information for the struct.Struct class.
* Remove unused variable.Mark Dickinson2010-06-121-1/+1
|
* Issue #8981: Remove _struct.__version__.Mark Dickinson2010-06-121-6/+0
|
* readline: use PyUnicode_FSConverter() to parse filenamesVictor Stinner2010-06-111-10/+32
|
* locale.bindtextdomain(): use PyUnicode_FSConverter() to parse the filenameVictor Stinner2010-06-111-5/+17
|
* Issue #8966: If a ctypes structure field is an array of c_char, convert itsVictor Stinner2010-06-111-1/+1
| | | | value to bytes instead of str (as done for c_char and c_char_p).
* Fix more undefined-behaviour inducing overflow checks in struct module.Mark Dickinson2010-06-111-19/+23
|
* Fix an incorrect return type.Mark Dickinson2010-06-111-1/+1
|
* Avoid possible undefined behaviour from signed overflow.Mark Dickinson2010-06-111-3/+6
|
* Issue #3129: Trailing digits in format string are no longer ignored.Alexander Belopolsky2010-06-111-2/+5
|
* 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. ........
* Merged revisions 81860 via svnmerge fromAntoine Pitrou2010-06-091-98/+98
| | | | | | | | | | 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 #8838, #8339: Remove codecs.charbuffer_encode() and "t#" parsing formatVictor Stinner2010-06-081-16/+0
| | | | | Remove last references to the "char buffer" of the buffer protocol from Python3.
* Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s#Victor Stinner2010-06-071-1/+1
|
* Fix naming inconsistency.Mark Dickinson2010-06-071-1/+1
|
* Merged revisions 81756 via svnmerge fromAlexander Belopolsky2010-06-051-10/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81756 | alexander.belopolsky | 2010-06-05 10:54:26 -0400 (Sat, 05 Jun 2010) | 1 line Issue #8899: time.struct_time now has class and atribute docstrings. ........
* Merged revisions 81692 via svnmerge fromMartin v. Löwis2010-06-041-0/+6
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81692 | martin.v.loewis | 2010-06-04 19:18:42 +0200 (Fr, 04 Jun 2010) | 3 lines Issue #8864: Define _XOPEN_SOURCE on Solaris for the multiprocessing module. ........
* Issue8810: Clearing up docstring for tzinfo.utcoffset.Sean Reifscheider2010-06-041-2/+2
|
* #8845: expose sqlite3 inTransaction as RO in_transaction Connection attribute.R. David Murray2010-06-011-0/+2
| | | | Patch by R. David Murray, unit tests by Shashwat Anand.
* Issue #1289118: datetime.timedelta objects can now be multiplied by floatAlexander Belopolsky2010-05-311-1/+112
| | | | and divided by float and int objects.
* Merged revisions 81602 via svnmerge fromMark Dickinson2010-05-291-16/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81602 | mark.dickinson | 2010-05-29 22:00:52 +0100 (Sat, 29 May 2010) | 1 line Untabify Modules/config.c.in. ........
* Merged revisions 81566 via svnmerge fromAlexander Belopolsky2010-05-271-13/+16
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81566 | alexander.belopolsky | 2010-05-27 16:55:27 -0400 (Thu, 27 May 2010) | 3 lines Issue #7150: Raise OverflowError if the result of adding or subtracting timedelta from date or datetime falls outside of the MINYEAR:MAXYEAR range. ........
* Issue #4870: Add an `options` attribute to SSL contexts, as well asAntoine Pitrou2010-05-211-0/+44
| | | | | several ``OP_*`` constants to the `ssl` module. This allows to selectively disable protocol versions, when used in combination with `PROTOCOL_SSLv23`.
* Issue #8589: Decode PYTHONWARNINGS environment variable with the file systemVictor Stinner2010-05-191-4/+5
| | | | | encoding and surrogateespace error handler instead of the locale encoding to be consistent with os.environ. Add PySys_AddWarnOptionUnicode() function.
* Issue #6697: Check that _PyUnicode_AsString() result is not NULL in _sqliteVictor Stinner2010-05-194-6/+13
| | | | Strip also some trailing spaces
* Issue #6697: Check that _PyUnicode_AsString() result is not NULL in textio.cVictor Stinner2010-05-191-2/+7
| | | | | The bug may occurs if locale.getpreferredencoding() returns an encoding with a surrogate (very unlikely!).
* Fix test_capi in !pydebug mode, where my original attempt segfaulted withoutJeffrey Yasskin2010-05-171-1/+5
| | | | | producing the expected error message. The test only tests what it's supposed to test in pydebug mode though. Fixes issue 8726.
* Issue #6697: Fix a crash if code of "python -c code" contains surrogatesVictor Stinner2010-05-171-4/+8
|
* Merged revisions 81241 via svnmerge fromAntoine Pitrou2010-05-161-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81241 | antoine.pitrou | 2010-05-17 01:11:46 +0200 (lun., 17 mai 2010) | 4 lines Clear the OpenSSL error queue each time an error is signalled. When the error queue is not emptied, strange things can happen on the next SSL call, depending on the OpenSSL version. ........