- 23 Oct, 2017 6 commits
-
-
Serhiy Storchaka authored
SyntaxError now is raised instead of SyntaxWarning.
-
Victor Stinner authored
Fix the following Coverity warning: >>> CID 1420038: Control flow issues (DEADCODE) >>> Execution cannot reach this statement: "res = sem_trywait(self->han...". 321 res = sem_trywait(self->handle); The deadcode was introduced by the commit c872d39d.
-
Christoph Sarnowski authored
-
xdegaye authored
-
Serhiy Storchaka authored
Bad remainder in divmod() in intermediate calculations caused an assertion failure.
-
andyclegg authored
Improve human friendliness of the Popen API: Add text=False as a keyword-only argument to subprocess.Popen along with a Popen attribute .text_mode and set this based on the encoding/errors/universal_newlines/text arguments. The universal_newlines parameter and attribute are maintained for backwards compatibility.
-
- 22 Oct, 2017 6 commits
-
-
Mark Shannon authored
Move exception state information from frame objects to coroutine (generator/thread) object where it belongs.
-
Cheryl Sabella authored
-
Serhiy Storchaka authored
-
Antoine Pitrou authored
-
Serhiy Storchaka authored
-
Antoine Pitrou authored
-
- 21 Oct, 2017 1 commit
-
-
Serhiy Storchaka authored
-
- 20 Oct, 2017 2 commits
-
-
Oren Milman authored
bpo-31781: Prevent crashes when calling methods of an uninitialized zipimport.zipimporter object (GH-3986)
-
Serhiy Storchaka authored
and in codecs.escape_decode() when decode an escaped non-ascii byte.
-
- 19 Oct, 2017 7 commits
-
-
Antoine Pitrou authored
* bpo-31819: Add AbstractEventLoop.sock_recv_into() * Add NEWS * Add doc
-
jlacoline authored
-
Łukasz Langa authored
This used to be the case on Python 2. Commit 212b590e changed the implementation for Python 3, making the `log()` method of LogAdapter call `logger._log()` directly. This makes nested log adapters not execute their ``process()`` method. This patch fixes the issue. Also, now proxying `name`, too, to make `repr()` work with nested log adapters. New tests added.
-
George King authored
-
Benjamin Peterson authored
-
George King authored
-
Łukasz Langa authored
Due to a bug in the initial fix, the setter was in fact creating a different property. This is now fixed.
-
- 18 Oct, 2017 3 commits
-
-
Ron authored
The word "difference" from missing the sentence. This clarifies that it compares the difference between the two objects.
-
Pablo Galindo authored
Fix timeout rounding in time.sleep(), threading.Lock.acquire() and socket.socket.settimeout() to round correctly negative timeouts between -1.0 and 0.0. The functions now block waiting for events as expected. Previously, the call was incorrectly non-blocking.
-
Mariatta authored
-
- 17 Oct, 2017 11 commits
-
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
Even if one selects a font that defines a limited subset of the unicode Basic Multilingual Plane, tcl/tk will use other fonts that define a character. The expanded example give users of non-Latin characters a better idea of what they might see in the IDLE shell and editors. To make room for the expanded sample, frames on the Font tab are re-arranged. The Font/Tabs help explains a bit about the additions.
-
Victor Stinner authored
bpo-31803: time.clock() and time.get_clock_info('clock') now emit a DeprecationWarning warning. Replace time.clock() with time.perf_counter() in tests and demos. Remove also hasattr(time, 'monotonic') in test_time since time.monotonic() is now always available since Python 3.5.
-
Zane Bitter authored
-
Barry Warsaw authored
bpo-31799: Make module.__spec__ more discoverable
-
Riccardo Coccioli authored
Always pass -1, or INFTIM where defined, to the poll() system call when a negative timeout is passed to the poll.poll([timeout]) method in the select module. Various OSes throw an error with arbitrary negative values.
-
Pablo Galindo authored
bpo-31786: Make functions in the select module blocking when timeout is a small negative value. (#4003)
-
Mario Corchero authored
The new method allows the developer to control when to stop the feature of mocks that automagically creates new mocks when accessing an attribute that was not declared before Signed-off-by: Mario Corchero <mariocj89@gmail.com>
-
Ned Deily authored
-
Ned Deily authored
-
Ned Deily authored
-
- 16 Oct, 2017 4 commits
-
-
Łukasz Langa authored
-
brainfvck authored
Freeze all the objects tracked by gc - move them to a permanent generation and ignore all the future collections. This can be used before a POSIX fork() call to make the gc copy-on-write friendly or to speed up collection.
-
Victor Stinner authored
* Rewrite win_perf_counter() to only use integers internally. * Add _PyTime_MulDiv() which compute "ticks * mul / div" in two parts (int part and remaining) to prevent integer overflow. * Clock frequency is checked at initialization for integer overflow. * Enhance also pymonotonic() to reduce the precision loss on macOS (mach_absolute_time() clock).
-
Pablo Galindo authored
-