summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* fix memory leak in _get_crl_dp (closes #25569)Benjamin Peterson2015-11-121-28/+24
| | | | Patch started by Stéphane Wirtel.
* Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-022-2/+2
|
* Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-0213-26/+26
| | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* add a missing comma (closes #25371)Benjamin Peterson2015-10-111-2/+2
|
* Issue #22413: Document newline effect on StringIO initializer and getvalueMartin Panter2015-10-101-1/+6
| | | | Also add to comment in the C code.
* Various minor typos in documentation and commentsMartin Panter2015-10-071-1/+1
|
* Issue #25290: Fix typo in csv.reader() docstringBerker Peksag2015-10-021-1/+1
| | | | Patch by Johannes Niediek.
* Issue #25262. Added support for BINBYTES8 opcode in Python implementation ofSerhiy Storchaka2015-09-291-1/+11
| | | | | unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 opcodes no longer silently ignored on 32-bit platforms in C implementation.
* Closes issue #23600: Wrong results from tzinfo.fromutc().Alexander Belopolsky2015-09-281-1/+1
|
* Issue #25203: Failed readline.set_completer_delims() no longer left theSerhiy Storchaka2015-09-271-4/+5
| | | | module in inconsistent state.
* fix spacingBenjamin Peterson2015-09-271-2/+2
|
* initialize return value to NULL to avoid compiler compliants (closes #25245)Benjamin Peterson2015-09-271-0/+1
|
* prevent overflow in _Unpickler_ReadBenjamin Peterson2015-09-261-0/+6
|
* Issue #23517: Fix rounding in fromtimestamp() and utcfromtimestamp() methodsVictor Stinner2015-09-181-8/+63
| | | | | | | | | | | | | of datetime.datetime: microseconds are now rounded to nearest with ties going to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards zero (ROUND_DOWN). It's important that these methods use the same rounding mode than datetime.timedelta to keep the property: (datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t) It also the rounding mode used by round(float) for example. Add more unit tests on the rounding mode in test_datetime.
* Issue #25021: Merge from 3.3 to 3.4Kristján Valur Jónsson2015-09-121-2/+10
|\
| * Issue #25021: Correctly make sure that product.__setstate__ does not accessKristján Valur Jónsson2015-09-121-2/+10
| | | | | | | | invalid memory.
* | Issue #24684: socket.socket.getaddrinfo() now callsVictor Stinner2015-09-111-3/+1
| | | | | | | | | | | | | | PyUnicode_AsEncodedString() instead of calling the encode() method of the host, to handle correctly custom string with an encode() method which doesn't return a byte string. The encoder of the IDNA codec is now called directly instead of calling the encode() method of the string.
* | Issue #25030: Do not document seek() as if it accepts keyword argumentsMartin Panter2015-09-111-1/+1
| | | | | | | | Patch from Shiyao Ma.
* | os.sendfile(headers=None, trailers=None) arguments are not actually acceptedMartin Panter2015-09-091-3/+3
| | | | | | | | Needs to be tested on a BSD.
* | Issue #23738: Document and test actual keyword parameter namesMartin Panter2015-09-091-8/+9
| | | | | | | | Also fix signature because os.utime(..., ns=None) is not allowed.
* | Raise more correct exception on overflow in setting buffer_size attribute ofSerhiy Storchaka2015-09-071-6/+7
| | | | | | | | expat parser.
* | Issue #25019: Fixed a crash caused by setting non-string key of expat parser.Serhiy Storchaka2015-09-071-1/+6
| | | | | | | | | | Added additional tests for expat parser attributes. Based on patch by John Leitch.
* | Issue #24917: time_strftime() buffer over-read.Steve Dower2015-09-071-0/+2
| |
* | Backed out changeset: a29b49d57769Steve Dower2015-09-061-6/+0
| |
* | Issue #24917: time_strftime() Buffer Over-read. Patch by John Leitch.Steve Dower2015-09-061-0/+6
| |
* | Don't use defined() in C preprocessor macrosVictor Stinner2015-09-031-10/+6
| | | | | | | | | | | | | | The ICC compiler doesn't seem to support defined() in macro expansion. Example of warning: warning #3199: "defined" is always false in a macro expansion in Microsoft mode
* | include fcntl.h on all *nix platforms (closes #24217)Benjamin Peterson2015-08-021-2/+2
| | | | | | | | Patch by Jeffrey Armstrong.
* | Issue #23652: Make the select module compile against LSB headers.Zachary Ware2015-08-021-0/+11
| | | | | | | | Patch by Matt Frank.
* | Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. PatchVictor Stinner2015-07-291-0/+1
| | | | | | | | written by Matthieu Gautier.
* | Issue #24735: Fix invalid memory access in combinations_with_replacement()Raymond Hettinger2015-07-281-5/+7
| |
* | Issue #24683: Fixed crashes in _json functions called with arguments ofSerhiy Storchaka2015-07-261-2/+10
| | | | | | | | inappropriate type.
* | Issue #24620: Random.setstate() now validates the value of state last element.Serhiy Storchaka2015-07-241-0/+4
| |
* | Issue #19663: Improve error message for defaultdict.Raymond Hettinger2015-07-201-1/+1
| |
* | improve style of the convert macro (#24655)Benjamin Peterson2015-07-181-7/+7
| | | | | | | | Patch by Brian Cain.
* | Closes #23247: Fix a crash in the StreamWriter.reset() of CJK codecsVictor Stinner2015-07-161-0/+3
| |
* | Issue #18684: Fixed reading out of the buffer in the re module.Serhiy Storchaka2015-07-062-14/+41
| |
* | fix use after free (closes #24552)Benjamin Peterson2015-07-021-1/+1
| |
* | Issue #19176: Fixed doctype() related bugs in C implementation of ElementTree.Serhiy Storchaka2015-06-291-14/+21
| | | | | | | | | | | | | | A deprecation warning no longer issued by XMLParser subclass with default doctype() method. Direct call of doctype() now issues a warning. Parser's doctype() now is not called if target's doctype() is called. Based on patch by Martin Panter.
* | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm()Serhiy Storchaka2015-06-281-13/+26
| | | | | | | | functions of the audioop module.
* | merge 3.3Benjamin Peterson2015-06-271-16/+10
|\ \ | |/
| * use safe allocation and reallocation macrosBenjamin Peterson2015-06-271-16/+10
| |
* | Issue #24489: ensure a previously set C errno doesn't disturb cmath.polar().Antoine Pitrou2015-06-232-1/+15
| |
* | Fixed indentation of Python examples in C comments.Serhiy Storchaka2015-06-101-11/+11
| |
* | Issue #23659: Document **fmtparams in csv.register_dialect docstring.Berker Peksag2015-06-051-1/+1
| | | | | | | | Initial patch by Brandon Milam.
* | Issue #24115: Update uses of PyObject_IsTrue(), PyObject_Not(),Serhiy Storchaka2015-05-303-15/+31
| | | | | | | | | | PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to check for and handle errors correctly.
* | Issue #24326: Fixed audioop.ratecv() with non-default weightB argument.Serhiy Storchaka2015-05-291-1/+1
| | | | | | | | Original patch by David Moore.
* | Issue #24257: Fixed incorrect uses of PyObject_IsInstance().Serhiy Storchaka2015-05-221-1/+1
| | | | | | | | | | Fixed segmentation fault in sqlite3.Row constructor with faked cursor type. Fixed system error in the comparison of faked types.SimpleNamespace.
* | Issue #24091: Fixed various crashes in corner cases in C implementation ofSerhiy Storchaka2015-05-181-47/+97
| | | | | | | | ElementTree.
* | Issue #23796: peak and read1 methods of BufferedReader now raise ValueErrorBerker Peksag2015-05-121-0/+5
| | | | | | | | | | | | if they called on a closed object. Patch by John Hergenroeder.
* | Defend against a mutation during comparisonRaymond Hettinger2015-05-121-0/+5
| |