Julien Palard
64313478bc
bpo-32613: Update window FAQ (GH-5552)
2018-11-14 16:22:27 +01:00
Andrés Delfino
8e0b05e2f4
Grammar corrections in abc.rst (GH-10525)
2018-11-13 16:40:44 -08:00
Andrés Delfino
bf1355b424
Link to property built-in in abc.rst (GH-10526)
2018-11-13 16:29:57 -08:00
l-n-s
daeb3c4c58
Fix doc typo: Window -> Windows (GH-10508)
2018-11-13 16:13:12 -08:00
Victor Stinner
1a6be91e6f
bpo-35081: Make some _PyGC macros internal (GH-10507)
...
* Move "GC" macros together:
* PyObject_IS_GC()
* _Py_AS_GC()
* _PyObject_GC_IS_TRACKED()
* _PyObject_GC_MAY_BE_TRACKED()
* Mark other GC macros as internal (#ifdef Py_BUILD_CORE):
* _PyGCHead_NEXT(g), _PyGCHead_SET_NEXT(g, p)
* _PyGCHead_PREV(g), _PyGCHead_SET_PREV(g, p)
* _PyGCHead_FINALIZED(g), _PyGCHead_SET_FINALIZED(g)
* _PyGC_FINALIZED(o), _PyGC_SET_FINALIZED(o)
* _PyObject_GC_TRACK(o), _PyObject_GC_UNTRACK(o)
* _PyGC_PREV_MASK_FINALIZED
* _PyGC_PREV_MASK_COLLECTING
* _PyGC_PREV_SHIFT
* _PyGC_PREV_MASK
* Replace _PyGC_generation0 with _PyRuntime.gc.generation0
* _queuemodule.c: replace _PyObject_GC_UNTRACK()
with with PyObject_GC_UnTrack()
* Document that _PyObject_GC_TRACK() _PyObject_GC_UNTRACK() macros
have been removed from the public C API.
2018-11-13 12:52:18 +01:00
Windson yang
0dc1e45dfd
Fix a couple documentation typos. (GH-10498)
...
reproduciblity -> reproducibility
PyPA are the group -> PyPA is the group
2018-11-12 19:56:25 -08:00
Windson yang
a9655b7f71
Improve grammar in Glossary. (GH-10474)
...
a asynchronous generator -> an asynchronous generator
2018-11-12 09:42:38 -08:00
Andrés Delfino
7610f4fe93
Correct grammar mistake in stdtypes.rst (GH-10481)
2018-11-12 09:24:00 -08:00
Andrés Delfino
9404e7737b
Linkify PEP 8 in unix.rst (GH-10482)
2018-11-12 08:31:57 -08:00
Giampaolo Rodola
19c46a4c96
bpo-33695 shutil.copytree() + os.scandir() cache ( #7874 )
2018-11-12 06:18:15 -08:00
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
cd449806fa
Minor grammar improvement to io documentation. (GH-10329)
...
Independently of -> Independent of
2018-11-11 20:06:18 -08:00
Jakub Stasiak
7432f0929f
Update subprocess.Popen documentation wrt universal_newlines arg (GH-10337)
...
* universal_newlines defaulting to False would suggest, that not
specifying universal_newlines explicitly and setting text to True
should cause an error, which is not the case.
* The run function didn't have the universal_newlines parameter
documented
* The check_output function didn't have its text parameter documented
2018-11-11 19:40:42 -08:00
Julien Palard
082875dcd6
bpo-33878: Doc: Fix missing case by simplifying. (GH-7762)
...
The documentation was not covering multiple targets enclosed by
parenthesis nor multiple targets enclosed by brackets, adding them all
would be heavy, an else cover them all and is lighter to read.
2018-11-12 00:59:39 +01:00
Andrés Delfino
b086c8afdb
bpo-33699: Describe try's else clause with the rest of the try clause (GH-7252)
...
https://bugs.python.org/issue33699
2018-11-11 11:33:51 -08:00
Andrés Delfino
76e8fd7b7e
dict insertion order is guaranteed since 3.7 (GH-10431)
2018-11-11 08:56:47 -08:00
Terry Jan Reedy
50ff02b431
bpo-34864: Document two IDLE on MacOS issues. (GH-10456)
...
The System Preferences Dock "prefer tabs always" setting disables some
IDLE features. Menus are a bit different than as described for Windows
and Linux.
2018-11-10 23:26:31 -05:00
Géry Ogam
009b2f0204
Correct a typo in the Unittest documentation (GH-10397)
...
Co-Authored-By: maggyero <gery.ogam@gmail.com>
2018-11-09 14:34:54 -05:00
Raymond Hettinger
b83942c755
Cleanup and improve the regex tokenizer example. (GH-10426)
...
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.
2018-11-09 01:19:33 -08:00
Lisa Roach
0f221d09ca
bpo-24412: Adds cleanUps for setUpClass and setUpModule. (GH-9190)
2018-11-08 18:34:33 -08:00
Julien Palard
556d50d03d
Doc: Make all versions sidebars the same for consistency. (GH-10288)
2018-11-08 00:11:49 +01:00
Julien Palard
beed84ca5e
bpo-35015: Doc: Fix internationalisation of the availability directive. (GH-10360)
2018-11-07 22:42:40 +01:00
Andrés Delfino
bfe1839aa9
Add link to PEP 525 in Expressions. (GH-10333)
2018-11-07 20:12:12 +02:00
Andrés Delfino
ae31e3fbf4
glob uses fnmatch.filter instead of fnmatch since 2001. (GH-10102)
2018-11-07 20:09:11 +02:00
Andrés Delfino
c5eec4426d
Add a reference to the name mangling description in the tutorial to the index. (GH-10138)
2018-11-07 19:59:45 +02:00
Andrés Delfino
cdb96f45b6
Add future_stmt to simple_stmt production list. (GH-8239)
2018-11-07 19:32:18 +02:00
Andrés Delfino
ca68261c75
Fix markup for xml.sax in 3.8 notes. (GH-9603)
2018-11-07 19:29:14 +02:00
Andrés Delfino
d64991031e
Correct grammar mistakes in string.rst. (GH-9752)
2018-11-07 19:24:56 +02:00
Andrés Delfino
ca03f3b93e
Mark len call as a code snippet in stdtypes.rst. (GH-9804)
2018-11-07 19:22:47 +02:00
Andrés Delfino
ea6a28c9f7
Mark -c and -O as command line options in reStructuredText. (GH-10103)
2018-11-07 19:06:45 +02:00
Cheryl Sabella
637a33b996
bpo-2504: Add pgettext() and variants to gettext. (GH-7253)
2018-11-07 16:12:20 +02:00
Diego Rojas
5598cc90c7
bpo-34160: Preserve order of attributes in minidom. (GH-10219)
2018-11-07 16:09:04 +02:00
HongWeipeng
f194479949
bpo-31553: add --json-lines option to json.tool ( #10051 )
...
* add jsonlines option to json.tool
* code review
* fix:avoid read infile after it close
* improve doc in whatsnew 3.8
2018-11-07 12:09:32 +02:00
guoci
0e7497cb46
bpo-34898: Add mtime parameter to gzip.compress(). (GH-9704)
...
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.
2018-11-07 11:50:23 +02:00
Andrés Delfino
d2b11af915
Remove duplicate "Reference Guide" in optparse.rst. (GH-10372)
2018-11-07 07:47:11 +02:00
Terry Jan Reedy
76cd0c30d6
bpo-33000: Document that IDLE's shell has no line limit. ( #10373 )
...
A program that runs indefinitely can overfill memory.
2018-11-06 23:55:06 -05:00
Terry Jan Reedy
75d9d59ab3
bpo-23220: Explain how IDLE's Shell displays output (GH-10356)
...
Add a new subsection to the doc.
2018-11-06 12:37:36 -05:00
Terry Jan Reedy
5e79090324
bpo-35099: Improve the doc about IDLE running user code. ( #10350 )
...
The section is renamed from "IDLE -- console differences". It mostly
covers the implications of using custom sys.stdxxx objects.
2018-11-05 21:30:32 -05:00
Denis Osipov
0bee3c36d4
bpo-35119: Fix RecursionError in example of customizing module attribute access. (GH-10323)
...
https://bugs.python.org/issue35119
2018-11-06 01:53:21 +00:00
Rémi Lapeyre
6531bf6309
bpo-33462: Add __reversed__ to dict and dict views (GH-6827)
2018-11-06 09:38:54 +09:00
E Kawashima
16c8a53490
[Docs] Fix required version of an example of importlib (GH-10118)
...
§31.5.6.3. Importing a source file directly: `module_from_spec` is new in Python 3.5.
2018-11-05 23:41:17 +01:00
Serhiy Storchaka
083a7a172b
bpo-35167: Specify program for gzip and json.tool command line options. (GH-10332)
2018-11-05 17:47:27 +02:00
Mario Corchero
ad1a25f499
bpo-32512: Add -m option to profile for profiling modules ( #5132 )
...
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.
2018-11-05 22:03:46 +10:00
Max Bélanger
2810dd7be9
closes bpo-32285: Add unicodedata.is_normalized. (GH-4806)
2018-11-04 15:58:24 -08:00
Pablo Galindo
b4db249c95
bpo-9842: Add cross-reference to the ellipsis object (GH-4063)
...
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
2018-11-04 14:36:25 -08:00
Windson yang
98b8535415
bpo-35118: Improve docs regarding indexing (GH-10265)
2018-11-04 14:34:22 -08:00
Stéphane Wirtel
55f3317e98
bpo-10536: Enhancements to gettext docs (GH-10324)
2018-11-04 23:24:41 +01:00
Saptak Sengupta
622935d9a6
bpo-31887: Adds documentations for special multipart/signed handling (GH-4268)
...
This pull request adds some information about the special multipart/signed handling to clear about disabling header folding.
https://bugs.python.org/issue31887
2018-11-04 14:12:34 -08:00
Adrian Liaw
c03bf0ae79
Doc: Disable smartquotes for zh-tw, zh-cn, fr and ja translations (GH-9423)
2018-11-04 22:04:51 +01:00
Stéphane Wirtel
0edc7b1b1a
bpo-35159: Add a link to the devguide in the sidebar of the index (Doc/) (GH-10316)
2018-11-04 21:41:34 +01:00
Elena Oat
52465e1b8b
Explain that the orderness of the result of glob is system-dependant (GH-6587)
...
Thanks!
2018-11-04 15:50:55 +01:00