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
Serhiy Storchaka
bc62af1bbe
Issue #22570 : Renamed Py_SETREF to Py_XSETREF.
2016-04-06 09:51:18 +03:00
Martin Panter
aad86a6015
Issue #6953 : Rearrange and expand Readline module documentation
...
* Group functions into six new subsections
* Document the underlying Readline function or variable accessed
* get_history_length() returns the history file limit
* clear_history() is conditionally compiled in
* Clarify zero and one bases for history item indexes
* parse_and_bind() uses its argument directly as an init line
* Change "command line" to "line buffer" for consistency
* read_init_file() also executes the file
* read_history_file() replaces the previous history
* write_history_file() overwrites any existing file
* Differentiate history file lines from history list items, which could be
multi-line
* Add more information about completion, also addressing Issue #10796
* libedit (Editline) may be used on any platform; detection is OS X specific
2016-04-05 07:37:22 +00:00
Martin Panter
ed06e8fa50
Issue #23735 : Avoid sighandler_t Gnu-ism
2016-04-03 08:00:49 +00:00
Martin Panter
a70c3239a7
Issue #23735 : Add SIGWINCH handler for Readline 6.3+ support, by Eric Price
2016-04-03 02:54:58 +00:00
Martin Panter
b8089b4dde
Issue #26644 : Raise ValueError for negative SSLSocket.recv() and read()
2016-03-27 05:35:19 +00:00
Martin Panter
b7036114fe
Issue #24266 : Cancel history search mode with Ctrl+C in Readline 7
2016-03-22 07:24:05 +00:00
Ned Deily
69d7f6a6a7
Issue #26505 : Fix typos in getaddrinfo license text.
...
Patch by Alex Willmer.
2016-03-07 14:51:19 -05:00
Ned Deily
3058eb418a
Issue #26406 : Avoid unnecessary serialization of getaddrinfo(3) calls on
...
current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis.
2016-02-23 22:03:39 +11:00
Benjamin Peterson
b2e3946d76
open the cert store readonly
...
Patch from Chi Hsuan Yen.
2016-02-17 22:13:19 -08:00
Ned Deily
1c2a7b5939
Issue #25924 : Avoid unnecessary serialization of getaddrinfo(3) calls on OS X
...
versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis.
2016-02-15 16:51:24 +11:00
Charles-François Natali
674a3cd20b
Issue #24303 : Fix random EEXIST upon multiprocessing semaphores creation with
...
Linux PID namespaces enabled.
2016-02-12 22:39:21 +00:00
Martin Panter
53ae0ba6e3
Issue #26304 : Change "allows to <verb>" to "allows <verb>ing" or similar
...
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
2016-02-10 05:44:01 +00:00
Serhiy Storchaka
71b71763c5
Issue #25945 : Fixed bugs in functools.partial.
...
Fixed a crash when unpickle the functools.partial object with wrong state.
Fixed a leak in failed functools.partial constructor.
"args" and "keywords" attributes of functools.partial have now always types
tuple and dict correspondingly.
2016-02-02 18:45:59 +02:00
Martin Panter
1d269c1067
Issue #26244 : Clarify default zlib compression level in documentation
...
Based on patch by Aviv Palivoda.
2016-02-03 07:06:33 +00:00
Serhiy Storchaka
4b40c3e69e
Fixed a crash in new tests in test_getargs2 added in 60a2d67dacb3 (issue #26198 ).
2016-01-29 00:55:37 +02:00
Serhiy Storchaka
13ea0c5d9c
Fixed an infinite loop in zipimport caused by cebcd2fd3e1f (issue #19883 ).
2016-01-29 00:37:28 +02:00
Serhiy Storchaka
c4ef384d13
Issue #19883 : Fixed possible integer overflows in zipimport.
2016-01-28 21:32:53 +02:00
Serhiy Storchaka
3ecb6ab993
Issue #26198 : Added tests for string-related format units of PyArg_Parse*()
...
functions: "s", "s*", "s#", "t#", "z", "z*", "z#", "w", "w*", "w#", "u",
"u#", "es", "et", "es#", "et#" and "c".
2016-01-28 19:56:04 +02:00
Benjamin Peterson
5640bbb6c5
reject negative data_size
2016-01-21 22:02:46 -08:00
Benjamin Peterson
64ea192b73
prevent buffer overflow in get_data ( closes #26171 )
2016-01-20 22:23:44 -08:00
Benjamin Peterson
e4309f7f14
fix refleak in error condition
2016-01-20 22:06:43 -08:00
Victor Stinner
b5a1d7536d
Replace fpgetmask() with fedisableexcept()
...
Issue #24520 : On FreeBSD, fpgetmask() was deprecated long time ago.
fedisableexcept() is now preferred.
2016-01-20 22:30:58 +01:00
Brett Cannon
c39162de4a
Issue #26114 : Remove mention of 'Numerical Recipes'.
2016-01-15 09:41:49 -08:00
Benjamin Peterson
f30bad284b
remove some copyright notices supserseded by the toplevel ones
2016-01-01 11:53:47 -06:00
Serhiy Storchaka
2e6c829681
Issue #20440 : More use of Py_SETREF.
...
This patch is manually crafted and contains changes that couldn't be handled
automatically.
2015-12-27 15:41:58 +02:00