Stéphane Wirtel
3e28eed9ec
bpo-34969: Add --fast, --best on the gzip CLI (GH-9833)
2018-11-03 16:24:23 +01:00
İsmail Arılık
fe62d877e3
Fix a typo about a comma. (GH-10306)
2018-11-03 17:05:59 +02:00
Pablo Galindo
bf46a09dec
bpo-35075: Fix broken url in the pprint documentation (GH-10201)
...
https://bugs.python.org/issue35075
2018-11-01 05:29:38 -07:00
Serhiy Storchaka
511747bec3
bpo-35110: Fix yet few spaces before dashes. (GH-10255)
2018-10-31 11:14:38 +02:00
Serhiy Storchaka
3f819ca138
bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)
2018-10-31 02:26:06 +02:00
matthewbelisle-wf
68f323715e
bpo-35116, urllib.parse: Document the new max_num_fields parameter (GH-10247)
2018-10-30 21:30:19 +01:00
Daniel Lovell
a80af77087
bpo-35086: Fix tkinter example "A Simple Hello World Program". (GH-10160)
...
The root widget was accessed as a global variable in the Application's method.
2018-10-30 16:56:07 +02:00
Serhiy Storchaka
b232df9197
bpo-31680: Add curses.ncurses_version. (GH-4217)
...
Use curses.ncurses_version for conditionally skipping a test.
2018-10-30 13:22:42 +02:00
Andriy Maletsky
b83d917faf
Doc: fix asyncio loop.close() description (GH-10229)
...
Needs backport to 3.7. In 3.6 the description is correct.
2018-10-29 14:39:21 -07:00
Stephan Hoyer
0200928e8d
Include memo in the documented signature of copy.deepcopy()
...
* 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!
2018-10-29 12:30:12 -06:00
Gus Goulart
c0799ec973
bpo-27741: Better wording for datetime.strptime() (GH-9994)
2018-10-29 12:49:52 +01:00
Terry Jan Reedy
ea9c8bd443
bpo-35097: Add IDLE doc subsection explaining editor windows. ( #10206 )
...
Topics include opening, title and status bar, .py* extension, and running.
2018-10-28 20:42:18 -04:00
Pablo Galindo
c61e229d2a
bpo-33234: Add exact allocation optimization to lists in What's New (GH-10200)
...
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.
2018-10-28 22:03:18 +00:00
Terry Jan Reedy
18032632ab
Issue 35093: Document the IDLE document viewer in the IDLE doc. ( #10195 )
...
Add a paragraph in "Help and preferences", "Help sources" subsection.
2018-10-28 16:21:18 -04:00
Raymond Hettinger
e3685fd5fd
bpo-34160: Preserve user specified order of Element attributes (GH-10163)
2018-10-28 11:18:22 -07:00
Terry Jan Reedy
68d6dc0770
bpo-1529353: Explain Shell text squeezing in the IDLE doc. ( #10169 )
2018-10-28 12:44:44 -04:00
Sebastian Rittau
c8a8d6b347
bpo-35089: Don't mention typing.io and typing.re (GH-10173)
...
https://bugs.python.org/issue35089
2018-10-28 16:03:29 +00:00
Serhiy Storchaka
913876d824
bpo-35054: Add yet more index entries for symbols. (GH-10121)
2018-10-28 13:41:26 +02:00
Andrés Delfino
95f68b10d5
Fix mistakes on function coroutines related definitions (GH-9871)
...
Fix a bug I introduced in #9864 by which coroutines are treated as synonymous of function coroutines.
Also, fix the same mistake (coroutines == function coroutines) already present in other parts of the reference.
I'm very sorry for the hassle.
2018-10-28 03:41:57 -07:00
Andreas Pelme
d855f2fdbd
unittest documentation: Spell pytest without the dot (GH-9820)
...
Referring to ``pytest`` as ``py.test`` is deprecated.
2018-10-27 11:09:12 -07:00
nsrip
40bf6cff22
Fix typo in zipfile documentation. (GH-10151)
2018-10-27 17:42:56 +03:00
Serhiy Storchaka
fec35c99aa
bpo-33710: Deprecate l*gettext() and related functions in the gettext module. (GH-10139)
...
They return encoded bytes and are Python 2 artifacts.
2018-10-27 08:00:41 +03:00
Terry Jan Reedy
d9bff4e81b
bpo-35079: Revise difflib.SequenceManager.get_matching_blocks doc (GH-10144)
...
Specify that blocks are non-overlapping. Change '!=' to '<'.
2018-10-26 23:03:08 -04:00
Stéphane Wirtel
12e696b4f0
bpo-35042: Use the :pep: role where a PEP is specified ( #10036 )
2018-10-26 15:58:26 -07:00
Benjamin Peterson
4e3a53bcee
Fix a typo in asyncio-dev.rst. (GH-10133)
...
"threadsafe"
2018-10-26 10:14:04 -07:00
Andrés Delfino
a6dc531063
bpo-34789: make xml.sax.make_parser accept iterables of all types (GH-9576)
2018-10-26 17:56:57 +03:00
Senthil Kumaran
25a525bf5a
Simplify the warning for http.server. ( #10116 )
2018-10-26 06:43:37 -07:00
Pablo Galindo
7cd2543416
bpo-34890: Make iscoroutinefunction, isgeneratorfunction and isasyncgenfunction work with functools.partial (GH-9903)
...
inspect.isfunction() processes both inspect.isfunction(func) and
inspect.isfunction(partial(func, arg)) correctly but some other functions in the
inspect module (iscoroutinefunction, isgeneratorfunction and isasyncgenfunction)
lack this functionality. This commits adds a new check in the mentioned functions
in the inspect module so they can work correctly with arbitrarily nested partial
functions.
2018-10-26 12:19:14 +01:00
Stéphane Wirtel
e483f02423
bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037)
2018-10-26 12:52:11 +02:00
Serhiy Storchaka
ddb961d2ab
bpo-35054: Add more index entries for symbols. (GH-10064)
2018-10-26 09:00:49 +03:00
Max Bélanger
6c83d9f4a7
bpo-35022: unittest.mock.MagicMock now also supports __fspath__ (GH-9960)
...
The MagicMock class supports many magic methods, but not __fspath__. To ease
testing with modules such as os.path, this function is now supported by default.
2018-10-25 23:48:58 +02:00
Stéphane Wirtel
1770d1c512
bpo-35038: AttributeError: 'frame' object has no attribute 'f_restricted'. (GH-10098)
...
https://bugs.python.org/issue35038
2018-10-25 14:13:45 -07:00
Stéphane Wirtel
9e95eb0d60
Fix grammar in using/unix build instruction docs (GH-10009)
2018-10-25 10:32:30 -05:00
Ned Batchelder
890423f796
configparser doc: Properly label ConfigParser attributes (GH-9930)
2018-10-25 01:47:01 +02:00
orlnub123
78401f7156
importlib doc: Fix approximated import_module() code (GH-9945)
...
The spec gets stored on modules with the __spec__ attribute, not spec.
2018-10-25 01:32:26 +02:00
TilmanK
e80e77a484
bpo-35027, distutils doc: Correct note on setup.py change in Python 3.7 (GH-10032)
2018-10-25 00:50:25 +02:00
Mariatta
9f43fbbd9d
Use f-strings in asyncio-task code examples (GH-10035)
...
Replace str.format with f-strings in the code examples of asyncio-task documentation.
2018-10-25 00:37:12 +02:00
jdemeyer
057f4078b0
bpo-32797: improve documentation of linecache.getline (GH-9540)
2018-10-24 14:44:41 +02:00
Tal Einat
dfba1f67e7
bpo-33899: Mention tokenize behavior change in What's New (GH-10073)
2018-10-24 00:20:05 -07:00
Zsolt Cserna
4f399be0e7
bpo-34260, shutil: fix copy2 and copystat documentation (GH-8523)
...
Fix the documentation of copy2, as it does not copy file ownership (user and
group), only mode, mtime, atime and flags.
The original text was confusing to developers as it suggested that this
command is the same as 'cp -p', but according to cp(1), '-p' copies file
ownership as well.
Clarify which metadata is copied by shutil.copystat in its docstring.
2018-10-23 12:09:50 +02:00
Andrei Petre
83a07652e0
bpo-34748: link to :ref:`partial-objects` in functools.partial doc. (GH-9809)
2018-10-23 14:11:20 +08:00
Xtreak
121eb1694c
bpo-34081: Fix wrong example link that was linking to distutils (GH-8248)
2018-10-21 16:54:52 +02:00
Xtreak
c3f52a59ce
bpo-35036: Remove empty log line in the suspicious.py tool (GH-10024)
...
Previous to commit ee171a2
the logline was working because of self.info() (now
deprecated) defaults to an empty message.
2018-10-21 13:57:32 +01:00
Benjamin Peterson
12d0ff1230
Remove ">>>" from testsetup. (GH-10017)
...
Fixes doc build breakage from 890a4b9293
.
2018-10-20 16:51:05 -07:00
Xtreak
890a4b9293
bpo-35020: Link to sorting examples from list.sort() (GH-9931)
2018-10-20 14:39:03 -07:00
Senthil Kumaran
eeab510bb7
bpo-34576 - Fix the formatting for security considerations in http.server.rst ( #10005 )
...
* bpo-34576 - Fix the formatting for security considerations in http.server.rst
* Address review comment.
2018-10-20 11:32:07 -07:00
Stéphane Wirtel
d262250d07
bpo-35032: Remove inaccessible videos from faq/Windows (GH-10004)
...
https://bugs.python.org/issue35032
2018-10-20 08:27:03 -07:00
Stéphane Wirtel
0522fd81dc
bpo-34839: Add a 'before 3.6' in the section 'warnings' of doctest (GH-9736)
2018-10-20 10:43:32 +02:00
Pablo Galindo
d5b4f1b5a0
bpo-34983: Expose symtable.Symbol.is_nonlocal() in the symtable module (GH-9872)
...
The symbol table was not exposing functionality to query the nonlocal symbols
in a function or to check if a particular symbol is nonlocal.
2018-10-20 01:46:00 +01:00
Pablo Galindo
027664a3d5
bpo-32798: Add restriction on the offset parameter for mmap.flush in the docs ( #5621 )
...
Add restriction on the offset parameter for mmap.flush.
Explain that ALLOCATIONGRANULARITY is the same as PAGESIZE in Unix.
2018-10-20 02:37:55 +02:00