Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add Code of Conduct to .github folder. (GH-4029) | Mariatta | 2017-10-18 | 1 | -0/+14 |
| | |||||
* | bpo-30928: Update idlelib/NEWS.txt to 2017 Oct 17. (#4025) | Terry Jan Reedy | 2017-10-17 | 1 | -0/+39 |
| | |||||
* | bpo-13802: Use non-Latin characters in IDLE's Font settings sample. (#3960) | Terry Jan Reedy | 2017-10-17 | 2 | -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 Stinner | 2017-10-17 | 14 | -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 Bitter | 2017-10-17 | 9 | -9/+114 |
| | |||||
* | bpo-31799: Make module.__spec__ more discoverable (#4010) | Barry Warsaw | 2017-10-17 | 2 | -3/+12 |
| | | | | bpo-31799: Make module.__spec__ more discoverable | ||||
* | bpo-31334: Fix timeout in select.poll.poll() (GH-3277) | Riccardo Coccioli | 2017-10-17 | 4 | -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 Galindo | 2017-10-17 | 7 | -12/+65 |
| | | | | small negative value. (#4003) | ||||
* | bpo-30541: Add new method to seal mocks (GH61923) | Mario Corchero | 2017-10-17 | 5 | -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 development | Ned Deily | 2017-10-17 | 1 | -1/+1 |
| | |||||
* | Bump to 3.7.0a2v3.7.0a2 | Ned Deily | 2017-10-17 | 2 | -3/+3 |
| | |||||
* | Update NEWS and topics for 3.7.0a2 | Ned Deily | 2017-10-17 | 70 | -155/+700 |
| | |||||
* | bpo-31558: Update NEWS and ACKS (#4013) | Łukasz Langa | 2017-10-16 | 2 | -0/+6 |
| | |||||
* | bpo-31558: Add gc.freeze() (#3705) | brainfvck | 2017-10-16 | 5 | -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 Stinner | 2017-10-16 | 4 | -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 Galindo | 2017-10-16 | 1 | -1/+1 |
| | |||||
* | bpo-31792: Restore os.environ in test_buffer when import numpy. (#4007) | Serhiy Storchaka | 2017-10-16 | 1 | -2/+3 |
| | |||||
* | completly -> completely (#3999) (closes bpo-31788) | Semen Zhydenko | 2017-10-15 | 1 | -1/+1 |
| | |||||
* | bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (GH-3993) | vyas45 | 2017-10-15 | 1 | -1/+1 |
| | |||||
* | bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs (#4002) | Dargor | 2017-10-15 | 1 | -2/+2 |
| | | | Patch by Pablo. | ||||
* | bpo-25588: Document autotest in idle_test/README.txt. (#4000) | Terry Jan Reedy | 2017-10-15 | 1 | -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 Hettinger | 2017-10-14 | 2 | -18/+20 |
| | |||||
* | bpo-31672: doc: Remove one sentence from library/string.rst (GH-3990) | INADA Naoki | 2017-10-14 | 1 | -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 Storchaka | 2017-10-14 | 2 | -185/+226 |
| | |||||
* | bpo-30807: signal.setitimer() now uses _PyTime API (GH-3865) | Victor Stinner | 2017-10-13 | 3 | -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 Stinner | 2017-10-13 | 1 | -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 Stinner | 2017-10-13 | 1 | -0/+4 |
| | | | LoadLibrary("SHELL32") is not vulnerable to DLL hijacking. | ||||
* | bpo-25588: Fix regrtest when run inside IDLE (#3962) | Victor Stinner | 2017-10-13 | 1 | -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 Peksag | 2017-10-13 | 4 | -14/+9 |
| | |||||
* | bpo-31672: Fix string.Template accidentally matched non-ASCII identifiers ↵ | INADA Naoki | 2017-10-13 | 4 | -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 Peksag | 2017-10-13 | 1 | -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 Deily | 2017-10-12 | 1 | -1/+2 |
| | |||||
* | bpo-30058: Fixed buffer overflow in select.kqueue.control(). (#1095) | Serhiy Storchaka | 2017-10-12 | 3 | -16/+38 |
| | |||||
* | bpo-31766: restore 3.5 to docs version switchers (#3969) | Ned Deily | 2017-10-12 | 2 | -1/+3 |
| | |||||
* | bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966) | Éric Araujo | 2017-10-12 | 3 | -7/+16 |
| | |||||
* | bpo-31773: time.perf_counter() uses again double (GH-3964) | Victor Stinner | 2017-10-12 | 4 | -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 Miyakawa | 2017-10-12 | 4 | -8/+8 |
| | |||||
* | Cleanup pytime.c (#3955) | Victor Stinner | 2017-10-11 | 1 | -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 Sabella | 2017-10-11 | 2 | -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 Smith | 2017-10-10 | 2 | -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 Milman | 2017-10-10 | 3 | -34/+62 |
| | | | | Element.text and Element.tail (#3924) | ||||
* | bpo-31740: Prevent refleaks when sqlite3.Connection.__init__() is called ↵ | Oren Milman | 2017-10-10 | 1 | -8/+8 |
| | | | | more than once (GH-3944) | ||||
* | bpo-31415: Add _PyTime_GetPerfCounter() and use it for -X importtime (#3936) | Victor Stinner | 2017-10-10 | 4 | -60/+112 |
| | | | | | * Add _PyTime_GetPerfCounter() * Use _PyTime_GetPerfCounter() for -X importtime | ||||
* | Allow configure to handle PATH elements with spaces (#3935) | Ned Deily | 2017-10-09 | 2 | -8/+8 |
| | |||||
* | bpo-31701: faulthandler: ignore MSC and COM Windows exception (#3929) | Victor Stinner | 2017-10-09 | 3 | -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 Milman | 2017-10-09 | 1 | -5/+6 |
| | | | | (GH-3919) | ||||
* | bpo-27867: Add a porting guide for PySlice_GetIndicesEx(). (#1973) | Serhiy Storchaka | 2017-10-08 | 2 | -1/+30 |
| | |||||
* | bpo-28280: Make PyMapping_Keys(), PyMapping_Values() and PyMapping_Items() ↵ | Oren Milman | 2017-10-08 | 6 | -34/+137 |
| | | | | always return a list (#3840) | ||||
* | bpo-31642: Restore blocking "from" import by setting None in sys.modules. ↵ | Serhiy Storchaka | 2017-10-08 | 4 | -243/+262 |
| | | | | (#3834) | ||||
* | bpo-31724: Skip test_xmlrpc_net (GH-3921) | Zachary Ware | 2017-10-08 | 1 | -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. |