Martin Panter
97ce0faa4d
Fix grammar in whatsnew/3.5.rst and elsewhere
...
Mainly missing grammatical articles (the, a).
2015-11-14 01:14:54 +00:00
Martin Panter
fa9ea04673
Issue #25590 : Merge rlcompleter change from 3.4 into 3.5
2015-11-13 23:10:39 +00:00
Martin Panter
06622ead80
Issue #25590 : Make rlcompleter only call getattr() once per attribute
...
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__). This includes a
backport of changing from a list to a set from revision 4dbb315fe667.
2015-11-13 22:47:00 +00:00
Martin Panter
0da4ac1f21
Issue #25498 : Merge ctypes crash fix from 3.4 into 3.5
2015-11-13 22:12:12 +00:00
Martin Panter
1bb651540e
Issue #25498 : Fix GC crash due to ctypes objects wrapping a memoryview
...
This was a regression caused by revision 1da9630e9b7f. Based on patch by
Eryksun.
2015-11-13 21:43:39 +00:00
Serhiy Storchaka
19a70e7f5d
Issue #25462 : The hash of the key now is calculated only once in most
...
operations in C implementation of OrderedDict.
2015-11-13 14:48:36 +02:00
Serhiy Storchaka
609a2e17ad
Issue #22995 : Default implementation of __reduce__ and __reduce_ex__ now
...
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.
2015-11-12 11:31:51 +02:00
Serhiy Storchaka
d7a4415599
Issue #22995 : Default implementation of __reduce__ and __reduce_ex__ now
...
rejects builtin types with not defined __new__.
Added tests for non-pickleable types.
2015-11-12 11:23:04 +02:00
Benjamin Peterson
45bde5d2ee
merge 3.4 ( #25530 )
2015-11-11 22:45:22 -08:00
Benjamin Peterson
a9dcdabccb
always set OP_NO_SSLv3 by default ( closes #25530 )
2015-11-11 22:38:41 -08:00
Benjamin Peterson
86429bd174
merge 3.5 ( #25569 )
2015-11-11 22:14:08 -08:00
Benjamin Peterson
eda06c8f5e
fix memory leak in _get_crl_dp ( closes #25569 )
...
Patch started by Stéphane Wirtel.
2015-11-11 22:07:38 -08:00
Serhiy Storchaka
4f1c1879cb
Added missed periods at the ends of sentences in Misc/NEWS.
2015-11-10 00:31:10 +02:00
Serhiy Storchaka
fed16ec7c2
Added missed periods at the ends of sentences in Misc/NEWS.
2015-11-10 00:20:43 +02:00
Serhiy Storchaka
acdb0207cd
Fixed markup in Misc/NEWS.
2015-11-09 23:43:56 +02:00
Serhiy Storchaka
faf7060fa0
Fixed markup in Misc/NEWS.
2015-11-09 23:41:39 +02:00
Serhiy Storchaka
04b5700b36
Issue #25584 : Added "escape" to the __all__ list in the glob module.
...
From patch by Xavier de Gaye.
2015-11-09 23:18:19 +02:00
Serhiy Storchaka
735b790fed
Issue #25584 : Fixed recursive glob() with patterns starting with '**'.
2015-11-09 23:12:07 +02:00
Steve Dower
ba270147e4
Issue #24306 : Sets component ID for launcher to match 3.5 and later to avoid downgrading.
2015-11-07 10:07:04 -08:00
Martin Panter
eeb896c411
Issue #24802 : Copy bytes-like objects to null-terminated buffers if necessary
...
This avoids possible buffer overreads when int(), float(), compile(), exec()
and eval() are passed bytes-like objects. Similar code is removed from the
complex() constructor, where it was not reachable.
Patch by John Leitch, Serhiy Storchaka and Martin Panter.
2015-11-07 02:32:21 +00:00
Victor Stinner
f9827ea618
Issue #25555 : Fix parser and AST: fill lineno and col_offset of "arg" node when
...
compiling AST from Python objects.
2015-11-06 17:01:48 +01:00
R David Murray
b0deeb47d8
#25446 : Fix regression in smtplib's AUTH LOGIN support.
...
The auth method tests simply weren't adequate because of the fact that
smtpd doesn't support authentication. I borrowed some of Milan's
code for that from issue #21935 and added it to the smtplib tests.
Also discovered that the direct test for the 'auth' method wasn't actually
testing anything and fixed it.
The fix makes the new authobject mechanism work the way it is
documented...the problem was that wasn't checking for a 334 return code
if an initial-response was provided, which works fine for auth plain
and cram-md5, but not for auth login.
2015-11-08 01:03:52 -05:00
Martin Panter
61d6e4ae9d
Issue #24802 : Merge null termination fixes from 3.4 into 3.5
2015-11-07 02:56:11 +00:00
Martin Panter
98da9d0e0d
Issue #18010 : Merge pydoc web search fix from 3.4 into 3.5
2015-11-06 00:51:38 +00:00
Martin Panter
9ad0aae656
Issue #18010 : Fix pydoc web server search to handle package exceptions
...
Implementation by Antoine Pitrou.
2015-11-06 00:27:14 +00:00
Serhiy Storchaka
b5d0a21553
Issue #25554 : Got rid of circular references in regular expression parsing.
2015-11-05 17:49:26 +02:00
Serhiy Storchaka
4d11a94fb6
Issue #24726 : Fixed issue number for previous changeset 59c7615ea921.
2015-11-04 22:37:46 +02:00
Serhiy Storchaka
710cd34bdb
Issue #25449 : Fixed a crash and leaking NULL in repr() of OrderedDict that
...
was mutated by direct calls of dict methods.
2015-11-04 22:33:07 +02:00
Serhiy Storchaka
b45b7b2137
Issue #25449 : Iterating OrderedDict with keys with unstable hash now raises
...
KeyError in C implementations as well as in Python implementation.
Added tests for OrderedDict subclasses.
2015-11-04 22:05:38 +02:00
Serhiy Storchaka
f51d715845
Issue #25523 : Further a-to-an corrections new in 3.5.
2015-11-02 14:40:41 +02:00
Serhiy Storchaka
a84f6c3dd3
Issue #25523 : Merge a-to-an corrections from 3.4.
2015-11-02 14:39:05 +02:00
Serhiy Storchaka
d65c9496da
Issue #25523 : Further a-to-an corrections.
2015-11-02 14:10:23 +02:00
Martin Panter
d2ad5718ad
Issue #25523 : Further a-to-an corrections new in 3.5
2015-11-02 04:20:33 +00:00
Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
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.
2015-11-02 03:37:02 +00:00
Serhiy Storchaka
56275dc1e2
Issue #25510 : fileinput.FileInput.readline() now returns b'' instead of ''
...
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.
2015-11-01 16:45:26 +02:00
Serhiy Storchaka
314464d0ab
Issue #25510 : fileinput.FileInput.readline() now returns b'' instead of ''
...
at the end if the FileInput was opened with binary mode.
Patch by Ryosuke Ito.
2015-11-01 16:43:58 +02:00
Serhiy Storchaka
14eefe353e
Issue #25395 : Fixed crash when highly nested OrderedDict structures were
...
garbage collected.
2015-11-01 16:12:34 +02:00
Steve Dower
04a4316acc
Issue #25450 : Updates shortcuts to start Python in installation directory.
2015-10-31 12:41:46 -07:00
Martin Panter
4827e488a4
Merge spelling fixes from 3.4 into 3.5
2015-10-31 12:16:18 +00:00
Martin Panter
1f1177d69a
Fix some spelling errors in documentation and code comments
2015-10-31 11:48:53 +00:00
Benjamin Peterson
788cb52905
always use os.urandom for the uuid4 algorithm ( closes #25515 )
2015-10-29 20:38:04 -07:00
Serhiy Storchaka
ac4bdcc80e
Issue #25503 : Fixed inspect.getdoc() for inherited docstrings of properties.
...
Original patch by John Mark Vandenberg.
2015-10-29 08:15:50 +02:00
Serhiy Storchaka
f8152c67f5
Issue #21827 : Fixed textwrap.dedent() for the case when largest common
...
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
2015-10-28 21:43:12 +02:00
Serhiy Storchaka
ea4cb63e68
Issue #21827 : Fixed textwrap.dedent() for the case when largest common
...
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
2015-10-28 21:39:36 +02:00
Benjamin Peterson
2775d85d55
merge 3.4 ( #25471 )
2015-10-24 20:07:08 -07:00
Benjamin Peterson
d9dbf49383
accepted sockets shouldn't inherit the SOCK_NONBLOCK flag ( closes #25471 )
2015-10-24 20:06:04 -07:00
Serhiy Storchaka
45120f272b
Issue #25447 : The lru_cache() wrapper objects now can be copied and pickled
...
(by returning the original object unchanged).
2015-10-24 09:49:56 +03:00
Victor Stinner
de6e800f45
Merge 3.4 (Issue #25461 )
2015-10-23 12:39:01 +02:00
Victor Stinner
0e316f688e
Issue #25461 : Rephrase os.walk() doc
...
Patch written by Bernt Røskar Brenna.
2015-10-23 12:38:11 +02:00