Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102) | Andrés Delfino | 2018-11-07 | 1 | -1/+1 |
| | |||||
* | Add a reference to the name mangling description in the tutorial to the ↵ | Andrés Delfino | 2018-11-07 | 1 | -0/+3 |
| | | | | index. (GH-10138) | ||||
* | Add future_stmt to simple_stmt production list. (GH-8239) | Andrés Delfino | 2018-11-07 | 1 | -0/+1 |
| | |||||
* | Fix markup for xml.sax in 3.8 notes. (GH-9603) | Andrés Delfino | 2018-11-07 | 1 | -2/+2 |
| | |||||
* | Correct grammar mistakes in string.rst. (GH-9752) | Andrés Delfino | 2018-11-07 | 1 | -2/+2 |
| | |||||
* | Mark len call as a code snippet in stdtypes.rst. (GH-9804) | Andrés Delfino | 2018-11-07 | 1 | -1/+1 |
| | |||||
* | Mark -c and -O as command line options in reStructuredText. (GH-10103) | Andrés Delfino | 2018-11-07 | 3 | -3/+3 |
| | |||||
* | bpo-32409: Fix regression in activate.bat on international Windows (GH-10295) | samstagern | 2018-11-07 | 2 | -6/+7 |
| | | | | | | | | | | | Handle Unicode contents on localised Windows systems when activating a venv. activate.bat currently breaks on German Windows systems, as chcp.com does not return a plain number as on English systems, but (arbitrarily) appends a dot at the end (for example "Aktive Codepage: 850." instead of "Active Codepage: 850"). The dependency to chcp.com is removed and ctypes is used to get, set and restore the console output code page. The code page for console input is not changed. We can't use __VENV_PYTHON__ to find python.exe, since it's UTF-8. cmd.exe decodes the script using the console output code page. | ||||
* | bpo-2504: Add pgettext() and variants to gettext. (GH-7253) | Cheryl Sabella | 2018-11-07 | 7 | -52/+304 |
| | |||||
* | bpo-34160: Preserve order of attributes in minidom. (GH-10219) | Diego Rojas | 2018-11-07 | 4 | -3/+34 |
| | |||||
* | bpo-31553: add --json-lines option to json.tool (#10051) | HongWeipeng | 2018-11-07 | 5 | -5/+53 |
| | | | | | | | | | | * add jsonlines option to json.tool * code review * fix:avoid read infile after it close * improve doc in whatsnew 3.8 | ||||
* | bpo-34898: Add mtime parameter to gzip.compress(). (GH-9704) | guoci | 2018-11-07 | 6 | -4/+27 |
| | | | | | Without setting mtime, time.time() will be used as the timestamp which will end up in the compressed data and each invocation of the compress() function will vary over time. | ||||
* | Remove duplicate "Reference Guide" in optparse.rst. (GH-10372) | Andrés Delfino | 2018-11-07 | 1 | -1/+1 |
| | |||||
* | bpo-33000: Document that IDLE's shell has no line limit. (#10373) | Terry Jan Reedy | 2018-11-07 | 3 | -10/+27 |
| | | | A program that runs indefinitely can overfill memory. | ||||
* | bpo-35081: Add pycore_fileutils.h (GH-10371) | Victor Stinner | 2018-11-06 | 7 | -46/+54 |
| | | | | Move Py_BUILD_CORE code from Include/fileutils.h to a new Include/internal/pycore_fileutils.h file. | ||||
* | bpo-17560: Too small type for struct.pack/unpack in ↵ | Alexander Buchkovsky | 2018-11-06 | 2 | -10/+21 |
| | | | | | mutliprocessing.Connection (GH-10305) Allow sending more than 2 GB at once on a multiprocessing connection on non-Windows systems. | ||||
* | bpo-23220: Explain how IDLE's Shell displays output (GH-10356) | Terry Jan Reedy | 2018-11-06 | 3 | -23/+91 |
| | | | Add a new subsection to the doc. | ||||
* | bpo-35081: Add _PyCoreConfig_AsDict() (GH-10362) | Victor Stinner | 2018-11-06 | 4 | -149/+164 |
| | | | | | | | | | | | | _testcapimodule.c must not include pycore_pathconfig.h, since it's an internal header files. Changes: * Add _PyCoreConfig_AsDict() function to coreconfig.c. * Remove pycore_pathconfig.h include from _testcapimodule.h. * pycore_pathconfig.h now requires Py_BUILD_CORE to be defined. * _testcapimodule.c compilation now fails if it's built with Py_BUILD_CORE defined. | ||||
* | closes bpo-35171: Fix test_TimeRE_recreation_timezone failure on some ↵ | Alexey Izbyshev | 2018-11-06 | 1 | -1/+1 |
| | | | | | | | | | systems. (GH-10347) The test depended on '/usr/share/zoneinfo/posixrules' or equivalent because it set TZ without explicit DST transition rules. At least on OpenSUSE Tumbleweed that file is linked to '/etc/localtime', making the test fail with certain local timezones, such as 'Europe/Moscow' which doesn't have DST transitions since 2011. | ||||
* | bpo-35099: Update idlelib/help.html (#10353) | Terry Jan Reedy | 2018-11-06 | 1 | -16/+26 |
| | | | (This should have been done with the first PR for this issue.) | ||||
* | bpo-35099: Improve the doc about IDLE running user code. (#10350) | Terry Jan Reedy | 2018-11-06 | 2 | -17/+29 |
| | | | | | The section is renamed from "IDLE -- console differences". It mostly covers the implications of using custom sys.stdxxx objects. | ||||
* | bpo-35119: Fix RecursionError in example of customizing module attribute ↵ | Denis Osipov | 2018-11-06 | 1 | -1/+1 |
| | | | | | access. (GH-10323) https://bugs.python.org/issue35119 | ||||
* | bpo-33462: Add __reversed__ to dict and dict views (GH-6827) | Rémi Lapeyre | 2018-11-06 | 10 | -24/+346 |
| | |||||
* | [Docs] Fix required version of an example of importlib (GH-10118) | E Kawashima | 2018-11-05 | 1 | -1/+1 |
| | | | §31.5.6.3. Importing a source file directly: `module_from_spec` is new in Python 3.5. | ||||
* | Fix possible crashes in pwdmodule.c. (GH-10331) | Zackery Spytz | 2018-11-05 | 1 | -0/+2 |
| | | | "p" was not initialized if the first PyMem_RawRealloc() call failed. | ||||
* | bpo-35167: Specify program for gzip and json.tool command line options. ↵ | Serhiy Storchaka | 2018-11-05 | 2 | -0/+6 |
| | | | | (GH-10332) | ||||
* | bpo-35133: Fix mistakes when concatenate string literals on different lines. ↵ | Serhiy Storchaka | 2018-11-05 | 26 | -40/+38 |
| | | | | | | | | | | (GH-10284) Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings. | ||||
* | bpo-32512: Add -m option to profile for profiling modules (#5132) | Mario Corchero | 2018-11-05 | 5 | -27/+42 |
| | | | | | | | | | The new option in the CLI of the profile module allow to profile executable modules. This change follows the same implementation as the one already present in `cProfile`. As the argument is now present on both modules, move the tests to the common test case to be run with profile as well. | ||||
* | closes bpo-32285: Add unicodedata.is_normalized. (GH-4806) | Max Bélanger | 2018-11-04 | 6 | -22/+160 |
| | |||||
* | bpo-19675: Terminate processes if construction of a pool is failing. (GH-5614) | Julien Palard | 2018-11-04 | 3 | -2/+54 |
| | |||||
* | bpo-9842: Add cross-reference to the ellipsis object (GH-4063) | Pablo Galindo | 2018-11-04 | 1 | -4/+8 |
| | | | | | | This PR adds a cross-reference to the ellipsis object and the representation of recursive item in containers as indicated in [issue 9842](https://bugs.python.org/issue9842) by @bitdancer. https://bugs.python.org/issue9842 | ||||
* | bpo-35118: Improve docs regarding indexing (GH-10265) | Windson yang | 2018-11-04 | 2 | -4/+5 |
| | |||||
* | bpo-10536: Enhancements to gettext docs (GH-10324) | Stéphane Wirtel | 2018-11-04 | 2 | -23/+24 |
| | |||||
* | bpo-31887: Adds documentations for special multipart/signed handling (GH-4268) | Saptak Sengupta | 2018-11-04 | 1 | -0/+4 |
| | | | | | | This pull request adds some information about the special multipart/signed handling to clear about disabling header folding. https://bugs.python.org/issue31887 | ||||
* | bpo-21263: Skip test_gdb when python has been compiled with LLVM clang ↵ | Lysandros Nikolaou | 2018-11-04 | 3 | -0/+10 |
| | | | | (GH-10318) | ||||
* | Doc: Disable smartquotes for zh-tw, zh-cn, fr and ja translations (GH-9423) | Adrian Liaw | 2018-11-04 | 2 | -4/+7 |
| | |||||
* | bpo-35159: Add a link to the devguide in the sidebar of the index (Doc/) ↵ | Stéphane Wirtel | 2018-11-04 | 1 | -0/+1 |
| | | | | (GH-10316) | ||||
* | bpo-35161: Fix stack-use-after-scope in grp.getgr{nam,gid} and ↵ | Alexey Izbyshev | 2018-11-04 | 2 | -4/+8 |
| | | | | | | pwd.getpw{nam,uid}. (GH-10319) Reported by ASAN. | ||||
* | Explain that the orderness of the result of glob is system-dependant (GH-6587) | Elena Oat | 2018-11-04 | 1 | -1/+2 |
| | | | Thanks! | ||||
* | Doc: -W flag for sphinx-build can be disabled (GH-10303) | Julien Palard | 2018-11-03 | 1 | -2/+3 |
| | |||||
* | bpo-34969: Add --fast, --best on the gzip CLI (GH-9833) | Stéphane Wirtel | 2018-11-03 | 4 | -14/+63 |
| | |||||
* | Fix a typo about a comma. (GH-10306) | İsmail Arılık | 2018-11-03 | 1 | -1/+1 |
| | |||||
* | bpo-35147: Fix _Py_NO_RETURN for GCC (GH-10300) | Alexey Izbyshev | 2018-11-02 | 1 | -3/+3 |
| | | | | | | | | | Use `__GNUC__` instead of non-existing `__GNUC_MAJOR__`. https://bugs.python.org/issue35147 | ||||
* | bpo-29341: Clarify that path-like objects are accepted in some os methods ↵ | BNMetrics | 2018-11-02 | 3 | -31/+33 |
| | | | | | (GH-10101) Some methods in the os module can accept path-like objects. This is documented in the general documentation but not in the function docstrings. To keep both in sync, the docstrings need to be updated to reflect that path-like objects are also accepted. | ||||
* | bpo-33578: Fix getstate/setstate for CJK decoder (GH-10290) | Christopher Thorne | 2018-11-02 | 2 | -5/+26 |
| | | | | Previous version was casting to Py_ssize_t incorrectly and exhibited unexpected behavior on big-endian systems. | ||||
* | closes bpo-35139: The `pyexpat` module's macros in `Modules/Setup` now match ↵ | Max Bélanger | 2018-11-02 | 2 | -1/+2 |
| | | | | | `setup.py` (GH-10289) This could cause compile errors on macOS or other platforms. | ||||
* | Simplify sys.breakpointhook implementation (#9519) | Anthony Sottile | 2018-11-01 | 1 | -9/+1 |
| | |||||
* | bpo-35075: Fix broken url in the pprint documentation (GH-10201) | Pablo Galindo | 2018-11-01 | 2 | -121/+150 |
| | | | https://bugs.python.org/issue35075 | ||||
* | bpo-33578: Add getstate/setstate for CJK codec (GH-6984) | Christopher Thorne | 2018-11-01 | 8 | -22/+416 |
| | | | | | | | | This implements getstate and setstate for the cjkcodecs multibyte incremental encoders/decoders, primarily to fix issues with seek/tell. The encoder getstate/setstate is slightly tricky as the "state" is pending bytes + MultibyteCodec_State but only an integer can be returned. The approach I've taken is to encode this data into a long, similar to how .tell() encodes a "cookie_type" as a long. https://bugs.python.org/issue33578 | ||||
* | bpo-35128: Fix spacing issues in warning.warn() messages. (GH-10268) | Pablo Aguiar | 2018-11-01 | 5 | -6/+6 |
| |