- 08 Nov, 2015 2 commits
-
-
R David Murray authored
-
R David Murray authored
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.
-
- 07 Nov, 2015 16 commits
-
-
Steve Dower authored
-
Steve Dower authored
-
Steve Dower authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Martin Panter authored
-
Martin Panter authored
-
Martin Panter authored
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.
-
Martin Panter authored
-
Martin Panter authored
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.
-
- 06 Nov, 2015 12 commits
-
-
Victor Stinner authored
compiling AST from Python objects.
-
Serhiy Storchaka authored
reliable.
-
Serhiy Storchaka authored
reliable.
-
Serhiy Storchaka authored
Thanks Марк Коренберг.
-
Serhiy Storchaka authored
Thanks Марк Коренберг.
-
Serhiy Storchaka authored
_odict_add_new_node() fails.
-
Serhiy Storchaka authored
_odict_add_new_node() fails.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Martin Panter authored
-
Martin Panter authored
-
Martin Panter authored
Implementation by Antoine Pitrou.
-
- 05 Nov, 2015 10 commits
-
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Yury Selivanov authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Victor Stinner authored
is raised when it returns NULL. Simplify also ceval.c: rely on the fact that PyObject_GetItem() raised an exception when it returns NULL.
-
Victor Stinner authored
-
Victor Stinner authored
requested name doesn't exist in globals: clear the KeyError exception before calling PyObject_GetItem(). Fail also if the raised exception is not a KeyError.
-
Victor Stinner authored
-