summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add Code of Conduct to .github folder. (GH-4029)Mariatta2017-10-181-0/+14
|
* bpo-30928: Update idlelib/NEWS.txt to 2017 Oct 17. (#4025)Terry Jan Reedy2017-10-171-0/+39
|
* bpo-13802: Use non-Latin characters in IDLE's Font settings sample. (#3960)Terry Jan Reedy2017-10-172-19/+76
| | | | | | | | | | 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.
* time.clock() now emits a DeprecationWarning (GH-4020)Victor Stinner2017-10-1714-20/+39
| | | | | | | | | | 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.
* bpo-28603: Fix formatting tracebacks for unhashable exceptions (#4014)Zane Bitter2017-10-179-9/+114
|
* bpo-31799: Make module.__spec__ more discoverable (#4010)Barry Warsaw2017-10-172-3/+12
| | | | bpo-31799: Make module.__spec__ more discoverable
* bpo-31334: Fix timeout in select.poll.poll() (GH-3277)Riccardo Coccioli2017-10-174-10/+21
| | | | | | 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.
* bpo-31786: Make functions in the select module blocking when timeout is a ↵Pablo Galindo2017-10-177-12/+65
| | | | small negative value. (#4003)
* bpo-30541: Add new method to seal mocks (GH61923)Mario Corchero2017-10-175-2/+249
| | | | | | | 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>
* post 3.7.0a2 developmentNed Deily2017-10-171-1/+1
|
* Bump to 3.7.0a2v3.7.0a2Ned Deily2017-10-172-3/+3
|
* Update NEWS and topics for 3.7.0a2Ned Deily2017-10-1770-155/+700
|
* bpo-31558: Update NEWS and ACKS (#4013)Łukasz Langa2017-10-162-0/+6
|
* bpo-31558: Add gc.freeze() (#3705)brainfvck2017-10-165-2/+169
| | | | | 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.
* bpo-31773: _PyTime_GetPerfCounter() uses _PyTime_t (GH-3983)Victor Stinner2017-10-164-48/+135
| | | | | | | | * 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).
* bpo-31776: Missing "raise from None" in Lib/xml/etree/ElementPath.py (#3978)Pablo Galindo2017-10-161-1/+1
|
* bpo-31792: Restore os.environ in test_buffer when import numpy. (#4007)Serhiy Storchaka2017-10-161-2/+3
|
* completly -> completely (#3999) (closes bpo-31788)Semen Zhydenko2017-10-151-1/+1
|
* bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (GH-3993)vyas452017-10-151-1/+1
|
* bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs (#4002)Dargor2017-10-151-2/+2
| | | Patch by Pablo.
* bpo-25588: Document autotest in idle_test/README.txt. (#4000)Terry Jan Reedy2017-10-151-1/+10
| | | Follow-up to Victor's patch that enabled autotest to run in IDLE's Shell.
* bpo-31757: Make Fibonacci examples consistent (#3991)Raymond Hettinger2017-10-142-18/+20
|
* bpo-31672: doc: Remove one sentence from library/string.rst (GH-3990)INADA Naoki2017-10-141-1/+1
| | | | This sentence is removed while backporting to 3.6 branch. See https://github.com/python/cpython/pull/3982#discussion_r144555768
* bpo-31714: Improved regular expression documentation. (#3907)Serhiy Storchaka2017-10-142-185/+226
|
* bpo-30807: signal.setitimer() now uses _PyTime API (GH-3865)Victor Stinner2017-10-133-24/+35
| | | | | | The _PyTime API handles detects overflow and is well tested. Document that the signal will only be sent once if internal is equal to zero.
* bpo-31676: Fix test_imp.test_load_source() side effect (#3871)Victor Stinner2017-10-131-2/+7
| | | | test_load_source() now replaces the current __name__ module with a temporary module to prevent side effects.
* os.startfile(): add a C comment on security (#3877)Victor Stinner2017-10-131-0/+4
| | | LoadLibrary("SHELL32") is not vulnerable to DLL hijacking.
* bpo-25588: Fix regrtest when run inside IDLE (#3962)Victor Stinner2017-10-131-12/+31
| | | | | | | When regrtest in run inside IDLE, sys.stdout and sys.stderr are not TextIOWrapper objects and have no file descriptor associated: sys.stderr.fileno() raises io.UnsupportedOperation. Disable faulthandler and don't replace sys.stdout in that case.
* bpo-28647: Update -u documentation after bpo-30404 (GH-3961)Berker Peksag2017-10-134-14/+9
|
* bpo-31672: Fix string.Template accidentally matched non-ASCII identifiers ↵INADA Naoki2017-10-134-3/+24
| | | | | | | | | | | (GH-3872) Pattern `[a-z]` with `IGNORECASE` flag can match to some non-ASCII characters. Straightforward solution for this is using `IGNORECASE | ASCII` flag. But users may subclass `Template` and override only `idpattern`. So we want to avoid changing `Template.flags`. So this commit uses local flag `-i` for `idpattern` and change `[a-z]` to `[a-zA-Z]`.
* Improve test suite customization example (GH-3967)Berker Peksag2017-10-131-2/+6
| | | | Reported by John Gamboa on docs@p.o at https://mail.python.org/pipermail/docs/2017-June/031942.html
* Exclude non-default VENVDIR in Doc builds (#3974)Ned Deily2017-10-121-1/+2
|
* bpo-30058: Fixed buffer overflow in select.kqueue.control(). (#1095)Serhiy Storchaka2017-10-123-16/+38
|
* bpo-31766: restore 3.5 to docs version switchers (#3969)Ned Deily2017-10-122-1/+3
|
* bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966)Éric Araujo2017-10-123-7/+16
|
* bpo-31773: time.perf_counter() uses again double (GH-3964)Victor Stinner2017-10-124-49/+50
| | | | | | | | time.clock() and time.perf_counter() now use again C double internally. Remove also _PyTime_GetWinPerfCounterWithInfo(): use _PyTime_GetPerfCounterDoubleWithInfo() instead on Windows.
* bpo-31567: add or fix decorator markup in docs (#3959)Daisuke Miyakawa2017-10-124-8/+8
|
* Cleanup pytime.c (#3955)Victor Stinner2017-10-111-54/+76
| | | | | * Move _PyTime_overflow() at the top * Move assertion on numerator into _PyTime_ObjectToDenominator() * PEP 7: add { ... } to if blocks
* bpo-28157: Improvements for the time module documentation (GH-928)Cheryl Sabella2017-10-112-109/+116
| | | | | * Separated functions and constants descriptions in sections. * Added a note about the limitations of timezone constants. * Removed redundant lists from the module docstring.
* bpo-31537: Update readline documentation example. (GH-3925)Brad Smith2017-10-102-2/+4
| | | Change the code example from using `get_history_length` to `get_current_history_length`.
* bpo-31728: Prevent crashes in _elementtree due to unsafe cleanup of ↵Oren Milman2017-10-103-34/+62
| | | | Element.text and Element.tail (#3924)
* bpo-31740: Prevent refleaks when sqlite3.Connection.__init__() is called ↵Oren Milman2017-10-101-8/+8
| | | | more than once (GH-3944)
* bpo-31415: Add _PyTime_GetPerfCounter() and use it for -X importtime (#3936)Victor Stinner2017-10-104-60/+112
| | | | | * Add _PyTime_GetPerfCounter() * Use _PyTime_GetPerfCounter() for -X importtime
* Allow configure to handle PATH elements with spaces (#3935)Ned Deily2017-10-092-8/+8
|
* bpo-31701: faulthandler: ignore MSC and COM Windows exception (#3929)Victor Stinner2017-10-093-3/+36
| | | | | | bpo-31701: On Windows, faulthandler.enable() now ignores MSC and COM exceptions.
* bpo-31723: Fix refleaks when zipimporter.__init__() is called more than once ↵Oren Milman2017-10-091-5/+6
| | | | (GH-3919)
* bpo-27867: Add a porting guide for PySlice_GetIndicesEx(). (#1973)Serhiy Storchaka2017-10-082-1/+30
|
* bpo-28280: Make PyMapping_Keys(), PyMapping_Values() and PyMapping_Items() ↵Oren Milman2017-10-086-34/+137
| | | | always return a list (#3840)
* bpo-31642: Restore blocking "from" import by setting None in sys.modules. ↵Serhiy Storchaka2017-10-084-243/+262
| | | | (#3834)
* bpo-31724: Skip test_xmlrpc_net (GH-3921)Zachary Ware2017-10-081-0/+2
| | | | | With the upgrade of buildbot.python.org from Buildbot 0.8.x to 0.9.x, the xmlrpc interface has been removed. This test is now skipped until it can be rewritten to query a suitable substitute.