Benjamin Peterson
4b24d63407
merge 3.5 ( #25515 )
2015-10-29 20:40:34 -07:00
Benjamin Peterson
788cb52905
always use os.urandom for the uuid4 algorithm ( closes #25515 )
2015-10-29 20:38:04 -07:00
Serhiy Storchaka
6230235e83
Issue #25503 : Fixed inspect.getdoc() for inherited docstrings of properties.
...
Original patch by John Mark Vandenberg.
2015-10-29 08:17:10 +02:00
Serhiy Storchaka
ac4bdcc80e
Issue #25503 : Fixed inspect.getdoc() for inherited docstrings of properties.
...
Original patch by John Mark Vandenberg.
2015-10-29 08:15:50 +02:00
Serhiy Storchaka
2e0e18ba57
Issue #21827 : Fixed textwrap.dedent() for the case when largest common
...
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
2015-10-28 21:45:01 +02:00
Serhiy Storchaka
f8152c67f5
Issue #21827 : Fixed textwrap.dedent() for the case when largest common
...
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
2015-10-28 21:43:12 +02:00
Serhiy Storchaka
ea4cb63e68
Issue #21827 : Fixed textwrap.dedent() for the case when largest common
...
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
2015-10-28 21:39:36 +02:00
Benjamin Peterson
2374ad7dd9
merge 3.5 ( #25471 )
2015-10-24 20:07:28 -07:00
Benjamin Peterson
2775d85d55
merge 3.4 ( #25471 )
2015-10-24 20:07:08 -07:00
Benjamin Peterson
d9dbf49383
accepted sockets shouldn't inherit the SOCK_NONBLOCK flag ( closes #25471 )
2015-10-24 20:06:04 -07:00
Serhiy Storchaka
dcd1a0309f
Issue #25447 : The lru_cache() wrapper objects now can be copied and pickled
...
(by returning the original object unchanged).
2015-10-24 09:50:19 +03:00
Serhiy Storchaka
45120f272b
Issue #25447 : The lru_cache() wrapper objects now can be copied and pickled
...
(by returning the original object unchanged).
2015-10-24 09:49:56 +03:00
Victor Stinner
4487a46727
Merge 3.4 (Issue #25461 )
2015-10-23 12:39:20 +02:00
Victor Stinner
de6e800f45
Merge 3.4 (Issue #25461 )
2015-10-23 12:39:01 +02:00
Victor Stinner
0e316f688e
Issue #25461 : Rephrase os.walk() doc
...
Patch written by Bernt Røskar Brenna.
2015-10-23 12:38:11 +02:00
Berker Peksag
4da71055e1
Fix merge conflict artifacts and move the entry to correct place
2015-10-21 16:38:36 +03:00
Guido van Rossum
59136ccad2
Issue #25390 : typing: Don't crash on Union[str, Pattern]. (Merge 3.5->3.6)
2015-10-19 14:56:25 -07:00
Guido van Rossum
ca636eac88
Issue #25390 : typing: Don't crash on Union[str, Pattern].
2015-10-19 14:55:47 -07:00
Guido van Rossum
b09f627f4f
Issue #25441 : asyncio: Raise error from drain() when socket is closed. (Merge 3.5->3.6)
2015-10-19 11:55:10 -07:00
Guido van Rossum
030f489df7
Issue #25441 : asyncio: Raise error from drain() when socket is closed. (Merge 3.4->3.5)
2015-10-19 11:54:04 -07:00
Guido van Rossum
c44ecdf687
Issue #25441 : asyncio: Raise error from drain() when socket is closed.
2015-10-19 11:49:30 -07:00
doko@ubuntu.com
10ef6bd471
- Issue #25440 : Fix output of python-config --extension-suffix.
2015-10-19 14:15:27 +02:00
doko@ubuntu.com
12a72b06c7
- Issue #25440 : Fix output of python-config --extension-suffix.
2015-10-19 14:13:35 +02:00
doko@ubuntu.com
2bf91bf46c
- Issue #25440 : Fix output of python-config --extension-suffix.
2015-10-19 14:07:57 +02:00
Serhiy Storchaka
3e9f87782e
Issue #25410 : Cleaned up and fixed minor bugs in C implementation of OrderedDict.
2015-10-18 09:54:42 +03:00
Serhiy Storchaka
8003bafd7f
Issue #25410 : Cleaned up and fixed minor bugs in C implementation of OrderedDict.
2015-10-18 09:53:17 +03:00
Vinay Sajip
03de71d136
Closes #25411 : Merged fix from 3.5.
2015-10-17 16:24:23 +01:00
Vinay Sajip
3f445f799a
Closes #25411 : Merged fix from 3.4.
2015-10-17 16:17:52 +01:00
Vinay Sajip
277640af0f
Closes #25411 : Improved Unicode support in SMTPHandler.
2015-10-17 16:13:10 +01:00
Brett Cannon
9b63868f77
Issue #25154 : Deprecate the pyvenv script.
...
This was done so as to move users to `python3 -m venv` which prevents
confusion over which Python interpreter will be used in the virtual
environment when more than one is installed.
2015-10-16 15:14:27 -07:00
Brett Cannon
c0d91aff9a
Upgrade the imp module's deprecation to DeprecationWarning.
2015-10-16 12:21:37 -07:00
Brett Cannon
aa15ea4b4e
Merge for issue #25407
2015-10-16 12:09:56 -07:00
Brett Cannon
5ad5a7d31f
Issue #25407 : Drop the mention of the formatter module being removed
...
in Python 3.6.
The new PEP 4 policy of any module existing in both 2.7 and 3.5
applies here, hence the module will be with us for a bit longer.
2015-10-16 12:09:33 -07:00
Steve Dower
b8c1309cba
Merge from 3.5
2015-10-14 10:41:52 -07:00
Steve Dower
bc94fd7b49
Issue #25164 : Changes default all-users install directory to match per-user directory.
2015-10-14 10:36:36 -07:00
Serhiy Storchaka
dbb98c1443
Issue #25406 : Fixed a bug in C implementation of OrderedDict.move_to_end()
...
that caused segmentation fault or hang in iterating after moving several
items to the start of ordered dict.
2015-10-14 19:22:44 +03:00
Serhiy Storchaka
992ec46acc
Issue #25406 : Fixed a bug in C implementation of OrderedDict.move_to_end()
...
that caused segmentation fault or hang in iterating after moving several
items to the start of ordered dict.
2015-10-14 19:21:24 +03:00
Victor Stinner
2bf8993db9
Optimize bytes.fromhex() and bytearray.fromhex()
...
Issue #25401 : Optimize bytes.fromhex() and bytearray.fromhex(): they are now
between 2x and 3.5x faster. Changes:
* Use a fast-path working on a char* string for ASCII string
* Use a slow-path for non-ASCII string
* Replace slow hex_digit_to_int() function with a O(1) lookup in
_PyLong_DigitValue precomputed table
* Use _PyBytesWriter API to handle the buffer
* Add unit tests to check the error position in error messages
2015-10-14 11:25:33 +02:00
Victor Stinner
ebcf9edc05
Document latest optimizations using _PyBytesWriter
2015-10-14 10:10:00 +02:00
Serhiy Storchaka
dbc517c2dd
Issue #25382 : pickletools.dis() now outputs implicit memo index for the
...
MEMOIZE opcode.
2015-10-13 21:20:14 +03:00
Serhiy Storchaka
ca77aef31b
Issue #25380 : Fixed protocol for the STACK_GLOBAL opcode in
...
pickletools.opcodes.
2015-10-13 21:14:01 +03:00
Serhiy Storchaka
5a8bbc5f2a
Issue #25380 : Fixed protocol for the STACK_GLOBAL opcode in
...
pickletools.opcodes.
2015-10-13 21:13:34 +03:00
Serhiy Storchaka
5805ddeedb
Issue #25380 : Fixed protocol for the STACK_GLOBAL opcode in
...
pickletools.opcodes.
2015-10-13 21:12:32 +03:00
Victor Stinner
f7d2471260
Merge 3.5 (sys.setrecursionlimit)
2015-10-13 00:16:07 +02:00
Victor Stinner
50856d5ae7
sys.setrecursionlimit() now raises RecursionError
...
Issue #25274 : sys.setrecursionlimit() now raises a RecursionError if the new
recursion limit is too low depending at the current recursion depth. Modify
also the "lower-water mark" formula to make it monotonic. This mark is used to
decide when the overflowed flag of the thread state is reset.
2015-10-13 00:11:21 +02:00
Steve Dower
3628d488c7
Issue #25143 : Improves installer error messages for unsupported platforms.
2015-10-11 16:40:52 -07:00
Steve Dower
b96698112d
Issue #25143 : Improves installer error messages for unsupported platforms.
2015-10-11 16:40:41 -07:00
Steve Dower
5669387948
Issue #25163 : Display correct directory in installer when using non-default settings.
2015-10-11 15:37:36 -07:00
Steve Dower
731f4a2c5f
Issue #25163 : Display correct directory in installer when using non-default settings.
2015-10-11 15:37:22 -07:00
Steve Dower
80b31402d5
Issue #25361 : Disables use of SSE2 instructions in Windows 32-bit build
2015-10-11 15:16:21 -07:00
Steve Dower
5700ae877f
Issue #25361 : Disables use of SSE2 instructions in Windows 32-bit build
2015-10-11 15:15:52 -07:00
Victor Stinner
e84c976568
Issue #25357 : Add an optional newline paramer to binascii.b2a_base64().
...
base64.b64encode() uses it to avoid a memory copy.
2015-10-11 11:01:02 +02:00
Serhiy Storchaka
0d554d7ef1
Issue #24164 : Objects that need calling ``__new__`` with keyword arguments,
...
can now be pickled using pickle protocols older than protocol version 4.
2015-10-10 22:42:18 +03:00
Serhiy Storchaka
0289155b72
Correct Misc/NEWS.
2015-10-10 20:26:16 +03:00
Serhiy Storchaka
f98a24eecc
Issue #25364 : zipfile now works in threads disabled builds.
2015-10-10 19:44:23 +03:00
Serhiy Storchaka
9e777730eb
Issue #25364 : zipfile now works in threads disabled builds.
2015-10-10 19:43:32 +03:00
Martin Panter
430f657c67
Issue #25161 : Merge full stops from 3.5
2015-10-10 10:45:00 +00:00
Martin Panter
84835ab1cb
Issue #25161 : Merge full stops from 3.4 into 3.5
2015-10-10 10:44:25 +00:00
Martin Panter
d21e0b52f1
Issue #25161 : Add full stops in documentation; patch by Takase Arihiro
2015-10-10 10:36:22 +00:00
Martin Panter
5344da5c0d
Issue #24402 : Merge input() fix from 3.5
2015-10-10 02:09:41 +00:00
Martin Panter
e02f8fc44d
Issue #24402 : Merge input() fix from 3.4 into 3.5
2015-10-10 01:55:23 +00:00
Martin Panter
c9a6ab56cf
Issue #24402 : Fix input() when stdout.fileno() fails; diagnosed by Eryksun
...
Also factored out some test cases into a new PtyTests class.
2015-10-10 01:25:38 +00:00
Brett Cannon
6381e06d97
Merge for issue #25099
2015-10-09 15:10:10 -07:00
Brett Cannon
89065d9fc7
Issue #25099 : Skip relevant tests in test_compileall when an entry on
...
sys.path has an unwritable __pycache__ directory.
This typically comes up when someone runs the test suite from an
administrative install of Python on Windows where the user does not
have write permissions to the stdlib's directory.
Thanks to Zachary Ware and Matthias Klose for reporting bugs related
to this issue.
(grafted from 34bbd537b3e688dfbb6498e9083445a6a72fc4b1)
2015-10-09 15:09:43 -07:00
Brett Cannon
65ed750375
Issue #25099 : Skip relevant tests in test_compileall when an entry on
...
sys.path has an unwritable __pycache__ directory.
This typically comes up when someone runs the test suite from an
administrative install of Python on Windows where the user does not
have write permissions to the stdlib's directory.
Thanks to Zachary Ware and Matthias Klose for reporting bugs related
to this issue.
2015-10-09 15:09:43 -07:00
R David Murray
aecf63ee3a
Merge #25328 : add missing raise keyword in decode_data+SMTPUTF8 check.
2015-10-09 10:20:58 -04:00
R David Murray
1a815389cc
#25328 : add missing raise keyword in decode_data+SMTPUTF8 check.
...
This is a relatively benign bug, since having both be true was correctly
rejected at in SMTPServer even before this patch.
Patch by Xiang Zhang.
2015-10-09 10:19:33 -04:00
Victor Stinner
fa7762ec06
Issue #25349 : Optimize bytes % args using the new private _PyBytesWriter API
...
* Thanks to the _PyBytesWriter API, output smaller than 512 bytes are allocated
on the stack and so avoid calling _PyBytes_Resize(). Because of that, change
the default buffer size to fmtcnt instead of fmtcnt+100.
* Rely on _PyBytesWriter algorithm to overallocate the buffer instead of using
a custom code. For example, _PyBytesWriter uses a different overallocation
factor (25% or 50%) depending on the platform to get best performances.
* Disable overallocation for the last write.
* Replace C loops to fill characters with memset()
* Add also many comments to _PyBytes_Format()
* Remove unused FORMATBUFLEN constant
* Avoid the creation of a temporary bytes object when formatting a floating
point number (when no custom formatting option is used)
* Fix also reference leaks on error handling
* Use Py_MEMCPY() to copy bytes between two formatters (%)
2015-10-09 11:48:06 +02:00
Steve Dower
6e8d6ed2f4
Merge from 3.5
2015-10-08 10:00:55 -07:00
Steve Dower
5ae56919ab
Issue #25089 : Adds logging to installer for case where launcher is not selected on upgrade.
2015-10-08 09:55:49 -07:00
Steve Dower
666e6e1b4b
Merge from 3.5
2015-10-08 09:06:39 -07:00
Steve Dower
12ee7448f8
Issue #23919 : Prevents assert dialogs appearing in the test suite.
2015-10-08 08:56:06 -07:00
Berker Peksag
960e848f0d
Issue #16099 : RobotFileParser now supports Crawl-delay and Request-rate
...
extensions.
Patch by Nikolay Bogoychev.
2015-10-08 12:27:06 +03:00
Martin Panter
585a6acfef
Merge typo fixes from 3.5
2015-10-07 11:13:55 +00:00
Martin Panter
ec1aa5c2a1
More typos in 3.5 documentation and comments
2015-10-07 11:03:53 +00:00
Martin Panter
3f930dcd87
Merge typo fixes from 3.4 into 3.5
2015-10-07 11:01:47 +00:00
Martin Panter
9955a373a8
Various minor typos in documentation and comments
2015-10-07 10:26:23 +00:00
Benjamin Peterson
cdae2cb88a
merge 3.5 ( closes #24806 )
2015-10-06 19:42:46 -07:00
Benjamin Peterson
59dc696821
merge 3.4 ( #24806 )
2015-10-06 19:42:02 -07:00
Benjamin Peterson
bd6c41a185
prevent unacceptable bases from becoming bases through multiple inheritance ( #24806 )
2015-10-06 19:36:54 -07:00
Alexander Belopolsky
68713e41a5
Closes issue #12006 : Add ISO 8601 year, week, and day directives to strptime.
...
This commit adds %G, %V, and %u directives to strptime. Thanks Ashley Anderson
for the implementation.
2015-10-06 13:29:56 -04:00
Benjamin Peterson
1ba1ca0456
merge 3.5 ( #25319 )
2015-10-05 22:01:29 -07:00
Benjamin Peterson
72181b2f53
merge 3.4 ( #25319 )
2015-10-05 22:00:33 -07:00
Benjamin Peterson
15982aad2b
reinitialize an Event's Condition with a regular lock ( closes #25319 )
2015-10-05 21:56:22 -07:00
Steve Dower
f536386ca9
Issue #25316 : distutils raises OSError instead of DistutilsPlatformError when MSVC is not installed.
2015-10-05 10:35:19 -07:00
Steve Dower
f0ccf02e56
Issue #25316 : distutils raises OSError instead of DistutilsPlatformError when MSVC is not installed.
2015-10-05 10:35:00 -07:00
Guido van Rossum
3074c134a9
Issue #23972 : updates to asyncio datagram API. By Chris Laws. (Merge 3.5->3.6.)
2015-10-05 09:29:32 -07:00
Guido van Rossum
eda1955d82
Issue #23972 : updates to asyncio datagram API. By Chris Laws. (Merge 3.4->3.5.)
2015-10-05 09:19:11 -07:00
Guido van Rossum
b9bf913ab3
Issue #23972 : updates to asyncio datagram API. By Chris Laws.
2015-10-05 09:15:28 -07:00
Victor Stinner
1d65d9192d
Issue #25301 : The UTF-8 decoder is now up to 15 times as fast for error
...
handlers: ``ignore``, ``replace`` and ``surrogateescape``.
2015-10-05 13:43:50 +02:00
Terry Jan Reedy
7dbe6dd963
merge 3.5
2015-10-04 01:19:36 -04:00
Terry Jan Reedy
e25511a566
Issue #24820 : Update IDLE NEWS items.
2015-10-04 01:17:13 -04:00
Terry Jan Reedy
d17e9785de
Issue #24820 : Update IDLE NEWS items.
2015-10-04 01:14:51 -04:00
Terry Jan Reedy
f8c32da0ad
Issue #9232 : Escape rst markup char in NEWS entry to avoid Sphinx warning.
2015-10-03 23:03:15 -04:00
Terry Jan Reedy
67618272ae
Issue #24791 : Escape rst markup char in NEWS entry to avoid Sphinx warning.
2015-10-03 23:01:46 -04:00
Guido van Rossum
5dad1ff8f8
Issue #25304 : Add asyncio.run_coroutine_threadsafe(). By Vincent Michel. (Merge 3.5->3.6.)
2015-10-03 08:35:28 -07:00
Guido van Rossum
0d9bef927b
Issue #25304 : Add asyncio.run_coroutine_threadsafe(). By Vincent Michel. (Merge 3.4->3.5.)
2015-10-03 08:34:34 -07:00
Guido van Rossum
841d9ee41a
Issue #25304 : Add asyncio.run_coroutine_threadsafe(). By Vincent Michel.
2015-10-03 08:31:42 -07:00
Martin Panter
909a950ffc
Issues #25232 , #24657 : Add NEWS to 3.6.0a1 section
2015-10-03 06:25:43 +00:00
Martin Panter
5e84d037bb
Issues #25232 , #24657 : Merge two CGI server fixes from 3.5
2015-10-03 06:43:19 +00:00
Martin Panter
56b76d25dd
Issues #25232 , #24657 : Merge two CGI server fixes from 3.4 into 3.5
2015-10-03 06:03:25 +00:00
Martin Panter
cb29e8c0e5
Issue #24657 : Prevent CGIRequestHandler from collapsing the URL query
...
Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc
string.
2015-10-03 05:55:46 +00:00
Martin Panter
a02e18a43f
Issue #25232 : Fix CGIRequestHandler's splitting of URL query
...
Patch from Xiang Zhang.
2015-10-03 05:38:07 +00:00
Brett Cannon
11faa21843
Merge from 3.5 for issue #25188 .
2015-10-02 16:20:49 -07:00
Victor Stinner
5f9d3acc5e
Issue #22806 : Add ``python -m test --list-tests`` command to list tests.
2015-10-03 00:21:12 +02:00
Victor Stinner
076fc872bc
Issue #18174 : "python -m test --huntrleaks ..." now also checks for leak of
...
file descriptors. Patch written by Richard Oudkerk.
2015-10-03 00:20:56 +02:00
Victor Stinner
6661d885a3
Issue #25287 : Don't add crypt.METHOD_CRYPT to crypt.methods if it's not
...
supported. Check if it is supported, it may not be supported on OpenBSD for
example.
2015-10-02 23:00:39 +02:00
Yury Selivanov
43d71e2512
asyncio: Make ensure_future() accept all kinds of awaitables.
2015-10-02 15:05:59 -04:00
Serhiy Storchaka
29e68edbf4
Issue #24848 : Fixed bugs in UTF-7 decoding of misformed data:
...
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
3. In some circumstances the '\xfd' character was produced instead of the
replacement character '\ufffd' (due to a bug in _PyUnicodeWriter).
2015-10-02 13:14:03 +03:00
Serhiy Storchaka
58c8f2bb6d
Issue #24848 : Fixed bugs in UTF-7 decoding of misformed data:
...
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
3. In some circumstances the '\xfd' character was produced instead of the
replacement character '\ufffd' (due to a bug in _PyUnicodeWriter).
2015-10-02 13:13:14 +03:00
Serhiy Storchaka
28b21e50c8
Issue #24848 : Fixed bugs in UTF-7 decoding of misformed data:
...
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
2015-10-02 13:07:28 +03:00
Serhiy Storchaka
5dbe245ef2
Issue #24483 : C implementation of functools.lru_cache() now calculates key's
...
hash only once.
2015-10-02 12:47:59 +03:00
Serhiy Storchaka
b9d98d532c
Issue #24483 : C implementation of functools.lru_cache() now calculates key's
...
hash only once.
2015-10-02 12:47:11 +03:00
Steve Dower
30b7138fe1
Merge from 3.5
2015-10-01 15:20:11 -07:00
Steve Dower
c9fda9b903
Issue #25165 : Windows uninstallation should not remove launcher if other versions remain
2015-10-01 15:19:39 -07:00
Victor Stinner
01ada3996b
Issue #25267 : The UTF-8 encoder is now up to 75 times as fast for error
...
handlers: ``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass``.
Patch co-written with Serhiy Storchaka.
2015-10-01 21:54:51 +02:00
Serhiy Storchaka
f22d8080ae
Issue #25280 : Import trace messages emitted in verbose (-v) mode are no
...
longer formatted twice.
2015-10-01 11:55:52 +03:00
Serhiy Storchaka
0b40aab6f0
Issue #25280 : Import trace messages emitted in verbose (-v) mode are no
...
longer formatted twice.
2015-10-01 11:40:22 +03:00
Serhiy Storchaka
f731bc09fa
Issue #25280 : Import trace messages emitted in verbose (-v) mode are no
...
longer formatted twice.
2015-10-01 11:08:50 +03:00
Victor Stinner
78cc2e8968
Issue #25003 : os.urandom() doesn't use getentropy() on Solaris because
...
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.
2015-10-01 09:59:32 +02:00
Victor Stinner
bae2d6203f
Issue #25003 : On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
...
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
2015-10-01 09:47:30 +02:00
Victor Stinner
a53a818c3c
Fix regrtest --coverage on Windows
...
Issue #25260 : Fix ``python -m test --coverage`` on Windows. Remove the list of
ignored directories.
2015-10-01 00:53:09 +02:00
Serhiy Storchaka
85c386dee4
Issue #25182 : The stdprinter (used as sys.stderr before the io module is
...
imported at startup) now uses the backslashreplace error handler.
2015-09-30 15:51:01 +03:00
Serhiy Storchaka
008fc77e1e
Issue #25182 : The stdprinter (used as sys.stderr before the io module is
...
imported at startup) now uses the backslashreplace error handler.
2015-09-30 15:50:32 +03:00
Serhiy Storchaka
a59018c7ab
Issue #25182 : The stdprinter (used as sys.stderr before the io module is
...
imported at startup) now uses the backslashreplace error handler.
2015-09-30 15:46:53 +03:00
Serhiy Storchaka
f1c780870a
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:52:42 +03:00
Serhiy Storchaka
b5102e3550
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:52:09 +03:00
Serhiy Storchaka
b27232949d
Issue #22958 : Constructor and update method of weakref.WeakValueDictionary
...
now accept the self and the dict keyword arguments.
2015-09-29 23:53:25 +03:00
Serhiy Storchaka
5527cf119d
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:38:34 +03:00
Serhiy Storchaka
f4ee1c23e8
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:37:09 +03:00
Serhiy Storchaka
68f5ef226e
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:36:06 +03:00
Serhiy Storchaka
87b93fe36f
Issue #25111 : Fixed comparison of traceback.FrameSummary.
2015-09-29 22:34:16 +03:00
Serhiy Storchaka
3066fc41d1
Issue #25111 : Fixed comparison of traceback.FrameSummary.
2015-09-29 22:33:36 +03:00
Serhiy Storchaka
11c715f12e
Issue #25262 . Added support for BINBYTES8 opcode in Python implementation of
...
unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:13:01 +03:00
Serhiy Storchaka
525faaeffc
Issue #25262 . Added support for BINBYTES8 opcode in Python implementation of
...
unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:12:29 +03:00
Serhiy Storchaka
e060619d4b
Issue #25262 . Added support for BINBYTES8 opcode in Python implementation of
...
unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:10:07 +03:00
Guido van Rossum
a6b1031b76
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge 3.5->3.6.)
2015-09-29 12:01:55 -07:00
Guido van Rossum
28d982dfc5
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). (Merge 3.4->3.5.)
2015-09-29 12:00:01 -07:00
Guido van Rossum
d455a50773
Also rewrote the guts of asyncio.Semaphore (patch by manipopopo).
2015-09-29 11:54:45 -07:00
Eric V. Smith
6dcada3bcf
Issue #25034 : Merge from 3.5.
2015-09-29 10:30:47 -04:00
Eric V. Smith
ad4003c7fb
Issue #25034 : Merge from 3.4.
2015-09-29 10:30:04 -04:00
Eric V. Smith
85976b14dd
Fixed issue #25034 : Fix string.Formatter problem with auto-numbering
...
and nested format_specs. Patch by Anthon van der Neut.
2015-09-29 10:27:38 -04:00
Victor Stinner
c3713e9706
Optimize ascii/latin1+surrogateescape encoders
...
Issue #25227 : Optimize ASCII and latin1 encoders with the ``surrogateescape``
error handler: the encoders are now up to 3 times as fast.
Initial patch written by Serhiy Storchaka.
2015-09-29 12:32:13 +02:00
Terry Jan Reedy
b1edd5823c
merge 3.5
2015-09-29 01:04:08 -04:00
Terry Jan Reedy
c69b37ff4e
Merge with 3.4
2015-09-29 01:01:00 -04:00
Terry Jan Reedy
f38356adbb
Remove indent in news item. Error when building 3.x docs.
2015-09-29 01:00:31 -04:00
Terry Jan Reedy
e0937ef754
IDLE NEWS.
2015-09-28 23:44:37 -04:00
Terry Jan Reedy
86e971ccb3
IDLE NEWS items.
2015-09-28 23:42:56 -04:00
Terry Jan Reedy
9af7fe76ff
Add recent IDLE NEWS items.
2015-09-28 23:38:57 -04:00
Guido van Rossum
b4c00154f2
Correct Misc/NEWS about asyncio.Queue rewrite.
2015-09-28 16:53:44 -07:00
Guido van Rossum
ab9e936bd9
Correct Misc/NEWS about asyncio.Queue rewrite.
2015-09-28 16:51:59 -07:00
Guido van Rossum
9af30ac669
Correct Misc/NEWS about asyncio.Queue rewrite.
2015-09-28 16:50:38 -07:00
Guido van Rossum
d2f184652c
Issue #25233 : Rewrite the guts of Queue to be more understandable and correct. (Merge 3.4->3.5.)
2015-09-28 07:44:49 -07:00
Guido van Rossum
99f96c5451
Issue #25233 : Rewrite the guts of Queue to be more understandable and correct.
2015-09-28 07:42:34 -07:00
Alexander Belopolsky
365ba8f6c1
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 22:32:15 -04:00
Alexander Belopolsky
edc6885b3f
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 22:31:45 -04:00
Alexander Belopolsky
5d27ed858a
merge
2015-09-27 22:13:28 -04:00
Alexander Belopolsky
d19b5042ff
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 21:56:53 -04:00
Alexander Belopolsky
c58c2cb392
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 21:56:09 -04:00
Alexander Belopolsky
c79447b267
Closes issue #23600 : Wrong results from tzinfo.fromutc().
2015-09-27 21:41:55 -04:00
Serhiy Storchaka
a6c5d53eec
Issue #25203 : Failed readline.set_completer_delims() no longer left the
...
module in inconsistent state.
2015-09-27 22:38:33 +03:00
Serhiy Storchaka
36aff2db4a
Issue #25203 : Failed readline.set_completer_delims() no longer left the
...
module in inconsistent state.
2015-09-27 22:38:01 +03:00
Serhiy Storchaka
1138439376
Issue #25203 : Failed readline.set_completer_delims() no longer left the
...
module in inconsistent state.
2015-09-27 22:34:59 +03:00
Serhiy Storchaka
ab824222d1
Issue #25011 : rlcomplete now omits private and special attribute names unless
...
the prefix starts with underscores.
2015-09-27 13:43:50 +03:00
Serhiy Storchaka
8ace8e99b3
Issue #25209 : rlcomplete now can add a space or a colon after completed keyword.
2015-09-27 13:26:03 +03:00
Benjamin Peterson
c78f27d239
merge 3.5 ( #23329 )
2015-09-27 00:09:09 -07:00
Benjamin Peterson
d330822c12
detect alpn by feature flag not openssl version ( closes #23329 )
2015-09-27 00:09:02 -07:00
Raymond Hettinger
e055b88937
merge
2015-09-26 00:15:46 -07:00
Raymond Hettinger
bf49fee125
Issue #25135 : Avoid possible reentrancy issues in deque_clear.
2015-09-26 00:14:59 -07:00
Benjamin Peterson
5b8854eee0
merge 3.5
2015-09-26 00:09:39 -07:00
Benjamin Peterson
03c59b9bef
merge 3.4
2015-09-26 00:09:32 -07:00
Benjamin Peterson
e48cf7e729
prevent overflow in _Unpickler_Read
2015-09-26 00:08:34 -07:00
Benjamin Peterson
00d4442979
merge 3.5 ( #25131 )
2015-09-25 22:44:55 -07:00
Benjamin Peterson
58b53953f8
make opening brace of container literals and comprehensions correspond to the line number and col offset of the AST node ( closes #25131 )
2015-09-25 22:44:43 -07:00
Andrew Svetlov
038b61fbb5
Merge 3.5 -> default
2015-09-24 14:36:00 +03:00
Andrew Svetlov
1c99e529dd
Merge 3.4 -> 3.5
2015-09-24 14:35:16 +03:00
Andrew Svetlov
74edd3580e
Add Benjamin Hodgson to Misc/ACK
2015-09-24 14:34:07 +03:00
Martin Panter
3766ee5162
Issue #12067 : Merge comparisons doc from 3.5
2015-09-23 05:41:52 +00:00
Martin Panter
e52c41a714
Issue #12067 : Merge comparisons doc from 3.4 into 3.5
2015-09-23 05:34:48 +00:00
Martin Panter
aa0da864b8
Issue #12067 : Rewrite Comparisons section in the language reference
...
Some of the details of comparing mixed types were incorrect or ambiguous.
NotImplemented is only relevant at a lower level than the Expressions
chapter. Added details of comparing range() objects, and default behaviour
and consistency suggestions for user-defined classes. Patch from Andy Maier.
2015-09-23 05:28:13 +00:00
Martin Panter
f9cd8ff14a
Issue #25047 : Merge Element Tree encoding from 3.5
2015-09-23 01:49:24 +00:00
Martin Panter
982a08f8bb
Issue #25047 : Merge Element Tree encoding from 3.4 into 3.5
2015-09-23 01:43:08 +00:00
Steve Dower
ebbad80e85
Merge from 3.5
2015-09-22 18:21:13 -07:00
Steve Dower
5f62112db4
Issues #25112 : py.exe launcher is missing icons
2015-09-22 18:20:58 -07:00
Martin Panter
89f76d3f91
Issue #25047 : Respect case writing XML encoding declarations
...
This restores the ability to write encoding names in uppercase like "UTF-8",
which worked in Python 2.
2015-09-23 01:14:35 +00:00
Steve Dower
64a3387d69
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
2015-09-22 17:29:51 -07:00
Steve Dower
a0c3c19665
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
2015-09-22 17:24:01 -07:00
Steve Dower
b9f4feab1b
Issue #19143 : platform module now reads Windows version from kernel32.dll to avoid compatibility shims.
2015-09-22 17:23:39 -07:00
Steve Dower
8ef1db34bb
Merge with 3.5
2015-09-22 17:01:17 -07:00
Steve Dower
a2ea0e4804
Issue #25102 : Windows installer does not precompile for -O or -OO.
2015-09-22 16:45:19 -07:00
Steve Dower
44fe401aa3
Issue #25081 : Makes Back button in installer go back to upgrade page when upgrading.
2015-09-22 16:36:33 -07:00
Steve Dower
14b9e6c6a7
Issue #25126 : Clarifies that the non-web installer will download some components.
2015-09-22 16:36:33 -07:00
Steve Dower
bc25032c92
Issue #25091 : Increases font size of the installer.
2015-09-22 16:36:29 -07:00
Steve Dower
57ab1cdb15
Issue #25092 : Fix datetime.strftime() failure when errno was already set to EINVAL.
2015-09-22 14:51:42 -07:00
Steve Dower
3a0f471e5f
Issue #25213 : Restores requestedExecutionLevel to manifest to disable UAC virtualization.
2015-09-22 14:33:31 -07:00
Terry Jan Reedy
2b0bf5cce9
Issue #16893 : Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
...
Change destination to help.html. Adjust NEWS entries.
2015-09-21 22:40:31 -04:00
Terry Jan Reedy
5e999fc00a
Issue #16893 : Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
...
Change destination to help.html. Adjust NEWS entries.
2015-09-21 22:38:47 -04:00
Terry Jan Reedy
cba1a1a000
Issue #16893 : Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
...
Change destination to help.html. Adjust NEWS entries.
2015-09-21 22:36:42 -04:00
Terry Jan Reedy
bbde7ad388
Merge with 3.5
2015-09-21 19:33:46 -04:00
Terry Jan Reedy
e90bb44347
Marge 3.4
2015-09-21 19:33:14 -04:00