Commit graph

92037 commits

Author SHA1 Message Date
Victor Stinner
e0a0afdf70 Merge 3.5 (pytime) 2015-11-10 12:11:52 +01:00
Victor Stinner
c379ade1bb pytime.c: rename pygettimeofday_new() to pygettimeofday()
I forgot to rename it in my previous refactoring of pytime.c.
2015-11-10 12:11:39 +01:00
Raymond Hettinger
349718a20a merge 2015-11-10 00:09:49 -08:00
Raymond Hettinger
d2f6974240 Improve appearance of example code 2015-11-10 00:09:34 -08:00
Raymond Hettinger
5bfb9f0b1f merge 2015-11-10 00:00:17 -08:00
Raymond Hettinger
549e34cc7b Remove confusing section from named tuple recipes. 2015-11-10 00:00:00 -08:00
Serhiy Storchaka
608f472a85 Added missed periods at the ends of sentences in Misc/NEWS. 2015-11-10 00:31:28 +02: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
e9eb20097d Fixed markup in Misc/NEWS. 2015-11-09 23:44:31 +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
cc10c33765 Issue #25584: Added "escape" to the __all__ list in the glob module.
From patch by Xavier de Gaye.
2015-11-09 23:18:32 +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
8e43e11be3 Issue #25584: Fixed recursive glob() with patterns starting with '**'. 2015-11-09 23:12:28 +02:00
Serhiy Storchaka
735b790fed Issue #25584: Fixed recursive glob() with patterns starting with '**'. 2015-11-09 23:12:07 +02:00
Victor Stinner
d9d002b0ce Null merge 3.5 2015-11-09 21:55:13 +01:00
Serhiy Storchaka
563f2ae753 Issue #25582: Fixed 100 MB memory leak in test_ctypes. 2015-11-09 22:33:39 +02:00
Serhiy Storchaka
82639816df Issue #25582: Fixed 100 MB memory leak in test_ctypes. 2015-11-09 22:32:23 +02:00
Serhiy Storchaka
b63902a748 Issue #25582: Fixed 100 MB memory leak in test_ctypes. 2015-11-09 22:31:10 +02:00
Raymond Hettinger
2fbde51e2f merge 2015-11-09 08:26:28 -08:00
Raymond Hettinger
850be0fb18 Improve namedtuple doc string examples 2015-11-09 08:24:53 -08:00
Serhiy Storchaka
b9d672491d Issue #25263: Trying to fix test_use on Windows.
Avoid possible weird behavior of WideInt convertion.
"winfo id" always returns string hexadecimal representation.
2015-11-09 14:43:31 +02:00
Steve Dower
f4ac4e3de2 Fixes installer not allowing launcher to be selected. 2015-11-09 07:31:20 -05:00
Steve Dower
5e2e70029b Fixes installer not allowing launcher to be selected. 2015-11-09 07:31:05 -05:00
Martin Panter
cc99cd7045 Issue #24802: Merge ValueError test case from 3.5 2015-11-08 11:09:37 +00:00
Martin Panter
d61d860ed3 Issue #24802: Update test case for ValueError in 3.5 2015-11-08 11:09:13 +00:00
R David Murray
7861667c8e Merge: #25446: Fix regression in smtplib's AUTH LOGIN support. 2015-11-08 01:05:11 -05: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
Steve Dower
51acec6008 Null merge from 3.4 2015-11-07 10:08:53 -08:00
Steve Dower
65b77d625e Null merge from 3.4 2015-11-07 10:08:04 -08: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
Serhiy Storchaka
29a2f7c6b3 Issue #25263: Trying to fix test_use on Windows. 2015-11-07 18:06:24 +02:00
Serhiy Storchaka
96b6ff20d3 Issue #22643: Skip test_case_operation_overflow on computers with low memory. 2015-11-07 16:55:39 +02:00
Serhiy Storchaka
3d717d05de Issue #22643: Skip test_case_operation_overflow on computers with low memory. 2015-11-07 16:55:16 +02:00
Serhiy Storchaka
411dfd871c Issue #22643: Skip test_case_operation_overflow on computers with low memory. 2015-11-07 16:54:48 +02:00
Serhiy Storchaka
fad85aadb0 Issue #25558: Use compile-time asserts. 2015-11-07 15:42:38 +02:00
Serhiy Storchaka
41a87637c0 Issue #892902: Added new tests for pickling recursive collections. 2015-11-07 11:17:15 +02:00
Serhiy Storchaka
838b7cc0e7 Issue #892902: Added new tests for pickling recursive collections. 2015-11-07 11:17:02 +02:00
Serhiy Storchaka
608c213530 Issue #892902: Added new tests for pickling recursive collections. 2015-11-07 11:16:10 +02:00
Martin Panter
9513ba3b8f Issue #24802: Merge null termination fixes from 3.5 2015-11-07 03:15:32 +00: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
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
Martin Panter
eb1d89abdd Issue #25064: Merge tempfile doc from 3.5 2015-11-07 00:56:56 +00:00
Martin Panter
9b566c324d Issue #25064: Adjust documentation according to new mkstemp signature
The mkstemp() and mkdtemp() signatures have already been updated, but the
higher-level functions still suggest that the default values are forced to
text strings. Also merged some paragraphs describing the "suffix" and
"prefix" parameters, and pointed out that mktemp() does not support the new
changes.
2015-11-07 00:32:50 +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
Victor Stinner
c106c68aeb 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
Serhiy Storchaka
0c009bf3b5 Issue #25410: Made testing that od_fast_nodes and dk_entries are in sync more
reliable.
2015-11-06 12:00:43 +02:00
Serhiy Storchaka
97f46db904 Issue #25410: Made testing that od_fast_nodes and dk_entries are in sync more
reliable.
2015-11-06 12:00:03 +02:00
Serhiy Storchaka
501c16d1df Fixed merging error in 3ebeeed1eb28.
Thanks Марк Коренберг.
2015-11-06 11:21:02 +02:00