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
10 years ago
Victor Stinner
ebcf9edc05
Document latest optimizations using _PyBytesWriter
10 years ago
Terry Jan Reedy
93f3542ae4
Issue #24782 : Finish converting the Configure Extension dialog into a new
tab in the IDLE Preferences dialog. Code patch by Mark Roseman.
10 years ago
Serhiy Storchaka
b6d84832bf
Issue #24164 : Document changes to __getnewargs__ and __getnewargs_ex__.
10 years ago
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.
10 years ago
Benjamin Peterson
b395188088
actually link to the version attributes documentation
10 years ago
Victor Stinner
e84c976568
Issue #25357 : Add an optional newline paramer to binascii.b2a_base64().
base64.b64encode() uses it to avoid a memory copy.
10 years ago
Benjamin Peterson
0071b3dfcb
don't mention Python 2.2 ( closes #25375 )
10 years ago
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.
10 years ago
Martin Panter
d21e0b52f1
Issue #25161 : Add full stops in documentation; patch by Takase Arihiro
10 years ago
Martin Panter
cfad54344f
Issue #22413 : Document newline effect on StringIO initializer and getvalue
Also add to comment in the C code.
10 years ago
Vinay Sajip
ff1f3d9ff1
Closes #25344 : Added cookbook recipe to show buffering of logging events.
10 years ago
Berker Peksag
b6c9572fa9
Sort module names in whatsnew/3.6.rst
10 years ago
Berker Peksag
960e848f0d
Issue #16099 : RobotFileParser now supports Crawl-delay and Request-rate
extensions.
Patch by Nikolay Bogoychev.
10 years ago
Berker Peksag
24a610984d
Issue #16802 : Document fileno parameter of socket.socket()
Patch by Henrik Heimbuerger and Bar Harel.
10 years ago
Martin Panter
9955a373a8
Various minor typos in documentation and comments
10 years ago
Martin Panter
397625e432
Issue #25286 : Update dictionary view link; patch by Akira Li
10 years ago
Martin Panter
85b8f45515
Issue #25286 : Dictionary views are not sequences
Also change glossary heading from view
10 years ago
Berker Peksag
6f038ada5b
Add a versionadded directive for reopenIfNeeded()
10 years ago
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.
10 years ago
Guido van Rossum
601953b679
Docs and one small improvement for issue #25304 , by Vincent Michel.
10 years ago
Guido van Rossum
b9bf913ab3
Issue #23972 : updates to asyncio datagram API. By Chris Laws.
10 years ago
Victor Stinner
1d65d9192d
Issue #25301 : The UTF-8 decoder is now up to 15 times as fast for error
handlers: ``ignore``, ``replace`` and ``surrogateescape``.
10 years ago
Martin Panter
3795d12a0d
Issue #16701 : Document += and *= for mutable sequences
10 years ago
Terry Jan Reedy
d470527aec
Issue #25224 : README.txt is now an idlelib index for IDLE developers and
curious users. The previous user content is now in the IDLE doc and is
redundant. IDLE now means 'Integrated Development and Learning Environment'.
10 years ago
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.
10 years ago
Berker Peksag
8214a7c38f
Tweak susp-ignored.csv to make buildbots happy
10 years ago
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.
10 years ago
Vinay Sajip
29a1445136
Closes #24884 : refactored WatchedFileHandler file reopening into a separate method, based on a suggestion and patch by Marian Horban.
10 years ago
Andrew Svetlov
1c62b52c3f
Reflect parameter name change in the doc
10 years ago
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.
10 years ago
Terry Jan Reedy
37f81355b0
Issue #24028 : Add subsection about Idle calltips.
10 years ago
R David Murray
87d0066f1a
Fix English phrasing.
10 years ago
Serhiy Storchaka
ab824222d1
Issue #25011 : rlcomplete now omits private and special attribute names unless
the prefix starts with underscores.
10 years ago
Benjamin Peterson
1dd72e6bc5
make wikipedia link https
10 years ago
Benjamin Peterson
c402d8dcea
shorten and fix casing of title
10 years ago
Terry Jan Reedy
f660ce2363
Issue #25225 : Condense and rewrite Idle doc section on text colors.
10 years ago
Andrew Svetlov
4919907774
Fix #25208 : Improve "Develop with asyncio" doc page.
Patch by Benjamin Hodgson.
10 years ago
Terry Jan Reedy
0053c47785
Issue 21995: Explain some differences between IDLE and console Python.
10 years ago
Victor Stinner
bfd9767e0f
Issue #24894 : Document the codec iso8859_11
Patch written by Prashant Tyagi.
10 years ago
Terry Jan Reedy
8b5a981e02
Issue #22820 : Explain need for *print* when running file from Idle editor.
10 years ago
Terry Jan Reedy
6e10ec5367
Issue 25224: Augment Idle doc feature list and no-subprocess section
to finish making current README.txt obsolete.
10 years ago
Terry Jan Reedy
968e285a8c
Issue #25219 : Update doc for Idle command line options.
Some were missing and notes were not correct.
10 years ago
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.
10 years ago
Berker Peksag
9b93c6b5df
Issue #25137 : Add a note to whatsnew/3.5.rst for nested functools.partial calls
Also, properly skip the test_nested_optimization test for partial subclasses
and add a test for the suggested usage.
10 years ago
Victor Stinner
f96418de05
Issue #24870 : Optimize the ASCII decoder for error handlers: surrogateescape,
ignore and replace. Initial patch written by Naoki Inada.
The decoder is now up to 60 times as fast for these error handlers.
Add also unit tests for the ASCII decoder.
10 years ago
Victor Stinner
5e4a7d8dc7
Issue #23630 , asyncio: host parameter of loop.create_server() can now be a
sequence of strings. Patch written by Yann Sionneau.
10 years ago
Victor Stinner
04ce06b612
Issue #25114 : Adjust versionchanged in the doc
10 years ago
Victor Stinner
f7dc7fb74d
Issue #25114 , asyncio: add ssl_object extra info to SSL transports
This info is required on Python 3.5 and newer to get specific information on
the SSL object, like getting the binary peer certificate (instead of getting
it as text).
10 years ago
Berker Peksag
407c497e83
Issue #23484 : Document differences between synchronization primitives of
threading and multiprocessing modules.
In multiprocessing, the name of the first parameter of the acquire methods is
"block", but "blocking" in threading.
This commit also improves documentation of Lock and RLock.
Patch by Davin Potts.
10 years ago