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
0cd6391fd8
bpo-34977: Add Windows App Store package (GH-11027)
...
Also adds the PC/layout script for generating layouts on Windows.
2018-12-10 18:52:57 -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
Victor Stinner
cb0b78a070
Revert "bpo-34977: Add Windows App Store package (GH-10245)" (GH-11019)
...
This reverts commit 468a15aaf9
.
2018-12-07 12:57:43 +01: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
Mariatta
16501b7082
bpo-35434 Fix wrong issue number in what's new in 3.8 (GH-11012)
...
https://bugs.python.org/issue35434
2018-12-06 21:59:42 -08:00
Steve Dower
468a15aaf9
bpo-34977: Add Windows App Store package (GH-10245)
2018-12-06 21:09:20 -08:00
Andre Delfino
c9566b8c45
Add missing period in distutils.dep_util.newer_group doc (GH-11003)
2018-12-06 13:06:55 -08: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
Andre Delfino
1ce853f377
Move __missing__ after __delitem__ in Data model. (GH-10923)
2018-12-05 21:42:44 +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
Kevin Adler
a407004391
Fix typo in Memory Management doc. (GH-10798)
2018-11-30 09:42:47 +02:00
Eddie Elizondo
9fbcfc08e5
bpo-16086: Fix PyType_GetFlags() documentation (GH-10758)
...
PyType_GetFlags() return type is unsigned long, not long.
2018-11-29 10:11:36 +01: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
Serhiy Storchaka
62be74290a
bpo-33012: Fix invalid function cast warnings with gcc 8. (GH-6749)
...
Fix invalid function cast warnings with gcc 8
for method conventions different from METH_NOARGS, METH_O and
METH_VARARGS excluding Argument Clinic generated code.
2018-11-27 13:27:31 +02:00
Lisa Roach
433433fa6d
Adds IPv6 support when invoking http.server directly. (GH-10595)
2018-11-26 10:43:38 -08:00
Mathieu Dupuy
5719f275b7
Doc: Delete now useless Windows FAQ section (GH-10557)
2018-11-26 17:13:41 +01: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
Mathieu Dupuy
a1c4001408
Doc: Delete "how do I emulate os.kill" section in Windows FAQ (GH-10487)
...
That section is a tip on how to kill process on Windows for Python prior to 2.7 and 3.2.
3.1 end of support was April 2012 and 2.6 was October 2013, so that hasn't been need for supported versions of Python for more than 5 years. Beside not being needed anymore for a long time, when I read it with the eyes of a Python profane, it makes Python looks bad, like a language from the parts with warts you need to circumvent.
Let's delete that :)
2018-11-23 15:35:07 +01: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
Julien Palard
d936a8f8e0
bpo-35221: Additional hint that the placeholder is to be replaced. (GH-10604)
2018-11-21 00:40:05 -08: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
Julien Palard
6b73bb523a
bpo-31146: Don't fallback switcher to english on not-yet pusblished languages. (GH-10558)
2018-11-20 17:18:30 +01: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
Windson yang
689d555ec1
bpo-25438: document what codec PyMemberDef T_STRING decodes the char * as (GH-10580)
...
Source of T_STRING: e42b705188/Python/structmember.c (L51)
Source of PyUnicode_FromString
https://github.com/python/cpython/blob/master/Include/unicodeobject.h#L702
https://bugs.python.org/issue25438
2018-11-17 11:16:51 -08:00
Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి)
4edeaeac4c
bpo-35250: Correct argument name "num" -> "btn" in turtle docs. (GH-10565)
2018-11-16 15:28:51 +02:00
wim glenn
a48e0eb967
Fix outdated info in datamodel about dicts (GH-9807)
2018-11-16 20:58:19 +09:00
Andrés Delfino
c2ccac7b9f
bpo-33816: Remove outdated metaclass example (GH-7566)
2018-11-16 20:41:55 +09:00
Terry Jan Reedy
b65413b497
bpo-35213: Where appropriate, use 'macOS' in idlelib. ( #10478 )
2018-11-15 13:15:13 -05:00
Sebastián Ramírez
25221b3283
Fix typo in asynchronous generator iterator documentation (GH-10542)
...
Remove an unnecessary "that":
... will execute that the body ... -> ... will execute the body ...
2018-11-14 21:51:56 -08:00
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