Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-9372: Deprecate several __getitem__ methods (GH-8609) | Berker Peksag | 2018-08-11 | 12 | -0/+82 |
| | | | | | | The __getitem__ methods of DOMEventStream, FileInput, and FileWrapper classes ignore their 'index' parameters and return the next item instead. | ||||
* | bpo-34333: Fix %-formatting in Path.with_suffix() (GH-8663) | Berker Peksag | 2018-08-11 | 3 | -1/+5 |
| | |||||
* | bpo-34047: IDLE: fix mousewheel scrolling direction on macOS (GH-8678) | Tal Einat | 2018-08-10 | 2 | -6/+18 |
| | |||||
* | closes bpo-34353: Add sockets to stat.filemode fallback python ↵ | GPery | 2018-08-10 | 3 | -0/+12 |
| | | | | | | implementation. (GH-8703) | ||||
* | Fixed inconsistency in string handling in the Task C implementation (GH-8717) | Alex Grönholm | 2018-08-09 | 1 | -5/+9 |
| | |||||
* | Doc: add missing capture_output arg to subprocess.run() signature (#8374) | Andriy Maletsky | 2018-08-09 | 1 | -2/+2 |
| | |||||
* | Improve grammar of asynchronous iterator glossary entry (GH-8657) | Andrés Delfino | 2018-08-09 | 1 | -3/+3 |
| | |||||
* | bpo-34324: Doc README wrong directory name for venv (GH-8650) | Stéphane Wirtel | 2018-08-09 | 1 | -1/+1 |
| | | | | | In the documentation, the `env` directory is specified when we execute the `make venv` command. But in the code, `make venv` will create the virtualenv inside the `venv` directory (defined by `VENVDIR`) | ||||
* | bpo-34270: Make it possible to name asyncio tasks (GH-8547) | Alex Grönholm | 2018-08-08 | 13 | -28/+266 |
| | | | Co-authored-by: Antti Haapala <antti.haapala@anttipatterns.com> | ||||
* | Assume the raw environ is always declared. (GH-8707) | Benjamin Peterson | 2018-08-08 | 1 | -6/+0 |
| | | | posixmodule.c always declares environ, so don't bother catching a NameError in os.py. | ||||
* | Make code examples in Functional Programming HOWTO to be PEP 8 compliant. ↵ | Sergey Fedoseev | 2018-08-07 | 1 | -23/+23 |
| | | | | (GH-8646) | ||||
* | bpo-34335: Use async/await syntax in documentation examples (GH-8674) | Mikhail Terekhov | 2018-08-07 | 2 | -4/+2 |
| | |||||
* | VSTS: Skip build steps when only docs have changed (GH-8546) | Steve Dower | 2018-08-07 | 5 | -1/+87 |
| | |||||
* | Remove unneeded PyErr_Clear() calls after PyErr_Print(). (GH-8699) | Zackery Spytz | 2018-08-07 | 1 | -3/+0 |
| | | | | PyErr_Print() always clears the error indicator, so there is no need to call PyErr_Clear() immediately afterwards. | ||||
* | bpo-18540: Fix EAI_NONAME in imaplib.IMAP4*() (GH-8634) | Berker Peksag | 2018-08-07 | 3 | -1/+22 |
| | |||||
* | Fix HTML formatting in datamodel.rst (GH-8693) | Berker Peksag | 2018-08-06 | 1 | -3/+3 |
| | |||||
* | bpo-34319: Clarify file handler closure in pathlib.read_text (GH-8645) | Xtreak | 2018-08-06 | 1 | -1/+2 |
| | | | Patch by Terry Jan Reedy. | ||||
* | bpo-34272: Move argument parsing tests from test_capi to test_getargs2. ↵ | Serhiy Storchaka | 2018-08-06 | 2 | -181/+182 |
| | | | | (GH-8567) | ||||
* | bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. (#8673) | Terry Jan Reedy | 2018-08-06 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | * bpo-34273: Change 'Fixed point' to 'Fixed-point notation'. The change in the mini language floating point and decimal table is consistent with 'Exponential notation' and clarifies that we are referring to the output notation, not an object type. * Update string.rst * Update string.rst * Update string.rst * Update string.rst | ||||
* | bpo-19891: Ignore error while writing history file (GH-8483) | Anthony Sottile | 2018-08-06 | 2 | -1/+12 |
| | |||||
* | bpo-34336: Don't promote possibility to leave out typing.Optional (#8677) | Ville Skyttä | 2018-08-05 | 1 | -4/+12 |
| | |||||
* | bpo-33839: refactor IDLE's tooltips & calltips, add docstrings and tests ↵ | Tal Einat | 2018-08-05 | 7 | -144/+416 |
| | | | | | | | | (GH-7683) * make CallTip and ToolTip sub-classes of a common abstract base class * remove ListboxToolTip (unused and ugly) * greatly increase test coverage * tested on Windows, Linux and macOS | ||||
* | Fix reST markup in unittest documentation (GH-8665) | Berker Peksag | 2018-08-03 | 1 | -1/+1 |
| | |||||
* | bpo-34170: Fix pymain_run_file() (GH-8660) | Victor Stinner | 2018-08-03 | 1 | -6/+6 |
| | | | | | bpo-34170, bpo-34326: Fix pymain_run_file(): use PyRun_AnyFileExFlags(closeit=1) instead of calling fclose(fp) explicitly to close the input file before running the code. | ||||
* | bpo-34329: Doc'd how to remove suffix of pathlib.Path() (GH-8655) | Stefan Otte | 2018-08-03 | 2 | -3/+9 |
| | |||||
* | bpo-34170: _PyCoreConfig_Read() don't replace coerce_c_locale (GH-8658) | Victor Stinner | 2018-08-03 | 3 | -17/+19 |
| | | | | If coerce_c_locale is already set (>= 0), use its value: don't override it. | ||||
* | bpo-34325: Skip zipfile test for large timestamps when filesystem don't ↵ | Marcel Plch | 2018-08-03 | 1 | -1/+5 |
| | | | | | | support them. (GH-8656) When the filesystem doesn't support files with large timestamps, skip testing that such files can be zipped. | ||||
* | bpo-34301: Add _PyInterpreterState_Get() helper function (GH-8592) | Victor Stinner | 2018-08-03 | 22 | -93/+107 |
| | | | | sys_setcheckinterval() now uses a local variable to parse arguments, before writing into interp->check_interval. | ||||
* | Fix docstring of Profiler class (GH-8651) | INADA Naoki | 2018-08-03 | 2 | -4/+4 |
| | |||||
* | Improve the grammar in `range` documentation. (GH-8628) | Andrés Delfino | 2018-08-03 | 1 | -1/+1 |
| | | | Remove unnecessary "that" in the sentence. | ||||
* | bpo-34275: Make IDLE calltips always visible on Mac. (GH-8639) | Terry Jan Reedy | 2018-08-03 | 2 | -0/+3 |
| | | | | | | Some MacOS-tk combinations need .update_idletasks(). The call is both unneeded and innocuous on Linux and Windows. Patch by Kevin Waltzer. | ||||
* | Update list.remove(x) documentation (GH-8636) | Lysandros Nikolaou | 2018-08-03 | 1 | -2/+2 |
| | | | Rephrase it to "It raises a `ValueError`" | ||||
* | bpo-34317: Fix a dead url to Windows documentation (GH-8622) | HiyashiChuka | 2018-08-03 | 1 | -1/+1 |
| | |||||
* | bpo-30317: Fix multiprocessing test_timeout() (GH-8621) | Victor Stinner | 2018-08-03 | 1 | -3/+4 |
| | | | | | Multiprocessing test_timeout() now accepts a delta of 100 ms instead of just 50 ms, since the test failed with 135.8 ms instead of the expected 200 ms. | ||||
* | bpo-34170: Cleanup pymain_run_filename() (GH-8631) | Victor Stinner | 2018-08-02 | 1 | -85/+71 |
| | | | | | | | * Inline pymain_run_file() and pymain_open_filename() into pymain_run_filename() * Created pymain_run_stdin() which is pymain_run_filename() with filename=NULL * Rename pymain_run_filename() to pymain_run_file() | ||||
* | bpo-27910: Update documentation of traceback module (GH-6116) | torsava | 2018-08-02 | 2 | -30/+35 |
| | | | | | | | | | | In the documentation for the traceback module, the definitions of functions extract_tb(), format_list() and classmethod StackSummary.from_list() mention the old style 4-tuples that these functions used to return or accept. Since Python 3.5, however, they return or accept a FrameSummary object instead of a 4-tuple, or a StackSummary object instead of a list of 4-tuples. Co-Authored-By: Berker Peksag <berker.peksag@gmail.com> | ||||
* | bpo-34097: Add support for zipping files older than 1980-01-01 (GH-8270) | Marcel Plch | 2018-08-02 | 4 | -5/+48 |
| | | | | | ZipFile can zip files older than 1980-01-01 and newer than 2107-12-31 using a new strict_timestamps parameter at the cost of setting the timestamp to the limit. | ||||
* | bpo-34287: Do not use second argument of METH_NOARGS functions (GH-8582) | jdemeyer | 2018-08-02 | 1 | -21/+21 |
| | |||||
* | bpo-34120: fix text viewer to call grab_release() only when needed (GH-8616) | Tal Einat | 2018-08-02 | 1 | -2/+4 |
| | |||||
* | bpo-34120: fix IDLE freezing after closing dialogs (GH-8603) | Tal Einat | 2018-08-02 | 6 | -0/+10 |
| | | | | Added missing .grab_release() calls to all places where we call .grab_set(). | ||||
* | bpo-31650: Remove _Py_CheckHashBasedPycsMode global config var (GH-8608) | Victor Stinner | 2018-08-01 | 6 | -24/+7 |
| | | | | | | | | bpo-31650, bpo-34170: Replace _Py_CheckHashBasedPycsMode with _PyCoreConfig._check_hash_pycs_mode. Modify PyInit__imp() and zipimport to get the parameter from the current interpreter core configuration. Remove Include/internal/import.h file. | ||||
* | bpo-34170: Add Python/coreconfig.c for _PyCoreConfig (GH-8607) | Victor Stinner | 2018-08-01 | 14 | -1288/+1314 |
| | | | | | | | * Add Include/coreconfig.h * Move config_*() and _PyCoreConfig_*() functions from Modules/main.c to a new Python/coreconfig.c file. * Inline _Py_ReadHashSeed() into config_init_hash_seed() * Move global configuration variables to coreconfig.c | ||||
* | Define _Py_NO_RETURN for Microsoft C compiler (GH-8606) | Victor Stinner | 2018-08-01 | 3 | -6/+8 |
| | |||||
* | bpo-33499: Fix pymain_init_pycache_prefix() (GH-8596) | Victor Stinner | 2018-08-01 | 1 | -10/+10 |
| | | | | Fix a memory leak in pymain_init_pycache_prefix() when PYTHONPYCACHEPREFIX and -X pycache_prefix are used. | ||||
* | bpo-34170: _PyCoreConfig_Read() defaults to argc=0 (GH-8595) | Victor Stinner | 2018-08-01 | 3 | -1/+16 |
| | | | Add unit tests for argc and argv of _PyCoreConfig. | ||||
* | bpo-34170: Rename _PyCoreConfig.unbuffered_stdip (GH-8594) | Victor Stinner | 2018-08-01 | 4 | -28/+33 |
| | | | | * Rename _PyCoreConfig.unbuffered_stdio to buffered_stdio * Rename _PyCoreConfig.debug to parser_debug | ||||
* | bpo-34170: Py_Main() updates config when setting Py_InspectFlag (GH-8593) | Victor Stinner | 2018-08-01 | 1 | -0/+3 |
| | |||||
* | bpo-34170: Add _PyCoreConfig._frozen parameter (GH-8591) | Victor Stinner | 2018-08-01 | 7 | -8/+37 |
| | | | Modify frozenmain.c to use _Py_InitializeFromConfig(). | ||||
* | bpo-34113: Fix a crash when using LLTRACE is on (GH-8517) | costypetrisor | 2018-07-31 | 3 | -17/+60 |
| | | | Fix a crash on negative STACKADJ() when Low-Level trace (LLTRACE) is enabled. | ||||
* | bpo-34263 Cap timeout submitted to epoll/select etc. to one day. (GH-8532) | MartinAltmayer | 2018-07-31 | 3 | -5/+6 |
| |