Steve Dower
109bc3aa73
Closes #28059 : Fixes test_platform to set PYTHONPATH for .pyd files
2016-09-10 12:19:42 -07:00
Steve Dower
f028d9f71a
Issue #27932 : Backs out change
2016-09-10 11:52:18 -07:00
Martin Panter
99e843b48e
Correct spelling in documentation and code comment
2016-09-10 10:38:28 +00:00
Victor Stinner
c7a070e998
regrtest: accept options after test names
2016-09-10 04:27:28 -04:00
Serhiy Storchaka
8ddcf3abf7
Issue #28019 : itertools.count() no longer rounds non-integer step in range
...
between 1.0 and 2.0 to 1.
2016-09-10 09:49:24 +03:00
Guido van Rossum
e617521b0d
Use raw string for regexp
2016-09-09 21:39:10 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
28325749c0
Issue #25969 : Update the lib2to3 grammar to handle the unpacking
...
generalizations added in 3.5.
2016-09-09 18:18:52 -07:00
Gregory P. Smith
dbdf029a55
remove fix_callable - callable() was readded many releases ago.
2016-09-09 18:14:33 -07:00
Steve Dower
6a294a54de
Issue #27932 : Fixes memory leak in platform.win32_ver()
2016-09-09 18:01:25 -07:00
Steve Dower
8dcc48ee3b
Issue #25758 : Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun)
2016-09-09 17:27:33 -07:00
R David Murray
347dc95cd3
#14977 : Make mailcap respect the order of the lines in the mailcap file.
...
This is required by RFC 1542, so despite the subtle behavior change we
are treating it as a bug. Patch by Michael Lazar.
2016-09-09 20:04:23 -04:00
Raymond Hettinger
ae9e5f032d
Issue #22450 : Use "Accept: */*" in the default headers for urllib.request
2016-09-09 16:43:48 -07:00
Guido van Rossum
7b3b3dc85d
Merge asyncio upstream.
2016-09-09 14:26:31 -07:00
Guido van Rossum
1140a03426
Rename Future._blocking to _asyncio_future_blocking.
...
This is now an official "protected" API that can be used to write
classes that are duck-type-compatible with Future without subclassing
it. (For that purpose I also changed isinstance(result, Future) to
check for this attribute instead.)
Hopefully Amber Brown can use this to make Twisted.Deferred compatible
with asyncio.Future.
Tests and docs are TBD.
2016-09-09 12:54:54 -07:00
R David Murray
94a7927cc6
#28047 : Fix calculation of base64 line length.
...
This is buggy in the old email code as well, but it doesn't affect anything
there because only the default line length is ever used there.
2016-09-09 15:00:09 -04:00
Steve Dower
41519b2ca8
Issue #26513 : Fixes platform module detection of Windows Server
2016-09-09 09:46:56 -07:00
Donald Stufft
6bde454f9e
Merge 3.4
2016-09-09 12:14:43 -04:00
Donald Stufft
16d7d5941d
Upgrade setuptools to 27.1.2
2016-09-09 12:08:53 -04:00
Donald Stufft
621333d227
Merge 3.4
2016-09-09 11:35:43 -04:00
Donald Stufft
d25d9dc1fc
Upgrade setuptools to 27.1.1
2016-09-09 11:35:02 -04:00
R David Murray
eaab1ca558
#27630 : Be consistent in how _XXX/_encoded_XXX vars are initialized.
2016-09-08 22:21:27 -04:00
Raymond Hettinger
262b6793e0
Issue #26020 : Fix evaluation order for set literals
2016-09-08 14:40:36 -07:00
Senthil Kumaran
5dc504c3c9
Issue28010 - Make http.client.HTTPConnection.putrequest documentation consistent with the code.
2016-09-08 14:28:01 -07:00
Davin Potts
37156a70b9
Issue #21201 : Improves readability of multiprocessing error message from server to client for certain exceptions
2016-09-08 14:40:36 -05:00
Berker Peksag
2b2a9be913
Issue #27445 : Don't pass str(_charset) to MIMEText.set_payload()
...
Patch by Claude Paroz.
2016-09-08 19:40:30 +03:00
Senthil Kumaran
82733fac8d
Issue11551 - Increase the test coverage of _dummy_thread module to 100%.
...
Initial patch contributed by Denver Coneybeare.
2016-09-08 02:46:22 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
9719161858
Fix indentation (reindent.py).
2016-09-08 00:48:07 +00:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
dd1c638b92
lib2to3.pgen3.driver.load_grammar() now creates a stable cache file
...
between runs given the same Grammar.txt input regardless of the hash
randomization setting.
2016-09-08 00:40:07 +00:00
Vinay Sajip
d61910c598
Fixes #27930 : improved QueueListener behaviour.
2016-09-08 01:13:39 +01:00
Martin Panter
0f0eac431f
Issue #27993 : Fix problems with plural objects in docs and comments
2016-09-07 11:04:41 +00:00
Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-09-07 12:03:06 +00:00
Martin Panter
be8da9c990
Issue #27570 : Avoid zero-length memcpy() calls with null source pointers
2016-09-07 11:04:41 +00:00
R David Murray
dc1650ca06
#22233 : Only split headers on \r and/or \n, per email RFCs.
...
Original patch by Martin Panter, new policy fixes by me.
2016-09-07 17:44:34 -04:00
R David Murray
c2e2473bc2
27988: Make sure iter_attachments does not mutate the payload list.
2016-09-07 13:39:36 -04:00
Benjamin Peterson
48c88307d8
capture stderr to silence output during test_coroutines ( closes #27968 )
2016-09-07 09:00:48 -07:00
Senthil Kumaran
32d374215a
[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".
2016-09-07 00:52:20 -07:00
Berker Peksag
4bf580d6d5
Issue #21250 : Add tests for SQLite's ON CONFLICT clause
...
Initial patch by Alex LordThorsen.
2016-09-07 02:04:34 +03:00
Christian Heimes
1c03abd026
Issue #27691 : Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs.
2016-09-06 23:25:35 +02:00
Christian Heimes
03d13c0cbf
Issues #27850 and #27766 : Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305.
2016-09-06 20:06:47 +02:00
Benjamin Peterson
cbef66d711
suppress stderr output when checking gdb ( closes #27969 )
2016-09-06 10:06:31 -07:00
Jason R. Coombs
1f5fd648b1
Issue #27960 : Revert state to 675e20c38fdac6, backing out all changes by developed for Issue #12885 .
2016-09-05 22:24:01 -04:00
Senthil Kumaran
4672060d86
Update pkgutil docs to reference appropriate finder and loader object documentation.
...
Initial patch contributed by Jaysinh shukla.
2016-09-05 17:11:51 -07:00
Zachary Ware
f4a7381719
Issue #27748 : Backed out changeset f845e24d794e
...
Apparently the test succeeds on XP.
2016-09-05 18:08:27 -05:00
Zachary Ware
9ed756bc21
Issue #27748 : strengthen test_alias_nofallback
...
This test should always raise RuntimeError.
2016-09-05 17:19:35 -05:00
Christian Heimes
598894ff48
Issue #26470 : Port ssl and hashlib module to OpenSSL 1.1.0.
2016-09-05 23:19:05 +02:00
Zachary Ware
b3b7a5a16b
Issue #27748 : Simplify test_winsound.
...
The tests no longer attempt to figure out if a soundcard or particular
system sounds are available. Instead, it just tries everything and
accepts RuntimeError as a flavor of success.
2016-09-05 16:06:56 -05:00
Benjamin Peterson
2f40ed4b94
do not allow _PyGen_Finalize to fail ( closes #27811 )
...
Patch from Armin Rigo.
2016-09-05 10:14:54 -07:00
Terry Jan Reedy
fb5ce7eea1
Issue #27918# test.resource.is_gui_available no longer flashes tk window.
...
Also, don't run it if 'gui' is not requested. Patch by Xiang Zhang.
2016-09-05 00:01:34 -04:00
Raymond Hettinger
16eb827b33
Improve docs for random.seed()
2016-09-04 11:17:28 -07:00
Vinay Sajip
ab7b0a03b5
Fixes #27937 : optimise code used in all logging calls.
2016-09-03 16:50:09 +01:00
Raymond Hettinger
f0f1c239e4
Issue 27936: Fix inconsistent round() behavior between float and int
2016-09-03 01:55:11 -07:00
Jason R. Coombs
79ae9671ff
Issue #12885 : Revert commits in 3.4 branch which is security-only fixes.
2016-09-01 23:27:45 -04:00
Jason R. Coombs
b44c849de4
Merge backout for test suite fix
2016-09-01 21:59:46 -04:00
Jason R. Coombs
8ac147d6ee
Backed out changeset cc86e9e102e8
2016-09-01 21:55:22 -04:00
Jason R. Coombs
65e3319283
Issue #12285 : Merge with 3.4
2016-09-01 21:15:04 -04:00
Serhiy Storchaka
2891492d23
Issue #27881 : Fixed possible bugs when setting sqlite3.Connection.isolation_level.
...
Based on patch by Xiang Zhang.
2016-09-01 22:18:03 +03:00
Terry Jan Reedy
00b1e0f7ea
Issue #27922 : IDLE tests no longer flash tk widgets.
2016-08-31 21:03:16 -04:00
Raymond Hettinger
c7bab7cbf5
Issue #27706 : Fix regression in random.seed(somestr, version=1)
2016-08-31 15:01:08 -07:00
Guido van Rossum
4786787c07
Fix ordering issues in UNIX read/write pipe transport constructors.
...
Upstream https://github.com/python/asyncio/pull/408 by Ron Frederick.
2016-08-31 09:42:38 -07:00
Guido van Rossum
8b7918a7e2
Don't select for read on character devices in _UnixWritePipeTransport.
...
Upstream https://github.com/python/asyncio/pull/374 by Ron Frederick.
2016-08-31 09:40:18 -07:00
Guido van Rossum
09c22adadf
Issue #27907 : variable rename. (Ville Skyttä)
2016-08-31 09:08:41 -07:00
Terry Jan Reedy
3399e1e38c
? Working Directory ?
2016-08-30 16:58:01 -04:00
Zachary Ware
5cf1c6cb62
Skip test_tools.test_i18n when pygettext.py is missing
2016-08-30 10:00:26 -05:00
Serhiy Storchaka
ef113cd4cc
Issue #27861 : Fixed a crash in sqlite3.Connection.cursor() when a factory
...
creates not a cursor. Patch by Xiang Zhang.
2016-08-29 14:29:55 +03:00
Martin Panter
c427b8d517
Issue #19884 : Avoid spurious output on OS X with Gnu Readline
...
Also adjust the test condition, because enable-meta-key was only added in
6.1, not 6.0.
2016-08-27 03:23:11 +00:00
Berker Peksag
cc9afa9b51
Issue #10513 : Fix a regression in Connection.commit()
...
Statements should not be reset after a commit.
Backported from 029050896b
2016-08-26 22:07:51 +03:00
Raymond Hettinger
7ea386e56e
Issue 19504: Change "customise" to "customize" American spelling.
2016-08-25 21:11:50 -07:00
Terry Jan Reedy
39e9af6bb3
Add version to title of IDLE help window.
2016-08-25 20:04:14 -04:00
Terry Jan Reedy
1f8cc33f88
Issue #25564 : Mention exec and __builtins__ in IDLE-console difference section.
2016-08-25 01:22:30 -04:00
Guido van Rossum
efa798d1ba
A new version of typing.py from https://github.com/python/typing .
2016-08-23 11:01:50 -07:00
Guido van Rossum
83f5a3846c
In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is in self._waiters.
2016-08-23 09:39:03 -07:00
Mark Dickinson
844796530a
Issue #27539 : Fix unnormalised Fraction.__pow__ result for negative exponent and base. Thanks Vedran Čačić.
2016-08-22 10:50:53 +01:00
Berker Peksag
6afe85827c
Issue #21718 : cursor.description is now available for queries using CTEs
...
According to PEP 249, cursor.description must be
available for any SELECT statements, such as those
that use CTEs.
Backported from f67fa9c898
Additional test cases added by me.
2016-08-21 19:38:47 +03:00
Nick Coghlan
8682f578c1
Issue #27782 : Fix m_methods handling in multiphase init
...
Multi-phase extension module import now correctly allows the
``m_methods`` field to be used to add module level functions
to instances of non-module types returned from ``Py_create_mod``.
Patch by Xiang Zhang.
2016-08-21 17:41:56 +10:00
Martin Panter
9c8aa9bffe
Issue #27487 : Warn if submodule already imported before runpy execution
...
Also try to clarify the find_spec() error message.
2016-08-21 04:07:58 +00:00
Terry Jan Reedy
9f957705d6
Fix typo in IDLE News.
2016-08-21 00:18:55 -04:00
Terry Jan Reedy
d3fb55797b
Add 3.5.3 IDLE NEWS and idlelib/NEWS.txt items.
2016-08-20 21:41:03 -04:00
Terry Jan Reedy
f7ac36837a
Issue #27714 : Remove unneeded non-idempotent call that fails on retest.
2016-08-20 21:07:38 -04:00
Martin Panter
d874c05547
Issue #27614 : Avoid race in test_docxmlrpc server setup
2016-08-20 06:50:58 +00:00
Martin Panter
68c1f1ed03
Issue #27787 : Clean up weak references before checking for dangling threads
2016-08-20 06:50:14 +00:00
Berker Peksag
53926f19cd
Issue #27801 : Skip test_update_lines_cols when update_lines_cols() is not available
2016-08-19 17:59:01 +03:00
R David Murray
750018b91a
#2466 : ismount now recognizes mount points user can't access.
...
Patch by Robin Roth, reviewed by Serhiy Storchaka, comment wording
tweaked by me.
2016-08-18 21:27:48 -04:00
Victor Stinner
eec9331b20
Fix SystemError in "raise" statement
...
Issue #27558 : Fix a SystemError in the implementation of "raise" statement.
In a brand new thread, raise a RuntimeError since there is no active
exception to reraise.
Patch written by Xiang Zhang.
2016-08-18 18:13:10 +02:00
Victor Stinner
3da57436ba
Issue #27698 : Add socketpair to socket.__all__ on Windows
2016-08-17 14:40:08 +02:00
Victor Stinner
7e6977a8bc
script_helper: kill the subprocess on error
...
If Popen.communicate() raises an exception, kill the child process to not leave
a running child process in background and maybe create a zombi process.
This change fixes a ResourceWarning in Python 3.6 when unit tests are
interrupted by CTRL+c.
2016-08-17 12:29:58 +02:00
Gregory P. Smith
d4583d7fea
Issue #26750 : use inspect.isdatadescriptor instead of our own
...
_is_data_descriptor().
2016-08-15 23:23:40 -07:00
Terry Jan Reedy
22ba01ea55
Issue #27611 : Don't import volatile attribute.
2016-08-16 01:44:12 -04:00
Benjamin Peterson
b1c6bdc76a
merge 3.4
2016-08-15 21:43:57 -07:00
Benjamin Peterson
432ea4ff37
fail when negative values are passed to instr()
2016-08-15 21:40:14 -07:00
Donald Stufft
80a3ba90fd
merge 3.4
2016-08-14 16:10:17 -04:00
Donald Stufft
5e4aafa258
Update setuptools/pip to 25.2.0/8.1.2
2016-08-14 16:09:56 -04:00
Benjamin Peterson
f17a8e9acd
merge 3.4
2016-08-13 18:21:16 -07:00
Benjamin Peterson
40a77c3381
do not allow reading negative values with getstr()
2016-08-13 18:15:28 -07:00
Raymond Hettinger
f6ffa9826e
Issue #27720 : Fix error in eng_to_decimal docs and add examples from the specification.
...
(Based on a first draft patch from Evelyn Mitchell.)
2016-08-13 11:15:34 -07:00
Martin Panter
3cf0b2515b
Issue #26741 : Clean up subprocess.Popen object in test_poll
2016-08-12 11:59:52 +00:00
Martin Panter
b63c56077f
Close HTTP connections and responses in tests to avoid ResourceWarnings
2016-08-12 11:59:52 +00:00
Terry Jan Reedy
2084350685
Issue #27714 : text_textview now passes when re-run in the same process
...
because test_idle failed while running with test -w (and no -jn).
2016-08-10 16:52:24 -04:00
Martin Panter
540f0451d2
Correct misspellings of ISO-8859
2016-08-10 05:25:16 +00:00
Vinay Sajip
085e806798
Closes #21999 : Handled empty strings correctly when in POSIX mode.
2016-08-09 15:04:49 +01:00
Gregory P. Smith
9854789efe
Issue #26750 : unittest.mock.create_autospec() now works properly
...
for subclasses of property() and other data descriptors.
2016-08-07 08:52:26 -07:00
Vinay Sajip
0b588869ee
Issue #20160 : Merged fix from 3.4.
2016-08-05 21:44:15 +01:00
Vinay Sajip
a0b2568627
Issue #20160 : Merged fix from 3.3.
2016-08-05 21:43:25 +01:00
Vinay Sajip
6f25003291
Issue #20160 : Handled passing of large structs to callbacks correctly.
2016-08-05 21:24:27 +01:00
Martin Panter
69332c1a64
Fix spelling and grammar in documentation and code comments
2016-08-04 13:07:31 +00:00
Donald Stufft
c6c2217f27
Merge 3.3
2016-08-03 18:48:17 -04:00
Donald Stufft
fb7929044a
Switch upload.pypi.io to upload.pypi.org
2016-08-03 18:43:38 -04:00
Senthil Kumaran
436fe5a447
[merge from 3.3] Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:34:34 -07:00
Senthil Kumaran
4cbb23f8f2
Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:24:16 -07:00
Donald Stufft
ef330d35c8
Merge 3.4
2016-08-03 18:49:19 -04:00
Stefan Krah
9de620e970
Issue #20767 : Fix -R option for FreeBSD/clang.
2016-08-03 11:18:26 +02:00
Stefan Krah
e12a68be35
Issue #27241 : Catch exception when running pstats as main.
2016-08-02 22:30:24 +02:00
Senthil Kumaran
17742f2d45
[merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-1000110)
...
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.
Issue #27568 Reported and patch contributed by Rémi Rampin.
2016-07-30 23:39:06 -07:00
Martin Panter
eb9957065a
Issue #27626 : Spelling fixes in docs, comments and internal names
...
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Berker Peksag
5f804e387e
Issue #13849 : Fix test_null_bytes under Windows
2016-07-23 08:42:41 +03:00
Berker Peksag
9adc1a38bd
Issue #13849 : Add tests for null byte checking in test_genericpath
2016-07-23 07:31:47 +03:00
Martin Panter
84544c1020
Issue #27130 : Fix handling of buffers exceeding UINT_MAX in “zlib” module
...
Patch by Xiang Zhang.
2016-07-23 03:02:07 +00:00
Martin Panter
221945056d
Issue #27528 : Document and test warning messages must match at beginning
2016-07-19 02:26:38 +00:00
Stefan Krah
8c126f17f0
Issue #26974 : Fix segfault in the presence of absurd subclassing. Proactively
...
eliminate all internal uses of overridden methods.
2016-07-17 14:01:42 +02:00
Serhiy Storchaka
6c2f1fd710
Issues #23147 , #23148 : Presumably fixed bugs in folding UnstructuredTokenList.
2016-07-17 13:25:15 +03:00
Serhiy Storchaka
dec25afab1
Issue #17711 : Fixed unpickling by the persistent ID with protocol 0.
...
Original patch by Alexandre Vassalotti.
2016-07-17 11:24:17 +03:00
Terry Jan Reedy
ff1d5ab16e
Issue #25507 : IDLE no longer runs buggy code because of its tkinter imports.
...
Users must include the same imports required to run directly in Python.
2016-07-16 18:26:32 -04:00
Brett Cannon
7ca63cb7cc
Fix regressions introduced by fixes for issue #27083 .
2016-07-16 10:44:13 -07:00
R David Murray
702b0460d2
#27522 : break unintended cycle in feedparser.
...
Patch by Costas.
2016-07-15 21:29:13 -04:00
Brett Cannon
a47a7a5bf8
Issue #27083 : Respect the PYTHONCASEOK environment variable under
...
Windows.
Originally only b'PYTHONCASEOK' was being checked for in os.environ,
but that won't work under Windows where all environment variables are
strings (on OS X they are bytes).
Thanks to Eryk Sun for the bug report.
2016-07-15 11:54:38 -07:00
Brett Cannon
f76457e122
Issue #26844 : Fix imp.find_module() to have the exception related to
...
type issues be about 'path' instead of 'name'.
Thanks to Lev Maximov for the patch.
2016-07-15 10:58:54 -07:00
Benjamin Peterson
e09ed5419b
make too many nested blocks be a SyntaxError instead of a SystemError ( closes #27514 )
...
Patch by Ammar Askar.
2016-07-14 22:00:03 -07:00
Martin Panter
c29df658a7
Issue #27369 : Merge test_pyexpat from 3.4 into 3.5
2016-07-14 03:35:15 +00:00
Martin Panter
b7b5d35545
Issue #27369 : Merge test_pyexpat from 3.3 into 3.4
2016-07-14 02:09:17 +00:00
Martin Panter
d27a7c1f22
Issue #27369 : Merge test_pyexpat from 3.2 into 3.3
2016-07-14 01:42:53 +00:00
Martin Panter
076ca6c3c8
Issue #27369 : Don’t test error message detail that changed in Expat 2.2.0
2016-07-14 01:31:46 +00:00
Yury Selivanov
252e9ed974
Issue #27392 : Add loop.connect_accepted_socket().
...
Patch by Jim Fulton.
2016-07-12 18:23:10 -04:00
Martin Panter
204bf0b9ae
English spelling and grammar fixes
2016-07-11 07:51:37 +00:00
Martin Panter
bed7f1a512
Issue #23804 : Fix SSL zero-length recv() calls to not block and raise EOF
2016-07-11 00:17:13 +00:00
R David Murray
5f21f43af7
#22758 : fix regression in handling of secure cookies.
...
This backports the fix from #16611 , per discussion with the release
manager.
2016-07-10 13:32:43 -04:00
Senthil Kumaran
d5b47fb8ce
Issue #27466 : Change time format returned by http.cookie.time2netscape,
...
confirming the netscape cookie format.
2016-07-10 06:45:38 -07:00
Donald Stufft
a1fc45ae73
Fix a test with the new upload URL
2016-07-06 17:46:37 -04:00
Benjamin Peterson
9409b4aa8f
merge 3.4
2016-07-06 14:00:38 -07:00
Donald Stufft
ad04a85aff
Switch to the new upload url for PyPI
2016-07-06 16:18:39 -04:00
Donald Stufft
188c118ba5
Switch to the new upload url for PyPI
2016-07-06 15:27:35 -04:00
Terry Jan Reedy
2279aeb282
Issue #27452 : add line counter and crc to IDLE configHandler test dump.
2016-07-05 20:09:53 -04:00
Serhiy Storchaka
a793037d80
Issue #19527 : Fixed tests with defined COUNT_ALLOCS.
2016-07-03 22:27:26 +03:00
Serhiy Storchaka
af65872da2
Issue #27443 : __length_hint__() of bytearray itearator no longer return
...
negative integer for resized bytearray.
2016-07-03 14:41:36 +03:00
Berker Peksag
8faca61fec
Issue #27431 : Update default protocol version in shelve.Shelf() documentation
...
shelve.open() documentation was updated in f351fb7ea179.
2016-07-01 12:33:00 +03:00
Berker Peksag
e39682b076
Issue #27430 : Fix typos, patch by scop.
2016-07-01 12:17:05 +03:00
Brett Cannon
660c8fc997
Issue #26665 : Remove mis-use of ``$`` in activate.fish.
...
This is a revertion of cfc66e37eb8e.
Thanks to 鄭景文 for the bug report. Thanks to Tin Tvrtković, Xiang
Zhang, and Dan McCombs for diagnosing the issue.
2016-06-30 11:41:55 -07:00
Serhiy Storchaka
15287f8bcc
Issue #4945 : Improved the documenting of boolean arguments in the json module.
...
Based on patch by Gabriel Genellina.
2016-06-30 13:59:12 +03:00
Yury Selivanov
63bf487688
asyncio: Use socket specs for getaddrinfo() in sock_connect()
...
Patch by Martin Richard. GH PR #365 .
2016-06-28 11:00:22 -04:00
Yury Selivanov
77bc04a3bc
asyncio: Fix NameError in sslproto _fatal_error()
...
Patch by Richard Walker.
2016-06-28 10:55:36 -04:00
Larry Hastings
1b329e791a
Merge.
2016-06-26 19:53:18 -07:00
Terry Jan Reedy
1e957d145f
Update NEWS and idlelib NEWS.text.
2016-06-26 18:20:20 -04:00
Serhiy Storchaka
745a407df8
Issue #22115 : Fixed tracing Tkinter variables:
...
* tracing in the "u" mode now works
* trace_vdelete() with wrong mode no longer break tracing
* trace_vinfo() now always returns a list of pairs of strings
2016-06-26 17:42:23 +03:00
Larry Hastings
27d3529d87
Regenerate pydoc topics for 3.4.5 final.
2016-06-25 14:42:04 -07:00
Larry Hastings
66b84c00c5
Update pydoc topics for 3.5.2 final.
2016-06-25 14:09:37 -07:00
Brett Cannon
e92dc9c23d
Fix a scoping issue where an UnboundLocalError was triggered if a
...
lazy-loaded module was already in sys.modules.
2016-06-25 10:47:53 -07:00
Berker Peksag
e495646a97
Issue #18300 : Set TERM='' by default in assert_python_*
2016-06-24 09:28:50 +03:00
Berker Peksag
91d53e7b20
Make PyPIRCCommandTestCase derive from a base class
...
Several test cases in distutils use PyPIRCCommandTestCase as
their base class and as a result of that the following tests
were ran more than once:
* test_server_registration
* test_server_empty_registration
* test_config_interpolation
This commit moves the infrastructure used by other tests
into a new BasePyPIRCCommandTestCase class.
2016-06-24 08:48:27 +03:00
Terry Jan Reedy
06a1fcbb00
Issue #27365 : Allow non-ascii in idlelib/NEWS.txt, for contributor names.
...
Rest of patch that should not be cherry picked into 3.5.2 final.
2016-06-22 04:17:28 -04:00
Terry Jan Reedy
05029d56f4
Issue #27365 : Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2.
2016-06-22 03:55:20 -04:00
Terry Jan Reedy
6ff7a14b91
Issue #27365 : Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2.
2016-06-22 03:55:20 -04:00
Berker Peksag
c529af3fcb
Issue #20120 : Add a test case to verify the % char can be used in .pypirc
...
I noticed that there is no test for this feature while doing
triaging work on pypa/pypi-legacy.
2016-06-20 21:41:34 +03:00
Stefan Krah
6817c59cf0
Issue #27006 : from_float(): call the subclass' __new__() and __init__().
2016-06-20 12:10:13 +02:00
Serhiy Storchaka
ce1a9f309f
Added more tests for issue #27122 .
2016-06-20 05:29:54 +03:00
Serhiy Storchaka
5943ea76d5
Issue #23641 : Added __getnewargs_ex__ to the list of special mock attributes.
2016-06-19 18:30:43 +03:00
Serhiy Storchaka
514f9736a7
Issue #27294 : Numerical state in the repr for Tkinter event objects is now
...
represented as a compination of known flags.
2016-06-18 22:08:11 +03:00
Berker Peksag
56fe4749fb
Issue #27349 : Fix typo in distutils upload command
2016-06-18 21:42:37 +03:00
Serhiy Storchaka
9305d83425
Issue #26754 : PyUnicode_FSDecoder() accepted a filename argument encoded as
...
an iterable of integers. Now only strings and byte-like objects are accepted.
2016-06-18 13:53:36 +03:00
Serhiy Storchaka
886a5f352f
Issue #27343 : Fixed error message for conflicting initializers of ctypes.Structure.
2016-06-18 09:58:24 +03:00
Steve Dower
08bb8a41cc
Issue #27048 : Prevents distutils failing on Windows when environment variables contain non-ASCII characters
2016-06-17 09:32:38 -07:00
Serhiy Storchaka
cefa9172a2
Issue #27238 : Got rid of bare excepts in the turtle module. Original patch
...
by Jelle Zijlstra.
2016-06-14 22:52:04 +03:00
Gregory P. Smith
ba2ecd6841
Issue #27123 : When an exception is raised within the context being
...
managed by a contextlib.ExitStack() and one of the exit stack
generators catches and raises it in a chain, do not re-raise the
original exception when exiting, let the new chained one through.
This avoids the PEP 479 bug described in issue25782.
2016-06-14 09:19:20 -07:00
Martin Panter
a8cadb2243
Issue #16182 : One more check for set_pre_input_hook()
2016-06-14 11:29:31 +00:00
Berker Peksag
f85bce74db
Mark tests as skipped when a SQLite version is not supported
2016-06-14 14:19:02 +03:00
Berker Peksag
2b50899a28
Remove empty setUp and tearDown methods from sqlite3 tests
...
They are not used as base classes by another tests so they
can safely be removed.
2016-06-14 13:25:11 +03:00
Serhiy Storchaka
8e6d09c1cc
Issue #26386 : Fixed ttk.TreeView selection operations with item id's
...
containing spaces.
2016-06-14 12:33:31 +03:00
Martin Panter
6afbc653a7
Issue #16182 : set_pre_input_hook() may not exist; document, and update test
2016-06-14 08:45:43 +00:00
Martin Panter
056f76d978
Issue #16182 : Attempted workarounds for Apple Editline
2016-06-14 05:45:31 +00:00
Terry Jan Reedy
ec84417ce8
Issue #27245 : IDLE: Cleanly delete custom themes and key bindings.
...
Previously, when IDLE was started from a console or by import, a cascade
of warnings was emitted. Patch by Serhiy Storchaka.
2016-06-14 00:53:25 -04:00
Martin Panter
e1b3431cef
Issue #22636 : Handle OSError from subprocess, e.g. if command not found
2016-06-14 04:08:30 +00:00
Martin Panter
bfb15ab711
Issue #22636 : avoid using a shell in the ctypes.util module
...
Replace os.popen() with subprocess.Popen. Based on patch by Victor Stinner.
If the "gcc", "cc" or "objdump" command is not available, the code was
supposed to raise an OSError exception. But there was a bug in the code. The
shell code returns the exit code 10 if the required command is missing, and the
code tries to check for the status 10. The problem is that os.popen() doesn't
return the exit code directly, but a status which should be processed by
os.WIFEXITED() and os.WEXITSTATUS(). In practice, the exception was never
raised. The OSError exception was not documented and ctypes.util.find_library()
is expected to return None if the library is not found.
2016-06-14 01:27:11 +00:00
Martin Panter
f00c49df10
Issue #16182 : Fix readline begidx, endidx, and use locale encoding
...
Based on patch by Serhiy Storchaka.
2016-06-14 01:16:16 +00:00
Matthias Klose
a8bb04b9a8
Issue #26867 : Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test.
2016-06-12 23:40:00 -07:00
Matthias Klose
f7c562439b
Issue #26867 : Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix test.
2016-06-12 23:40:00 -07:00
Martin Panter
5fc7c4dce1
Issue #27136 : Change test to use ::1 for better OS X Tiger compatibility
2016-06-13 03:17:47 +00:00
Berker Peksag
48b5c98e6e
Replace more boilerplate code with modern unittest features in sqlite3 tests
2016-06-14 00:42:50 +03:00
Larry Hastings
29f9637321
Merge 3.5.2rc1 with current 3.5 branch.
2016-06-12 20:26:28 -07:00
Berker Peksag
1003b34c71
Modernize sqlite3 tests
...
Update current tests that use old pattern with assertRaises
to make them more maintainable.
2016-06-12 22:34:49 +03:00
Berker Peksag
c74cdc7170
Issue #27289 : Prevent test_urllib2net failures due to EOFError raised by ftplib
2016-06-12 16:27:48 +03:00
Serhiy Storchaka
46fe29de31
Issue #25455 : Clean up reference loops created in tests for recursive
...
functools.partial objects.
2016-06-12 15:45:14 +03:00
Berker Peksag
7bea2347c7
Issue #27190 : Raise NotSupportedError if sqlite3 is older than 3.3.1
...
Patch by Dave Sawyer.
2016-06-12 14:09:51 +03:00
Berker Peksag
c415440faa
Issue #27188 : Fix various sqlite3 documentation errors
...
* Connection.execute* methods don't create intermediate cursor objects
* Fix description of seq_of_parameters parameter
* Clarify that Warning is sqlite3.Warning
* sql_script parameter of Cursor.executescript() doesn't accept bytes
* Add missing tests
* Fix various markup errors
Initial patch by Dave Sawyer.
2016-06-12 13:41:47 +03:00
Serhiy Storchaka
179f960d47
Issue #25455 : Fixed a crash in repr of recursive functools.partial objects.
2016-06-12 11:44:06 +03:00
Serhiy Storchaka
cbe6142135
Merge heads
2016-06-12 09:47:57 +03:00
Serhiy Storchaka
9062c261a4
Issue #25455 : Fixed a crash in repr of ElementTree.Element with recursive tag.
2016-06-12 09:43:55 +03:00
Serhiy Storchaka
3c317e76a2
Issue #27286 : Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling
...
function with generalized unpacking (PEP 448) and conflicting keyword names
could cause undefined behavior.
2016-06-12 09:22:01 +03:00
Martin Panter
70c502aacf
Fix typos and English grammar in documentation and code comment
2016-06-12 06:14:03 +00:00
Martin Panter
d4704803b9
Fix buggy RE “\parrot_example.py”, uncovered by Issue #27030
2016-06-12 06:07:35 +00:00
Larry Hastings
6e77ebe6e9
Regenerate pydoc topics for 3.4.5rc1.
2016-06-11 22:22:07 -07:00
Martin Panter
4f8aaf6440
Issue #16484 : Fix pydoc link and test on Windows, by Kaushik Nadikuditi
2016-06-12 04:24:06 +00:00
Larry Hastings
b37a142dab
Regenerated pydoc topics for 3.5.2rc1.
2016-06-11 20:40:26 -07:00
Łukasz Langa
0d18c15fbf
Issue #14209 : pkgutil.iter_zipimport_modules ignores the prefix for packages
...
Patch by James Pickering.
2016-06-11 18:02:46 -07:00