Commit Graph

79745 Commits

Author SHA1 Message Date
Serhiy Storchaka
98d3c19ed0 Issue #16620: Fixed AttributeError in msilib.Directory.glob(). 2016-01-19 13:55:36 +02:00
Benjamin Peterson
dd171ead80 add space 2016-01-18 21:18:49 -08:00
Benjamin Peterson
a4acf1ff84 set tp_new from the class in the hierarchy that actually owns the descriptor (closes #25731)
Debugging by Eryk Sun.
2016-01-18 21:17:54 -08:00
Serhiy Storchaka
27d9c3d39f Issue #9006: Added tests for XML RPC with non-UTF-8 encoding. 2016-01-18 19:38:53 +02:00
Serhiy Storchaka
2f173fe26b Issue #21847: Fixed xmlrpclib and tests on Unicode-disabled builds. 2016-01-18 19:35:23 +02:00
Serhiy Storchaka
43beaebffb Issue #6500: Fixed infinite recursion in urllib2.Request.__getattr__(). 2016-01-18 10:35:40 +02:00
Senthil Kumaran
5e90cd9b32 Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell. 2016-01-17 18:45:11 -08:00
Senthil Kumaran
e57c957ff9 Issue26142 - Fix a formatting bug in c-api intro doc. 2016-01-17 17:05:14 -08:00
Terry Jan Reedy
c5e8935d90 Issue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.
Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.
2016-01-16 23:43:58 -05:00
Steve Dower
4ffee6157a Issue #25824: Fixes sys.winver to not include any architecture suffix. 2016-01-16 13:41:48 -08:00
Senthil Kumaran
11a73890d3 Issue26035 - Correct the argument names used in the docs of the traceback module. Make it consistent with module args. 2016-01-15 22:13:16 -08:00
Martin Panter
2179b2e159 Issue #14771: Redirect GDB's stdin to avoid messing the terminal settings
Otherwise, GDB seems to affect the terminal's foreground process group,
interfering with test_ioctl, which does not expect the foreground process to
change during the test. This change also solves the problem of the tests
being stopped in the shell if test_gdb is run twice in parallel.
2016-01-16 05:07:35 +00:00
Martin Panter
264dcb7290 Issue #26127: Fix links in tokenize documentation 2016-01-16 04:32:52 +00:00
Brett Cannon
c39162de4a Issue #26114: Remove mention of 'Numerical Recipes'. 2016-01-15 09:41:49 -08:00
Senthil Kumaran
1826f6369c Issue26097 - Fix the TextTestRunner documentation, mention all the arguments of the class.
Patch contributed by Nicolas Évrard.
2016-01-14 21:57:57 -08:00
Martin Panter
71202bb053 Issue #25940: Use self-signed.pythontest.net in SSL tests
This is instead of svn.python.org, whose certificate recently expired, and
whose new certificate uses a different root certificate.

The certificate used at the pythontest server was modifed to set the "basic
constraints" CA flag. This flag seems to be required for test_get_ca_certs_
capath() to work.

Added the new self-signed certificate to capath with the following commands:

cp Lib/test/{selfsigned_pythontestdotnet.pem,capath/}
c_rehash -v Lib/test/capath/
c_rehash -v -old Lib/test/capath/
# Note the generated file names
cp Lib/test/capath/{selfsigned_pythontestdotnet.pem,0e4015b9.0}
mv Lib/test/capath/{selfsigned_pythontestdotnet.pem,ce7b8643.0}

When attempting to connect to port 444 on the new server, the resulting error
code is EHOSTUNREACH on Linux, and ETIMEDOUT on Windows.
2016-01-15 00:25:29 +00:00
Ezio Melotti
07f24c50e0 #7944: close files explicitly in test_tarfile (backport d560eece0857). 2016-01-13 22:21:21 +02:00
Ezio Melotti
8861b291f2 Convert test_tarfile to ASCII (backport c1ed490bd266). 2016-01-13 19:36:49 +02:00
Ezio Melotti
4cb7fca89f #25574: backport glossary doc fix about hash and id of user-defined classes. 2016-01-12 11:36:25 +02:00
Ezio Melotti
7f62062be1 #19006: fix wording in unittest docs. 2016-01-12 11:03:10 +02:00
Zachary Ware
a8dbd93619 Issue #25348: Add --pgo and --pgo-job flags to PCbuild\build.bat 2016-01-12 01:20:33 -06:00
Ezio Melotti
b45bed137c Merge heads. 2016-01-12 00:11:24 +02:00
Ezio Melotti
50ba447ab7 #25517: fix regex in the regex howto. Patch by Elena Oat. 2016-01-12 00:07:23 +02:00
Gregory P. Smith
0d207fd8cf Fixes issue #26083: Workaround a subprocess bug that raised an incorrect
"ValueError: insecure string pickle" exception instead of the actual exception
on some platforms such as Mac OS X when an exception raised in the forked child
process prior to the exec() was large enough that it overflowed the internal
errpipe_read pipe buffer.
2016-01-11 13:56:42 -08:00
Ezio Melotti
167c336725 #25991: fix readline example to limit history size. Patch by Daniel Dye. 2016-01-11 23:30:15 +02:00