R David Murray
37f1ba915b
#16914 : fix test errors under -W error::BytesWarning.
...
There are doubtless other debug messages in smtplib that would trigger an
error if they were tested, but this fixes the things we do now test,
which is good enough for now.
2015-04-16 18:54:56 -04:00
R David Murray
2e6ad4267c
#16914 : reflow paragraph and add missing versionchanged.
2015-04-16 17:24:52 -04:00
R David Murray
11c5aba6c9
News item for #16914 .
2015-04-16 17:16:15 -04:00
R David Murray
0c49b896e6
#16914 : add timestamps to smtplib debugging output via new debuglevel 2.
...
Patch by Gavin Chappell and Maciej Szulik.
2015-04-16 17:14:42 -04:00
R David Murray
4c7f995e80
#7159 : generalize urllib prior auth support.
...
This fix is a superset of the functionality introduced by the issue #19494
enhancement, and supersedes that fix. Instead of a new handler, we have a new
password manager that tracks whether we should send the auth for a given uri.
This allows us to say "always send", satisfying #19494 , or track that we've
succeeded in auth and send the creds right away on every *subsequent* request.
The support for using the password manager is added to AbstractBasicAuth,
which means the proxy handler also now can handle prior auth if passed
the new password manager.
Patch by Akshit Khurana, docs mostly by me.
2015-04-16 16:36:18 -04:00
Christian Heimes
6297fecbd1
Merge
2015-04-16 20:26:19 +02:00
Christian Heimes
a8e3f7a884
Update coverity modeling file to silence datetime warnings
2015-04-16 20:25:03 +02:00
R David Murray
2b78129b3a
#18128 : use standard +NNNN timezone format in POT-Creation-Date header.
...
Patch by Michael McFadden, with a few small style tweaks.
2015-04-16 12:15:09 -04:00
Christian Heimes
29fbd21d73
Remove redundant check fro md5module.
...
CID 1294331 (#1 of 1): Identical code for different branches (IDENTICAL_BRANCHES)
2015-04-16 17:29:11 +02:00
Christian Heimes
e8e4283cec
Remove redundant check for tb != NULL to shut up Coverity . It has been set to Py_None a couple of lines earlier.
...
CID 1291697 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking tb suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
2015-04-16 17:25:45 +02:00
Christian Heimes
82adeffc13
Fix typo in assert statement
2015-04-16 17:21:54 +02:00
Serhiy Storchaka
eb076ae062
Null merge
2015-04-16 11:58:11 +03:00
Serhiy Storchaka
6a69466f61
Backported tests from issue #20175 .
2015-04-16 11:54:14 +03:00
Serhiy Storchaka
f24131ff31
Issue #20175 : Converted the _io module to Argument Clinic.
2015-04-16 11:19:43 +03:00
Larry Hastings
7f90cba7f3
Issue #23935 : Argument Clinic's understanding of format units
...
accepting bytes, bytearrays, and buffers is now consistent with
both the documentation and the implementation.
2015-04-15 23:02:12 -04:00
Guido van Rossum
17467639bb
Remove spurious text from build instructions README.
...
It said "New text", an apparent test edit by MvL ages ago.
2015-04-15 17:40:07 -07:00
Ned Deily
3b8124884c
Issues #22980 , 23969: For OS X, use PEP 3149-style file names for extension
...
module binaries, with a platform triple of just "darwin", resulting in
file names like:
_ssl.cpython-35m-darwin.so
rather than just _ssl.so as previously.
Instead of attempting to encode differences in CPU architecture and OS X
deployment targets in the file name as is done on other platforms,
these continue to be managed by the use of Apple multi-architecture
("fat") files, by the system dynamic loader, and by logic in higher-levels
like sysconfig.get_platform() and pip.
2015-04-15 17:11:47 -07:00
Berker Peksag
20416f7994
Issue #23703 : Fix a regression in urljoin() introduced in 901e4e52b20a.
...
Patch by Demian Brecht.
2015-04-16 02:31:14 +03:00
Steve Dower
d2bc389e55
Issue #4254 : Adds _curses.update_lines_cols() Patch by Arnon Yaari
2015-04-15 18:06:05 -04:00
doko@ubuntu.com
9abe04975a
#22980 : fix triplet configure test for powerpc-linux-gnu
2015-04-15 23:31:02 +02:00
R David Murray
4171bbe687
#23949 : Improve tuple unpacking error messages.
...
Patch by Arnon Yaari.
2015-04-15 17:08:45 -04:00
Steve Dower
13a6ee0af4
Updates layout of some text in the Windows installer.
2015-04-15 16:18:58 -04:00
Steve Dower
cb39d1f466
Issue 19933: Provide default argument for ndigits in round. Patch by Vajrasky Kok.
2015-04-15 16:10:59 -04:00
doko@ubuntu.com
807b80d4ec
- #22980 : fix typo in Lib/test/test_sysconfig.py triplet test
2015-04-15 20:52:39 +02:00
doko@ubuntu.com
092f616a97
- configure.ac: remove duplicate PLATDIR definition
2015-04-15 20:45:33 +02:00
doko@ubuntu.com
d3899c1a96
- Issue #22980 : Under Linux, GNU/KFreeBSD and the Hurd, C extensions now include
...
the architecture triplet in the extension name, to make it easy to test builds
for different ABIs in the same working tree.
2015-04-15 20:23:14 +02:00
Eric V. Smith
7a80389ce5
Issue 23193: Add numeric_owner to tarfile.TarFile.extract() and tarfile.TarFile.extractall().
2015-04-15 10:27:58 -04:00
Benjamin Peterson
28edf12cd4
add Allison Kaptur ( #21217 )
2015-04-15 00:00:41 -04:00
Benjamin Peterson
ef9ffcbcd4
properly wrap
2015-04-14 22:12:14 -04:00
Gregory P. Smith
6e73000723
Add a subprocess.run() function than returns a CalledProcess instance for a
...
more consistent API than the existing call* functions.
(enhancement from issue 23342)
2015-04-14 16:14:25 -07:00
Antoine Pitrou
a8723a02ea
Issue #21217 : inspect.getsourcelines() now tries to compute the start and
...
end lines from the code object, fixing an issue when a lambda function is
used as decorator argument. Patch by Thomas Ballinger.
2015-04-15 00:41:29 +02:00
Steve Dower
97100c0e3d
Updates Windows installer to promote per-user installs over all-users.
2015-04-14 18:34:04 -04:00
Steve Dower
f70fdd2878
Generates and signs a self-extracting executable containing an embedded Python.
2015-04-14 18:34:04 -04:00
Gregory P. Smith
7c63fd3df5
issue9859: add the missing versionadded tag to the documentation.
2015-04-14 15:25:01 -07:00
Larry Hastings
89964c48d1
Issue #23944 : Argument Clinic now wraps long impl prototypes at column 78.
2015-04-14 18:07:59 -04:00
R David Murray
687592def9
Merge: #23925 : stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.
2015-04-14 17:58:40 -04:00
R David Murray
f4bbc535b9
#23925 : stop (eg) PYTHONSTARTUP from causing test_cmd_line failure.
...
Patch by Jamiel Almeida.
2015-04-14 17:57:41 -04:00
Gregory P. Smith
14a88abfcc
issue9859: Use an expected failure rather than a skip.
2015-04-14 13:54:09 -07:00
Zachary Ware
cadbab295d
Closes #23956 : Merge with 3.4
2015-04-14 15:46:22 -05:00
Zachary Ware
50db6acc9b
Issue #23956 : Fix typo in imp.py docstring.
...
Patch by Jacinda Shelly.
2015-04-14 15:43:00 -05:00
R David Murray
f3cae79883
Merge: #23957 : fix typo.
2015-04-14 16:42:49 -04:00
R David Murray
5be7f1513d
#23957 : fix typo.
2015-04-14 16:42:08 -04:00
Gregory P. Smith
4e72cceb62
issue9859: Document test.support.detect_api_mismatch() and simplify its test.
2015-04-14 13:26:06 -07:00
Gregory P. Smith
1bef9075b8
issue9859: rename CPyMatchTest to APIMismatchTest and add @support.cpython_only.
2015-04-14 13:24:34 -07:00
Gregory P. Smith
054b065f6c
issue9859: Adds a CPyMatchTest test case to compare the exposed APIs
...
of the Python io module and the C io module. They do not currently
match so the failing test is marked with @unittest.skip.
2015-04-14 12:58:05 -07:00
Gregory P. Smith
e334e3ff71
issue9859: Adds a test.support.detect_api_mismatch function useful to
...
compare the public APIs of two modules or classes.
2015-04-14 12:56:53 -07:00
Gregory P. Smith
a8b120641b
issue9014: Include more formatting on :c:type:`PyObject` etc.
2015-04-14 11:21:26 -07:00
Gregory P. Smith
0f2f3bc9db
issue9014: Include more formatting on :c:type:`PyObject` etc.
2015-04-14 11:21:05 -07:00
Gregory P. Smith
b8dde4f5c3
issue9014: Properly document PyObject_HEAD and friends post-PEP-3123.
2015-04-14 11:13:14 -07:00
Gregory P. Smith
1b24465c93
issue9014: Properly document PyObject_HEAD and friends post-PEP-3123.
2015-04-14 11:12:53 -07:00