Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup and improve the regex tokenizer example. (GH-10426) | Raymond Hettinger | 2018-11-09 | 1 | -36/+38 |
| | | | | | | | | | | | 1) Convert weird field name "typ" to the more standard "type". 2) For the NUMBER type, convert the value to an int() or float(). 3) Simplify ``group(kind)`` to the shorter and faster ``group()`` call. 4) Simplify logic go a single if-elif chain to make this easier to extend. 5) Reorder the tests to match the order the tokens are specified. This isn't necessary for correctness but does make the example easier to follow. 6) Move the "column" calculation before the if-elif chain so that users have the option of using this value in error messages. | ||||
* | bpo-24412: Adds cleanUps for setUpClass and setUpModule. (GH-9190) | Lisa Roach | 2018-11-09 | 2 | -0/+74 |
| | |||||
* | Doc: Make all versions sidebars the same for consistency. (GH-10288) | Julien Palard | 2018-11-07 | 1 | -2/+3 |
| | |||||
* | bpo-35015: Doc: Fix internationalisation of the availability directive. ↵ | Julien Palard | 2018-11-07 | 1 | -3/+4 |
| | | | | (GH-10360) | ||||
* | Add link to PEP 525 in Expressions. (GH-10333) | Andrés Delfino | 2018-11-07 | 1 | -1/+5 |
| | |||||
* | 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-2504: Add pgettext() and variants to gettext. (GH-7253) | Cheryl Sabella | 2018-11-07 | 2 | -1/+63 |
| | |||||
* | bpo-34160: Preserve order of attributes in minidom. (GH-10219) | Diego Rojas | 2018-11-07 | 1 | -0/+11 |
| | |||||
* | bpo-31553: add --json-lines option to json.tool (#10051) | HongWeipeng | 2018-11-07 | 2 | -0/+12 |
| | | | | | | | | | | * 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 | 2 | -2/+11 |
| | | | | | 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 | 1 | -5/+13 |
| | | | A program that runs indefinitely can overfill memory. | ||||
* | bpo-23220: Explain how IDLE's Shell displays output (GH-10356) | Terry Jan Reedy | 2018-11-06 | 1 | -12/+48 |
| | | | Add a new subsection to the doc. | ||||
* | bpo-35099: Improve the doc about IDLE running user code. (#10350) | Terry Jan Reedy | 2018-11-06 | 1 | -17/+26 |
| | | | | | 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 | 2 | -0/+32 |
| | |||||
* | [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. | ||||
* | bpo-35167: Specify program for gzip and json.tool command line options. ↵ | Serhiy Storchaka | 2018-11-05 | 2 | -0/+6 |
| | | | | (GH-10332) | ||||
* | bpo-32512: Add -m option to profile for profiling modules (#5132) | Mario Corchero | 2018-11-05 | 1 | -3/+6 |
| | | | | | | | | | 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 | 2 | -0/+14 |
| | |||||
* | 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 | 1 | -23/+23 |
| | |||||
* | 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 | ||||
* | 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) | ||||
* | 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 | 1 | -7/+8 |
| | |||||
* | Fix a typo about a comma. (GH-10306) | İsmail Arılık | 2018-11-03 | 1 | -1/+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-35110: Fix yet few spaces before dashes. (GH-10255) | Serhiy Storchaka | 2018-10-31 | 2 | -4/+4 |
| | |||||
* | bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231) | Serhiy Storchaka | 2018-10-31 | 23 | -70/+74 |
| | |||||
* | bpo-35116, urllib.parse: Document the new max_num_fields parameter (GH-10247) | matthewbelisle-wf | 2018-10-30 | 1 | -2/+16 |
| | |||||
* | bpo-35086: Fix tkinter example "A Simple Hello World Program". (GH-10160) | Daniel Lovell | 2018-10-30 | 1 | -1/+2 |
| | | | The root widget was accessed as a global variable in the Application's method. | ||||
* | bpo-31680: Add curses.ncurses_version. (GH-4217) | Serhiy Storchaka | 2018-10-30 | 2 | -0/+22 |
| | | | | Use curses.ncurses_version for conditionally skipping a test. | ||||
* | Doc: fix asyncio loop.close() description (GH-10229) | Andriy Maletsky | 2018-10-29 | 1 | -1/+1 |
| | | | Needs backport to 3.7. In 3.6 the description is correct. | ||||
* | Include memo in the documented signature of copy.deepcopy() | Stephan Hoyer | 2018-10-29 | 1 | -3/+3 |
| | | | | | | | | * Include memo in the documented signature of copy.deepcopy() The memo argument is mentioned lower on the doc page under writing a `__deepcopy__` method, but is not included in the documented function signature. This makes it easy to miss, and can lead to incorrect/buggy implementations of `__deepcopy__` -- which is exatly what just happpend to me! | ||||
* | bpo-27741: Better wording for datetime.strptime() (GH-9994) | Gus Goulart | 2018-10-29 | 1 | -1/+3 |
| | |||||
* | bpo-35097: Add IDLE doc subsection explaining editor windows. (#10206) | Terry Jan Reedy | 2018-10-29 | 1 | -1/+18 |
| | | | Topics include opening, title and status bar, .py* extension, and running. | ||||
* | bpo-33234: Add exact allocation optimization to lists in What's New (GH-10200) | Pablo Galindo | 2018-10-28 | 1 | -0/+5 |
| | | | | In commit 372d705 a new optimization to the list() type was introduced but it was not added to the optimization section in What's new for Python 3.8. | ||||
* | Issue 35093: Document the IDLE document viewer in the IDLE doc. (#10195) | Terry Jan Reedy | 2018-10-28 | 1 | -10/+20 |
| | | | Add a paragraph in "Help and preferences", "Help sources" subsection. | ||||
* | bpo-34160: Preserve user specified order of Element attributes (GH-10163) | Raymond Hettinger | 2018-10-28 | 1 | -0/+8 |
| | |||||
* | bpo-1529353: Explain Shell text squeezing in the IDLE doc. (#10169) | Terry Jan Reedy | 2018-10-28 | 1 | -1/+20 |
| |