Commit Graph

6137 Commits

Author SHA1 Message Date
Martin Panter
b3eaaf0bfc Issue #22463: Cure unused function warnings on AIX 2016-06-22 02:46:33 +00:00
Martin Panter
2924124259 Issue #22463: Correct #endif placement; patch by Senthil Kumaran 2016-06-22 02:04:38 +00:00
Martin Panter
646b528467 Issue #22463: Backport compiler warning fixes and workarounds
* Set but unused variable in Parser/pgen.c in non-debug builds. Patch by
  Christian Heimes.
* Unused static function in Modules/readline.c. Patch by Georg Brandl.
* main_window unused in Modules/tkappinit.c. Patch by Gregory P. Smith.
* Dead assignment in Modules/_ctypes/cfield.c. Extracted from patch by Brett
  Cannon.
* Expression result unused in PyObject_INIT macro expansions. Based on
  patches by Christian Heimes.
* Load expat_config.h and therefore pyconfig.h before C stdlib headers are
  loaded. This silences pre-processor warnings including '_POSIX_C_SOURCE
  redefined'. Extracted from patch by Christian Heimes.
2016-06-21 23:58:05 +00:00
Martin Panter
4e6e565368 Fix English spelling and grammar errors 2016-06-20 07:52:50 +00:00
Serhiy Storchaka
f46d3afc51 ctypes: the type of b_size is Py_ssize_t. 2016-06-17 11:11:07 +03:00
Serhiy Storchaka
ef012cc7f7 Issue #27330: Fixed possible leaks in the ctypes module. 2016-06-16 22:08:11 +03:00
Serhiy Storchaka
1f7586eeb9 Issue #25455: Fixed a crash in repr of cElementTree.Element with recursive tag. 2016-06-12 10:06:32 +03:00
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