summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* bpo-31655: Validate keyword names in SimpleNamespace constructor. (#3909)Serhiy Storchaka2017-10-072-1/+7
|
* bpo-31720: msilib documentation, change MsiError into MSIError (GH-3914)Tzu-ping Chung2017-10-071-1/+1
|
* bpo-31709: Update importlib magic (#3906)Yury Selivanov2017-10-063-107/+111
|
* Document Py_GETENV() (#3890)Barry Warsaw2017-10-061-0/+5
|
* bpo-25658: Implement PEP 539 for Thread Specific Storage (TSS) API (GH-1362)Masayuki Yamamoto2017-10-0618-108/+651
| | | | | | | | | See PEP 539 for details. Highlights of changes: - Add Thread Specific Storage (TSS) API - Document the Thread Local Storage (TLS) API as deprecated - Update code that used TLS API to use TSS API
* bpo-31708: Allow async generator expressions in synchronous functions (#3905)Yury Selivanov2017-10-065-9/+52
|
* bpo-31709: Drop support for asynchronous __aiter__. (#3903)Yury Selivanov2017-10-069-300/+47
|
* weaken pthread_getcpuclockid test (more bpo-31596) (#3904)Benjamin Peterson2017-10-061-8/+1
| | | There just isn't much we can assert in a portable way.
* closes bpo-31696: don't mention GCC in sys.version when building with clang ↵Benjamin Peterson2017-10-062-8/+9
| | | | (#3891)
* bpo-30406: Make async and await proper keywords (#1669)Jelle Zijlstra2017-10-0622-540/+336
| | | Per PEP 492, 'async' and 'await' should become proper keywords in 3.7.
* bpo-31523: Reliability improvements to the Windows build files (#3900)Steve Dower2017-10-055-27/+56
|
* PEP 553 built-in breakpoint() function (bpo-31353) (#3355)Barry Warsaw2017-10-059-23/+324
| | | Implement PEP 553, built-in breakpoint() with support from sys.breakpointhook(), along with documentation and tests. Closes bpo-31353
* bpo-31556: asyncio.wait_for can cancel futures faster with timeout <= 0 (#3703)Victor K2017-10-053-0/+80
|
* bpo-31178: Mock os.waitpid() in test_subprocess (#3896)Victor Stinner2017-10-051-4/+8
| | | | | | Fix test_exception_errpipe_bad_data() and test_exception_errpipe_normal() of test_subprocess: mock os.waitpid() to avoid calling the real os.waitpid(0, 0) which is an unexpected side effect of the test.
* bpo-31671: re: Convert RegexFlag to int before compile (GH-3862)INADA Naoki2017-10-053-0/+11
| | | | | | sre_compile does bit test (e.g. `flags & SRE_FLAG_IGNORECASE`) in loop. `IntFlag.__and__` and `IntFlag.__new__` made it slower. So this commit convert it to normal int before passing flags to `sre_compile()`.
* closes bpo-27494: Fix 2to3 handling of trailing comma after a generator ↵Jakub Stasiak2017-10-057-10/+38
| | | | expression (#3771)
* remove tabs from getcompiler.c (#3892)Benjamin Peterson2017-10-051-1/+1
|
* closes bpo-31596: Add an interface for pthread_getcpuclockid(3) (#3756)pdox2017-10-057-0/+84
|
* Add self and idlelib to CODEOWNERS file. (#3889)Terry Jan Reedy2017-10-051-0/+2
| | | Followed format of other entries.