]>
granicus.if.org Git - python/log
Serhiy Storchaka [Wed, 20 Jan 2016 08:41:33 +0000 (10:41 +0200)]
Issue #26147: xmlrpc now works with strings not encodable with used
non-UTF-8 encoding.
Serhiy Storchaka [Wed, 20 Jan 2016 08:34:27 +0000 (10:34 +0200)]
Issue #26147: xmlrpc now works with strings not encodable with used
non-UTF-8 encoding.
Berker Peksag [Wed, 20 Jan 2016 06:45:54 +0000 (08:45 +0200)]
Issue #5626: Remove misleading comment from socket.gethostname() documentation
A machine can have more than one IP addresses so
socket.gethostbyname(socket.gethostname()) probably won't return the correct
one.
Berker Peksag [Wed, 20 Jan 2016 06:45:37 +0000 (08:45 +0200)]
Issue #5626: Remove misleading comment from socket.gethostname() documentation
A machine can have more than one IP addresses so
socket.gethostbyname(socket.gethostname()) probably won't return the correct
one.
Berker Peksag [Wed, 20 Jan 2016 05:14:43 +0000 (07:14 +0200)]
Issue #26157: Fix typos in asyncio-eventloop.rst
Initial patch by Carlo Beccarini.
Berker Peksag [Wed, 20 Jan 2016 05:14:22 +0000 (07:14 +0200)]
Issue #26157: Fix typos in asyncio-eventloop.rst
Initial patch by Carlo Beccarini.
Donald Stufft [Wed, 20 Jan 2016 01:15:33 +0000 (20:15 -0500)]
Merge update to pip/setuptools
Donald Stufft [Wed, 20 Jan 2016 01:14:39 +0000 (20:14 -0500)]
Merge update to pip/setuptools
Donald Stufft [Wed, 20 Jan 2016 01:13:51 +0000 (20:13 -0500)]
Update pip to 8.0.0 and setuptools to 19.4
Serhiy Storchaka [Tue, 19 Jan 2016 12:48:42 +0000 (14:48 +0200)]
Issue #25935: Garbage collector now breaks reference loops with OrderedDict.
Serhiy Storchaka [Tue, 19 Jan 2016 12:46:25 +0000 (14:46 +0200)]
Issue #25935: Garbage collector now breaks reference loops with OrderedDict.
Serhiy Storchaka [Tue, 19 Jan 2016 12:09:33 +0000 (14:09 +0200)]
Issue #16620: Got rid of using undocumented function glob.glob1().
Serhiy Storchaka [Tue, 19 Jan 2016 12:06:13 +0000 (14:06 +0200)]
Issue #16620: Fixed AttributeError in msilib.Directory.glob().
Serhiy Storchaka [Tue, 19 Jan 2016 11:55:36 +0000 (13:55 +0200)]
Issue #16620: Fixed AttributeError in msilib.Directory.glob().
Victor Stinner [Tue, 19 Jan 2016 07:50:56 +0000 (08:50 +0100)]
Merge 3.5
Victor Stinner [Tue, 19 Jan 2016 07:48:48 +0000 (08:48 +0100)]
Fix BytecodeTestCase.assertNotInBytecode()
Issue #11816: Fix bytecode_helper to handle correctly errors. Don't use
unassigned variables.
Benjamin Peterson [Tue, 19 Jan 2016 05:18:35 +0000 (21:18 -0800)]
merge 3.5 (#25731)
Benjamin Peterson [Tue, 19 Jan 2016 05:11:18 +0000 (21:11 -0800)]
set tp_new from the class in the hierarchy that actually owns the descriptor (closes #25731)
Debugging by Eryk Sun.
Senthil Kumaran [Tue, 19 Jan 2016 02:45:54 +0000 (18:45 -0800)]
merge from 3.5
issue23962 - Reference the correct TimeoutError in concurrent.futures documentation.
Patch contributed by Ryder Lewis.
Senthil Kumaran [Tue, 19 Jan 2016 02:45:00 +0000 (18:45 -0800)]
issue23962 - Reference the correct TimeoutError in concurrent.futures documentation.
Patch contributed by Ryder Lewis.
Martin Panter [Tue, 19 Jan 2016 01:35:44 +0000 (01:35 +0000)]
Issue #25859: Merge NNTP test server from 3.5
Martin Panter [Tue, 19 Jan 2016 01:10:58 +0000 (01:10 +0000)]
Issue #25859: Reimplement NNTP test_starttls() using local server
The previous test relied on a remote server, which currently seems to be
shutting the connection down once TLS has been set up, causing an EOFError.
Now the test is implemented using a minimal NNTP server running in a
background thread.
Berker Peksag [Tue, 19 Jan 2016 00:02:13 +0000 (02:02 +0200)]
Issue #25366: Skip test_with_pip when threading module is not available
Some dependencies of pip import threading module unconditionally so
we need to skip the test to make buildbots happy.
Berker Peksag [Tue, 19 Jan 2016 00:01:53 +0000 (02:01 +0200)]
Issue #25366: Skip test_with_pip when threading module is not available
Some dependencies of pip import threading module unconditionally so
we need to skip the test to make buildbots happy.
Serhiy Storchaka [Mon, 18 Jan 2016 20:34:19 +0000 (22:34 +0200)]
Added exceptins for testing non-reversible import mapping for Issue #26013.
Serhiy Storchaka [Mon, 18 Jan 2016 20:33:44 +0000 (22:33 +0200)]
Added exceptins for testing non-reversible import mapping for Issue #26013.
Serhiy Storchaka [Mon, 18 Jan 2016 19:36:03 +0000 (21:36 +0200)]
Issue #26013: Added compatibility with broken protocol 2 pickles created
in old Python 3 versions (3.4.3 and lower).
Serhiy Storchaka [Mon, 18 Jan 2016 19:35:22 +0000 (21:35 +0200)]
Issue #26013: Added compatibility with broken protocol 2 pickles created
in old Python 3 versions (3.4.3 and lower).
Serhiy Storchaka [Mon, 18 Jan 2016 17:40:23 +0000 (19:40 +0200)]
Issue #9006: Added tests for XML RPC with non-UTF-8 encoding.
Serhiy Storchaka [Mon, 18 Jan 2016 17:39:26 +0000 (19:39 +0200)]
Issue #9006: Added tests for XML RPC with non-UTF-8 encoding.
Serhiy Storchaka [Mon, 18 Jan 2016 16:49:57 +0000 (18:49 +0200)]
Issue #26129: Deprecated accepting non-integers in grp.getgrgid().
Victor Stinner [Mon, 18 Jan 2016 11:15:08 +0000 (12:15 +0100)]
subprocess._optim_args_from_interpreter_flags()
Issue #26100:
* Add subprocess._optim_args_from_interpreter_flags()
* Add test.support.optim_args_from_interpreter_flags()
* Use new functions in distutils, test_cmd_line_script, test_compileall and
test_inspect
The change enables test_details() test of test_inspect when -O or -OO command
line option is used.
Victor Stinner [Mon, 18 Jan 2016 10:25:50 +0000 (11:25 +0100)]
Fix test_compilepath() of test_compileall
Issue #26101: Exclude Lib/test/ from sys.path in test_compilepath(). The
directory contains invalid Python files like Lib/test/badsyntax_pep3120.py,
whereas the test ensures that all files can be compiled.
Georg Brandl [Mon, 18 Jan 2016 07:00:15 +0000 (08:00 +0100)]
Fix indentation of continuation lines.
Georg Brandl [Mon, 18 Jan 2016 06:53:59 +0000 (07:53 +0100)]
Fix two instances of wrong indentation.
Senthil Kumaran [Mon, 18 Jan 2016 04:12:16 +0000 (20:12 -0800)]
Issue26069 - Update whatsnew/3.6.rst on traceback module's api removals.
Senthil Kumaran [Mon, 18 Jan 2016 02:42:50 +0000 (18:42 -0800)]
Merge from 3.5
Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell.
Senthil Kumaran [Mon, 18 Jan 2016 02:42:13 +0000 (18:42 -0800)]
Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell.
Stefan Krah [Sun, 17 Jan 2016 11:28:43 +0000 (12:28 +0100)]
Issue #26139: libmpdec: disable /W4 warning (non-standard dllimport behavior).
Terry Jan Reedy [Sun, 17 Jan 2016 04:44:16 +0000 (23:44 -0500)]
Merge with 3.5
Terry Jan Reedy [Sun, 17 Jan 2016 04:44:04 +0000 (23:44 -0500)]
Issue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.
Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.
Senthil Kumaran [Sun, 17 Jan 2016 02:43:57 +0000 (18:43 -0800)]
merge from 3.5
Issue26135 - In the tutorial section on modules, reference importlib.reload instead of imp.reload.
Senthil Kumaran [Sun, 17 Jan 2016 02:43:24 +0000 (18:43 -0800)]
Issue26135 - In the tutorial section on modules, reference importlib.reload instead of imp.reload.
Steve Dower [Sat, 16 Jan 2016 21:55:05 +0000 (13:55 -0800)]
Issue #26071: bdist_wininst created binaries fail to start and find 32bit Python
Steve Dower [Sat, 16 Jan 2016 21:54:53 +0000 (13:54 -0800)]
Issue #26071: bdist_wininst created binaries fail to start and find 32bit Python
Steve Dower [Sat, 16 Jan 2016 21:48:31 +0000 (13:48 -0800)]
Issue #26073: Update the list of magic numbers in launcher
Steve Dower [Sat, 16 Jan 2016 21:48:06 +0000 (13:48 -0800)]
Issue #26073: Update the list of magic numbers in launcher
Steve Dower [Sat, 16 Jan 2016 21:45:32 +0000 (13:45 -0800)]
Issue #26065: Excludes venv from library when generating embeddable distro.
Steve Dower [Sat, 16 Jan 2016 21:44:43 +0000 (13:44 -0800)]
Issue #26065: Excludes venv from library when generating embeddable distro.
Steve Dower [Sat, 16 Jan 2016 20:41:03 +0000 (12:41 -0800)]
Merge
Steve Dower [Sat, 16 Jan 2016 20:40:19 +0000 (12:40 -0800)]
Issue #25850: Use cross-compilation by default for 64-bit Windows.
Ethan Furman [Sat, 16 Jan 2016 20:39:53 +0000 (12:39 -0800)]
use public 'value'
Steve Dower [Sat, 16 Jan 2016 20:39:10 +0000 (12:39 -0800)]
Issue #25850: Use cross-compilation by default for 64-bit Windows.
Steve Dower [Sat, 16 Jan 2016 19:59:02 +0000 (11:59 -0800)]
Issue #25089: Adds short documentation section for modifying an install.
Steve Dower [Sat, 16 Jan 2016 19:58:30 +0000 (11:58 -0800)]
Issue #25089: Adds short documentation section for modifying an install.
Martin Panter [Sat, 16 Jan 2016 11:01:14 +0000 (11:01 +0000)]
Issue #23883: grp and pwd are None on Windows
Serhiy Storchaka [Sat, 16 Jan 2016 09:05:11 +0000 (11:05 +0200)]
Issue #23883: Removed redundant names from blacklists.
Martin Panter [Sat, 16 Jan 2016 07:01:46 +0000 (07:01 +0000)]
Issue #23883: Update news
Martin Panter [Sat, 16 Jan 2016 06:59:13 +0000 (06:59 +0000)]
Issue #23883: Add missing APIs to tarfile.__all__
Patch by Joel Taddei and Jacek Kołodziej.
Martin Panter [Sat, 16 Jan 2016 06:49:30 +0000 (06:49 +0000)]
Issue #23883: Add missing APIs to calendar.__all__
Patch by Joel Taddei and Jacek Kołodziej.
Martin Panter [Sat, 16 Jan 2016 06:26:54 +0000 (06:26 +0000)]
Issue #23883: Missing fileinput.__all__ APIs; patch by Mauro SM Rodrigues
Senthil Kumaran [Sat, 16 Jan 2016 05:46:08 +0000 (21:46 -0800)]
Merge from 3.5
Issue26035 - Correct the argument names used in the docs of the traceback module. Make it consistent with module args.
Patch contributed by Upendra Kumar.
Senthil Kumaran [Sat, 16 Jan 2016 05:45:17 +0000 (21:45 -0800)]
Issue26035 - Correct the argument names used in the docs of the traceback module. Make it consistent with module args.
Patch contributed by Upendra Kumar.
Martin Panter [Sat, 16 Jan 2016 05:20:57 +0000 (05:20 +0000)]
Issue #26127: Merge test_gdb fix from 3.5
Martin Panter [Sat, 16 Jan 2016 05:18:47 +0000 (05:18 +0000)]
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.
Martin Panter [Sat, 16 Jan 2016 04:34:50 +0000 (04:34 +0000)]
Issue #26127: Merge tokenize documentation
Martin Panter [Sat, 16 Jan 2016 04:32:52 +0000 (04:32 +0000)]
Issue #26127: Fix links in tokenize documentation; patch by Silent Ghost
Gregory P. Smith [Sat, 16 Jan 2016 01:30:42 +0000 (17:30 -0800)]
Make the error message regex more lenient so that it matches both
"certificate verify failed " and "CERTIFICATE_VERIFY_FAILED " as
some SSL libraries use different text than OpenSSL.
Gregory P. Smith [Sat, 16 Jan 2016 01:30:24 +0000 (17:30 -0800)]
Make the error message regex more lenient so that it matches both
"certificate verify failed " and "CERTIFICATE_VERIFY_FAILED " as
some SSL libraries use different text than OpenSSL.
Gregory P. Smith [Sat, 16 Jan 2016 01:29:45 +0000 (17:29 -0800)]
Make the error message regex more lenient so that it matches both
"certificate verify failed " and "CERTIFICATE_VERIFY_FAILED " as
some SSL libraries use different text than OpenSSL.
Ethan Furman [Fri, 15 Jan 2016 23:03:12 +0000 (15:03 -0800)]
branch merge
Ethan Furman [Fri, 15 Jan 2016 23:01:33 +0000 (15:01 -0800)]
revert change
87a9dff5106c : pure Enum members again evaluate to True;
update Finer Points section of docs to cover boolean evaluation;
add more tests for pure and mixed boolean evaluation
Brett Cannon [Fri, 15 Jan 2016 21:33:03 +0000 (13:33 -0800)]
Issue #25791: Raise an ImportWarning when __spec__ or __package__ are
not defined for a relative import.
This is the start of work to try and clean up import semantics to rely
more on a module's spec than on the myriad attributes that get set on
a module. Thanks to Rose Ames for the patch.
Brett Cannon [Fri, 15 Jan 2016 19:23:46 +0000 (11:23 -0800)]
Merge for issue #17633
Brett Cannon [Fri, 15 Jan 2016 19:22:19 +0000 (11:22 -0800)]
Issue #17633: Improve support for namespace packages with zipimport.
Previously zipimport mistakenly limited namespace support to only the
top-level of the zipfile when it should have supported an arbitrary
depth.
Thanks to Phil Connel for the bug report and initial patch and Mike
Romberg for the final patch.
Brett Cannon [Fri, 15 Jan 2016 17:54:16 +0000 (09:54 -0800)]
Merge 'used with permission' additions
Brett Cannon [Fri, 15 Jan 2016 17:53:51 +0000 (09:53 -0800)]
Add some "used with permission" mentions where external resources are referenced.
Permission was validated prior to adding these markings.
Brett Cannon [Fri, 15 Jan 2016 17:39:06 +0000 (09:39 -0800)]
Merge for issue #26114
Brett Cannon [Fri, 15 Jan 2016 17:38:24 +0000 (09:38 -0800)]
Issue #26114: Remove a reference to 'Numerical Recipes'.
While no copyright violation occurred, the license which
'Numerical Recipes' operates under is not amenable to Python,
so to prevent confusion it's easier to simply remove its mention.
Martin Panter [Fri, 15 Jan 2016 02:37:21 +0000 (02:37 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.5
Martin Panter [Fri, 15 Jan 2016 02:28:59 +0000 (02:28 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.4 into 3.5
Martin Panter [Fri, 15 Jan 2016 02:18:31 +0000 (02:18 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.3 into 3.4
Martin Panter [Fri, 15 Jan 2016 02:08:13 +0000 (02:08 +0000)]
Issue #25940: Merge ETIMEDOUT fix from 3.2 into 3.3
Martin Panter [Fri, 15 Jan 2016 01:16:41 +0000 (01:16 +0000)]
Issue #25940: On Windows, connecting to port 444 returns ETIMEDOUT
Martin Panter [Thu, 14 Jan 2016 13:26:43 +0000 (13:26 +0000)]
Issue #25940: test_ssl is working again
Martin Panter [Thu, 14 Jan 2016 13:25:06 +0000 (13:25 +0000)]
Issue #25940: Merge self-signed.pythontest.net testing from 3.5
Martin Panter [Thu, 14 Jan 2016 13:05:46 +0000 (13:05 +0000)]
Issue #25940: Update new SSL tests for self-signed.pythontest.net
Removed SSL_ERROR_SYSCALL checking from ssl_io_loop() so that the loop can
terminate when unwrap() raises that error.
Martin Panter [Thu, 14 Jan 2016 13:22:29 +0000 (13:22 +0000)]
Issue #25940: Merge self-signed.pythontest.net testing from 3.4 into 3.5
doko@ubuntu.com [Thu, 14 Jan 2016 13:05:21 +0000 (14:05 +0100)]
- merge 3.5
doko@ubuntu.com [Thu, 14 Jan 2016 13:04:59 +0000 (14:04 +0100)]
dictobject.c(dict_sizeof): Make it static again.
Martin Panter [Thu, 14 Jan 2016 12:53:56 +0000 (12:53 +0000)]
Issue #25940: Update new SSL tests for self-signed.pythontest.net
Martin Panter [Thu, 14 Jan 2016 12:46:49 +0000 (12:46 +0000)]
Issue #25940: Merge self-signed.pythontest.net testing from 3.3 into 3.4
Martin Panter [Thu, 14 Jan 2016 12:21:02 +0000 (12:21 +0000)]
Issue #25940: Merge self-signed.pythontest.net testing from 3.2 into 3.3
Martin Panter [Thu, 14 Jan 2016 09:36:00 +0000 (09:36 +0000)]
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 (in Python 3.4+).
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}
The new server responds with "No route to host" when connecting to port 444.
Senthil Kumaran [Thu, 14 Jan 2016 08:11:39 +0000 (00:11 -0800)]
Issue #25822: Add docstrings to the fields of urllib.parse results.
Patch contributed by Swati Jaiswal.
Senthil Kumaran [Wed, 13 Jan 2016 15:48:57 +0000 (07:48 -0800)]
Add a NEWS entry for Issue #22642.
Senthil Kumaran [Wed, 13 Jan 2016 15:46:54 +0000 (07:46 -0800)]
Issue22642 - Convert trace module's option handling mechanism from getopt to argparse.
Patch contributed by SilentGhost.
Senthil Kumaran [Tue, 12 Jan 2016 14:18:32 +0000 (06:18 -0800)]
Issue25347 - Format the error message output of mock's assert_has_calls method.
Patch contributed by Robert Zimmerman.
Ezio Melotti [Tue, 12 Jan 2016 09:27:58 +0000 (11:27 +0200)]
#26001: merge with 3.5.
Ezio Melotti [Tue, 12 Jan 2016 09:27:30 +0000 (11:27 +0200)]
#26001: mention in the tutorial that files in binary mode expect bytes, not str.