Vaibhav Gupta
3a81076bbf
bpo-35579: Fix typo in in asyncio-task documentation (GH-11321)
...
https://bugs.python.org/issue35579
https://bugs.python.org/issue35579
2018-12-26 06:47:16 -08:00
Raymond Hettinger
56edf3a4b1
Redo PR 785 -- Add cross reference links (GH-11319)
2018-12-25 17:53:36 -08:00
Mariatta
95327bc80d
Minor grammar improvement in types.rst (GH-11308)
...
defines utility function -> defines utility functions
Reported in https://mail.python.org/pipermail/docs/2018-December/038693.html
2018-12-24 15:56:05 -08:00
Andre Delfino
d83f5bda34
Fix minor grammatical mistakes in reversed(dict) doc (GH-10997)
2018-12-23 23:05:23 -08:00
Andre Delfino
7804e8c70c
Tweak wording about Fraction and Decimal (GH-10904)
2018-12-23 23:03:40 -08:00
Cheryl Sabella
b7105c9c96
bpo-35566: Add links to annotation glossary term (GH-11291)
2018-12-23 21:09:09 -08:00
Chris Rands
d378b1f8ed
bpo-34764: improve docs example of iter() with sentinel value (GH-11222)
2018-12-23 21:07:17 -08:00
Boštjan Mejak
284b787612
Add 2 missing commas (GH-10698)
2018-12-23 08:45:51 -08:00
Andre Delfino
f06fba5965
Document that dict.fromkeys accepts any iterable for keys (GH-10998)
2018-12-22 20:14:46 -08:00
Serhiy Storchaka
8ac658114d
bpo-30455: Generate all token related code and docs from Grammar/Tokens. (GH-10370)
...
"Include/token.h", "Lib/token.py" (containing now some data moved from
"Lib/tokenize.py") and new files "Parser/token.c" (containing the code
moved from "Parser/tokenizer.c") and "Doc/library/token-list.inc" (included
in "Doc/library/token.rst") are now generated from "Grammar/Tokens" by
"Tools/scripts/generate_token.py". The script overwrites files only if
needed and can be used on the read-only sources tree.
"Lib/symbol.py" is now generated by "Tools/scripts/generate_symbol_py.py"
instead of been executable itself.
Added new make targets "regen-token" and "regen-symbol" which are now
dependencies of "regen-all".
The documentation contains now strings for operators and punctuation tokens.
2018-12-22 11:18:40 +02:00
Cheryl Sabella
c1b4b0f616
bpo-22703: IDLE: Improve Code Context and Zoom Height menu labels (GH-11214)
...
The Code Context menu label now toggles between Show/Hide Code Context.
The Zoom Height menu now toggles between Zoom/Restore Height.
Zoom Height has moved from the Window menu to the Options menu.
https://bugs.python.org/issue22703
2018-12-21 22:25:45 -08:00
Xtreak
f0af4c54e3
bpo-33830: Fix an example in http.client docs for 404. (GH-7780)
2018-12-21 17:34:41 +02:00
Terry Jan Reedy
292cd6e331
bpo-35521: Add more cross-refs to IDLE docs ( #11257 )
...
Format menu and preferences.
2018-12-20 06:06:29 -05:00
Cheryl Sabella
01421bec1e
bpo-35521: IDLE: Add code context section to docs ( #11205 )
...
Also add some internal cross-references.
2018-12-20 00:38:54 -05:00
Serhiy Storchaka
bf99bcf56c
Fix Python version since which external enities are not resolved by default. (GH-11237)
2018-12-19 15:29:04 +02:00
Manjusaka
92330c0b6d
bpo-35497: add versionadded tag for EPOLLEXCLUSIVE (GH-11162)
2018-12-19 19:59:52 +08:00
Serhiy Storchaka
2b57c43f21
bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)
2018-12-19 08:09:46 +02:00
Jules Lasne (jlasne)
82d73554e4
Removed dangling since Python
at the end of library/xml.rst. (GH-11201)
2018-12-19 08:05:14 +02:00
Hrvoje Nikšić
e3666fc8ef
bpo-35465: Document _UnixSelectorEventLoop.add_signal_handler. (GH-11145)
2018-12-18 16:31:29 -05:00
Victor Stinner
3ab064e80a
bpo-23451: Update time.monotonic() documentation (GH-11190)
...
bpo-23451, bpo-22117: Python 3.5 requires Windows Vista or newer,
time.monotonic() is now always system-wide.
2018-12-17 12:12:34 +01:00
Beomsoo Kim
b912f9342e
bpo-35511: Trivial docs updates for profile and resource library modules. (GH-11124)
...
polish documentation for profile and resource modules
2018-12-16 21:34:08 +02:00
Victor Stinner
d7538dd5e3
bpo-35471: Remove the macpath module (GH-11129)
...
Python 2.4 dropped MacOS 9 support. The macpath module was deprecated
in Python 3.7. This change removes it.
2018-12-14 13:37:26 +01:00
Victor Stinner
7acd50ad8b
bpo-35491: Enhance multiprocessing.BaseProcess.__repr__() (GH-11138)
...
* Add the pid and parent pid to multiprocessing.BaseProcess.__repr__().
* Add negative sign (ex: "-SIGTERM") to exitcode (process killed
by a signal)
* Only call _popen.poll() once.
Example:
<ForkProcess(ForkPoolWorker-1, started daemon)>
becomes:
<ForkProcess name='ForkPoolWorker-1' pid=12449 parent=12448 started daemon>
Example:
<ForkProcess(ForkPoolWorker-1, stopped[SIGTERM] daemon)>
becomes:
<ForkProcess name='ForkPoolWorker-1' pid=12960 parent=12959 stopped exitcode=-SIGTERM daemon>
2018-12-14 12:58:52 +01:00
Jules Lasne (jlasne)
cb0f5e29e3
Fixed missing colun in library/sys.po (GH-11153)
...
# Fixed missing colun in library/sys.po
[bpo-35492](https://bugs.python.org/issue35492 ): Fixed missing colun in library/sys.po
2018-12-14 03:28:44 -08:00
Xiang Zhang
4fb0b8bc25
bpo-33106: change dbm key deletion error for readonly file from KeyError to dbm.error ( #6295 )
2018-12-12 20:46:55 +08:00
Steve Dower
1c3de541e6
bpo-34977: Use venv redirector instead of original python.exe on Windows (GH-11029)
2018-12-10 08:11:21 -08:00
Gregory P. Smith
e328753d91
bpo-22005: Document the reality of pickle compatibility. (GH-11054)
2018-12-09 11:42:58 -08:00
Andre Delfino
de9e9b476e
Fix numbered lists in stdtypes.rst. (GH-10989)
2018-12-09 09:00:20 +02:00
Serhiy Storchaka
8452ca15f4
bpo-22005: Fixed unpickling instances of datetime classes pickled by Python 2. (GH-11017)
...
encoding='latin1' should be used for successful decoding.
2018-12-07 13:42:10 +02:00
Gregory P. Smith
91f259b478
Clarify expectedFailure in the unittest docs. ( #10953 )
2018-12-06 12:56:24 -08:00
E Kawashima
2d8f976cde
Fix typo in xml.dom.minidom documentation (GH-10956)
...
Escape the \t and \n.
Follow up from https://github.com/python/cpython/pull/10814 .
2018-12-05 14:15:42 -08:00
Victor Stinner
ea0ca218b0
bpo-35344: platform.platform() uses mac_ver() on macOS (GH-10780)
...
On macOS, platform.platform() now uses mac_ver(), if it returns a
non-empty release string, to get the macOS version rather than darwin
version.
2018-12-05 22:41:52 +01:00
Matt Wheeler
40a61da40d
Fix typos in concurrent.Futures documentation (GH-10920)
...
Add a missing word `as` in `as well as an`.
Linkify `threading.Thread`.
2018-12-05 13:41:20 -08:00
Andre Delfino
55f41e45b4
Correct a couple of unbalanced parenthesis. (GH-10779)
2018-12-05 21:45:30 +02:00
Naglis
1747334794
bpo-35395: fix typos in asyncio eventloop documentation (GH-10880)
...
Fixes `loop.add_writer` and `loop.add_signal_handler` method documentation to correctly reference the callback parameter from method signature.
https://bugs.python.org/issue35395
2018-12-03 23:31:15 -08:00
Chris Withers
8ca0fa9d2f
bpo-35226: Fix equality for nested unittest.mock.call objects. ( #10555 )
...
Also refactor the call recording imolementation and add some notes
about its limitations.
2018-12-03 21:31:37 +00:00
Ismo Toijala
68b56d02ef
bpo-35341: Add generic version of OrderedDict to typing (GH-10850)
2018-12-02 15:53:14 +00:00
E Kawashima
b7c2182604
Fix signature of xml.dom.minidom.Document.toprettyxml(). (GH-10814)
2018-11-30 16:03:00 +02:00
Victor Stinner
73104fa1e6
bpo-35345: Remove platform.popen() (GH-10781)
...
Remove platform.popen() function, it was deprecated since Python 3.3:
use os.popen() instead.
Rename also the "Removed" section to "API and Feature Removals"
of What's New in Python 3.8.
2018-11-29 09:58:20 +01:00
Lisa Roach
433433fa6d
Adds IPv6 support when invoking http.server directly. (GH-10595)
2018-11-26 10:43:38 -08:00
Raymond Hettinger
f0e0f2008d
bpo-35300: Add usage note to the lru_cache() docs (GH-10707)
...
https://bugs.python.org/issue35300
2018-11-25 16:24:52 -08:00
Serhiy Storchaka
4bb186d7e2
bpo-32035: Fix words about strings and bytes in zipfile documentation. (GH-10592)
2018-11-25 09:51:14 +02:00
takey
ba57963a95
Linkify SMTP.quit() in smtplib documentation. (GH-9785)
2018-11-23 08:53:24 -08:00
Zhiming Wang
361e8683e7
bpo-35035: Rename email.utils documentation to email.utils.rst (GH-10023)
...
I'll watch for 404 on the old URL and will setup an HTTP redirection if needed.
2018-11-21 13:41:07 +01:00
Serhiy Storchaka
6c48bf2d9e
bpo-9842: Add references for using "..." as a placeholder to the index. (GH-10330)
2018-11-20 19:26:09 +02:00
Victor Stinner
02e6bf7f20
bpo-28604: Fix localeconv() for different LC_MONETARY (GH-10606)
...
locale.localeconv() now sets temporarily the LC_CTYPE locale to the
LC_MONETARY locale if the two locales are different and monetary
strings are non-ASCII. This temporary change affects other threads.
Changes:
* locale.localeconv() can now set LC_CTYPE to LC_MONETARY to decode
monetary fields.
* Add LocaleInfo.grouping_buffer: copy localeconv() grouping string
since it can be replaced anytime if a different thread calls
localeconv().
* _Py_GetLocaleconvNumeric() now requires a "struct lconv *"
structure, so locale.localeconv() now longer calls localeconv()
twice. Moreover, the function now requires all arguments to be
non-NULL.
* Rename STATIC_LOCALE_INFO_INIT to LocaleInfo_STATIC_INIT.
* Move _Py_GetLocaleconvNumeric() definition from fileutils.h
to pycore_fileutils.h. pycore_fileutils.h now includes locale.h.
* The _locale module is now built with Py_BUILD_CORE defined.
2018-11-20 16:20:16 +01:00
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
4edeaeac4c
bpo-35250: Correct argument name "num" -> "btn" in turtle docs. (GH-10565)
2018-11-16 15:28:51 +02:00
Terry Jan Reedy
b65413b497
bpo-35213: Where appropriate, use 'macOS' in idlelib. ( #10478 )
2018-11-15 13:15:13 -05: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