6130 Commits

Author SHA1 Message Date
Benjamin Peterson
d244a8f7cb upgrade expt to 2.1.1 (closes #26556) 2016-06-11 13:28:56 -07:00
Martin Panter
c9813d83f7 Issue #20699: Document that “io” methods should accept memoryview
This matches the usage by BufferedReader, BufferedWriter, etc. Also document
and test that the write() methods should only access their argument before
they return.
2016-06-03 05:59:20 +00:00
Benjamin Peterson
b3e073cbb3 fix leak of keyfile_bytes 2016-06-08 23:18:51 -07:00
Benjamin Peterson
3b91de5a76 stop leaking certfile_bytes (closes #27267) 2016-06-08 23:16:36 -07:00
Benjamin Peterson
a48aa85da0 check the result of PyByteArray_Resize in readline() (closes #27211) 2016-06-03 22:20:44 -07:00
Benjamin Peterson
e725777eaf remove (hilarious) defaults for various constants getpath.c needs 2016-06-02 12:41:35 -07:00
Martin Panter
8d496add74 Issue #27171: Fix typos in documentation, code comments, and tests 2016-06-02 10:35:44 +00:00
Martin Panter
200a615774 Issue #27125: Remove duplicated words from documentation and comments 2016-05-30 04:04:50 +00:00
Martin Panter
9c946bbf20 Issue #5784: Expand documentation and tests for zlib wbits parameter
Based on documentation by AM Kuchling.
2016-05-27 07:32:11 +00:00
Martin Panter
b1d867f149 Issue #27076: Doc, comment and test function name spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:28:50 +00:00
Benjamin Peterson
59dd0e64ad fix indentation and add curlies (closes #27093) 2016-05-23 22:47:50 -07:00
Serhiy Storchaka
12cf60c7fa Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N"
format unit.
2016-05-20 22:31:24 +03:00
Serhiy Storchaka
d0dc72b497 Issue #26995: Added tests for "f", "d", "D", "S", "Y", and "U" format codes
in PyArg_ParseTuple().
2016-05-16 10:12:02 +03:00
Serhiy Storchaka
c6a7c96a8f Backported tests for issue #18531. 2016-05-16 09:55:32 +03:00
Martin Panter
f45c1755c3 Remove PEP 291 compatibility requirements for ctypes and modulefinder
https://mail.python.org/pipermail/python-dev/2016-May/144502.html
2016-05-14 07:25:37 +00:00
Serhiy Storchaka
22d8942b8d Issue #25745: Fixed leaking a userptr in curses panel destructor. 2016-05-09 00:11:59 +03:00
Martin Panter
4f23cabc16 Corrections for a/an in code comments and documentation 2016-05-08 13:45:55 +00:00
Serhiy Storchaka
4ef4edaa9f Issue #26822: Decreased an overhead of using _PyArg_NoKeywords() in calls of
itemgetter, attrgetter and methodcaller objects.
2016-04-29 09:12:38 +03:00
Serhiy Storchaka
0207e7699b Issue #26822: itemgetter, attrgetter and methodcaller objects no longer
silently ignore keyword arguments.
2016-04-23 10:53:28 +03:00
Martin Panter
5b48fa9fa4 Fix spelling (inital), grammar (may translates) in documentation, comments 2016-04-19 04:03:41 +00:00
Serhiy Storchaka
9a118f1dc3 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 09:37:36 +03:00
Martin Panter
bf02d18844 Fix typos in code comment and documentation 2016-04-16 09:28:57 +00:00
Martin Panter
6a8163a928 Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation and code comments.
2016-04-15 02:14:19 +00:00
Serhiy Storchaka
bb650631f2 Issue #26200: Restored more safe usages of Py_SETREF. 2016-04-11 09:53:37 +03:00
Serhiy Storchaka
763a61ca95 Issue #26200: Added Py_SETREF and replaced Py_XSETREF with Py_SETREF
in places where Py_DECREF was used.
2016-04-10 18:05:12 +03:00