Barry Warsaw
997b8c140e
Update and sync importlib.resources documentation ( #5694 )
2018-02-16 10:45:39 -05:00
ngie-eign
7745ec4e35
Update comment in posixmodule.c (GH-5681)
...
A closing parentheses was missing.
Signed-off-by: Ngie Cooper <yaneurabeya@gmail.com>
2018-02-14 11:54:28 -08:00
Bar Harel
5746510b7a
bpo-32841: Fix cancellation in awaiting asyncio.Condition ( #5665 )
2018-02-14 11:18:11 +02:00
Eitan Adler
3384d38d51
Fix installation instructions for *nix (GH-5605)
...
Remove pkg_add -r python from FreeBSD installation section.
Moved to OpenBSD.
2018-02-13 18:44:01 -08:00
Benjamin Peterson
2b86f4cb2c
remove mercurial dot files (GH-5558)
2018-02-13 18:11:34 -08:00
Zackery Spytz
88c38a4049
bpo-27846: Delete incorrect note in base64 docs (GH-5666)
...
This note incorrectly stated that "Base64 has an expansion factor of 6
to 4" (it is actually 4 to 3). It was decided to remove the note.
2018-02-14 03:08:54 +03:00
INADA Naoki
f0bc645dfe
bpo-31787: Skip refleak check when _hashlib is not available (GH-5660)
2018-02-13 23:41:19 +09:00
Xiang Zhang
2b77a921e6
bpo-29803: remove a redandunt op and fix a comment in unicodeobject.c ( #660 )
2018-02-13 18:33:32 +08:00
Oren Milman
d019bc8319
bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995)
2018-02-13 19:28:33 +09:00
Nick Coghlan
aec7532ed3
bpo-30579: Docs for dynamic traceback creation (GH-5653)
2018-02-13 18:10:58 +10:00
Segev Finer
da6c3da6c3
bpo-32370: Use the correct encoding for ipconfig output in the uuid module. (GH-5608)
2018-02-13 08:29:54 +02:00
Serhiy Storchaka
b7e2d67f7c
bpo-32827: Fix usage of _PyUnicodeWriter_Prepare() in decoding errors handler. (GH-5636)
2018-02-13 08:27:33 +02:00
Terry Jan Reedy
688722cedd
bpo-32837: IDLE - require encoding argument for textview.view_file. (GH-5646)
...
Using the system and place-dependent default encoding for open()
is a bad idea for IDLE's system and location-independent files.
2018-02-12 17:42:41 -05:00
Terry Jan Reedy
f34e03ec0e
bpo-32826: Add "encoding=utf-8" to open() in idle_test/test_help_about. (GH-5639)
...
GUI test test_file_buttons() only looks at initial ascii-only lines,
but failed on systems where open() defaults to 'ascii' because
readline() internally reads and decodes far enough ahead to encounter
a non-ascii character in CREDITS.txt.
2018-02-12 14:58:26 -05:00
Коренберг Марк
7766b96ab8
bpo-32221: makeipaddr(): remove interface part + speedup (GH-5449) ( #5449 )
2018-02-12 14:47:42 -05:00
SSE4
3c34aad4e7
bpo-29248: Fix os.readlink() on Windows (GH-5577)
...
The PrintNameOffset field of the reparse data buffer
was treated as a number of characters instead of bytes.
2018-02-12 20:10:35 +03:00
Zachary Ware
6ea20fc719
Fix AppVeyor doc short-circuit (GH-5632)
2018-02-11 15:35:09 -06:00
Pablo Galindo
e14c010378
bpo-32815: Improve docs on the subprocess API *text* parameter (GH-5622)
...
Describe *text* as an alias for *universal_newlines* in more places that people are likely to be referred to.
2018-02-11 12:58:23 -08:00
Zachary Ware
28607e0dd9
Add short-circuit for doc changes to AppVeyor (GH-5519)
2018-02-11 11:19:51 -06:00
Zachary Ware
310b05289b
bpo-32604: Make _xxsubinterpreters build on Windows (GH-5516)
...
This is not the ideal solution; this means that a test module is now
always included in the main python3x.dll. However, we're already
including xxsubtype, so why not?
2018-02-11 10:43:48 -06:00
Raymond Hettinger
136c8e0795
Code beautification using f-strings ( #5618 )
2018-02-11 08:00:11 -08:00
Cheryl Sabella
988fb28431
bpo-11015: Update test.support documentation (GH-5610)
2018-02-11 23:10:42 +10:00
Raymond Hettinger
3793f95f98
bpo-32792: Preserve mapping order in ChainMap() (GH-5586)
2018-02-11 00:30:31 -08:00
sblondon
8d1f2f4038
bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609)
...
The new link is given in a red box on the old page.
2018-02-10 17:39:43 -05:00
INADA Naoki
8ff5356473
travis: Use -O3 option (GH-5599)
...
We don't use debugger on Travis.
2018-02-10 20:35:17 +09:00
Zhou Fangyi
5df5286abd
bpo-30688: Import unicodedata only when needed. (GH-5606)
...
Importing unicodedata in sre_parse leads to failure in compilation.
unicodedata is unused during compilation, and is not compiled when this
file is imported. The error occurs when generating posix variables,
pprint is required. The dependency chain goes on like this:
sysconfig -> pprint -> re -> sre_compile -> sre_parse (this file)
This commits fixes compilation issues introduced by
2272cec13b
.
(Issue 30688, GH-5588)
2018-02-10 08:59:29 +02:00
Serhiy Storchaka
a445feb729
bpo-30688: Support \N{name} escapes in re patterns. (GH-5588)
...
Co-authored-by: Jonathan Eunice <jonathan.eunice@gmail.com>
2018-02-10 00:08:17 +02:00
Serhiy Storchaka
2411292ba8
bpo-30157: Fix csv.Sniffer.sniff() regex pattern. (GH-5601)
...
Co-authored-by: Jake Davis <jcdavis@awedge.net>
2018-02-09 20:00:49 +02:00
Serhiy Storchaka
bfe4fd5f2e
Fix some warnings produced by different compilers. ( #5593 )
2018-02-09 17:31:26 +02:00
Serhiy Storchaka
5bb0005f9f
Make formatting of some return codes conforming to the general style. ( #5587 )
2018-02-09 13:31:19 +02:00
Serhiy Storchaka
23cdbfa744
bpo-32775: Fix regular expression warnings in fnmatch. ( #5583 )
...
fnmatch.translate() no longer produces patterns which contain set
operations.
Sets starting with '[' or containing '--', '&&', '~~' or '||' will
be interpreted differently in regular expressions in future versions.
Currently they emit warnings. fnmatch.translate() now avoids producing
patterns containing such sets by accident.
2018-02-09 13:30:19 +02:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
feaefc7f60
Cleanup inspect
...
* use isinstance(..) instead of type(..)
* use '.. not in ..' instead of 'not .. in .. '
2018-02-09 18:59:19 +09:00
Alan D Moore
a48e78a0b7
bpo-32585: Add tkinter.ttk.Spinbox. ( #5221 )
2018-02-09 02:03:55 +02:00
Stéphane Wirtel
32921f9082
bpo-32802: Fix Travis build (GH-5589)
...
Fix bug in travis configuration where it did not run the tests when
a change includes both code and doc changes.
2018-02-08 11:14:59 -08:00
Brice Gros
fc1ce810f1
bpo-6135: Fix subprocess.check_output doc to mention changes in 3.6 (GH-5564)
...
Fixes the documentation for `subprocess.check_output()` not mentioning that the encoding and errors parameters were added in 3.6.
2018-02-06 16:46:29 -08:00
Alexey
517da1e58f
Fix typo in Include/objimpl.h, the word "has" was missing (GH-5568)
...
It now reads: ...be aware that Python has no control over...
2018-02-06 16:07:30 -07:00
Bernhard M. Wiedemann
4ad703b7ca
bpo-30693: Fix tarfile test cleanup on MSWindows ( #5557 )
...
it was using our mocked listdir to check when the files were gone.
2018-02-06 20:08:53 +02:00
Alexey Izbyshev
c1e46e94de
bpo-32777: Fix _Py_set_inheritable async-safety in subprocess (GH-5560)
...
Fix a rare but potential pre-exec child process deadlock in subprocess on POSIX systems when marking file descriptors inheritable on exec in the child process. This bug appears to have been introduced in 3.4 with the inheritable file descriptors support.
This also changes Python/fileutils.c `set_inheritable` to use the "slow" two `fcntl` syscall path instead of the "fast" single `ioctl` syscall path when asked to be async signal safe (by way of being asked not to raise exceptions). `ioctl` is not a POSIX async-signal-safe approved function.
ref: http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html
2018-02-05 22:09:34 -08:00
Paul Ganssle
22864bc8e4
Add What's new entry for datetime.fromisoformat ( #5559 )
...
Documents bpo-15873
2018-02-05 21:28:46 -05:00
Serhiy Storchaka
6c85efa5a6
bpo-32749: Make dbm.dumb databases more cosistent with other dbm databases. ( #5497 )
2018-02-05 22:47:31 +02:00
Dag Heyman
c309bcfb9f
Fix typo in whatsnew/3.7.rst (GH-5551)
...
now longer -> no longer
2018-02-05 09:39:33 -05:00
Mariatta
7a561afd2c
bpo-32720: Fixed the replacement field grammar documentation. (GH-5544)
...
`arg_name` and `element_index` are defined as `digit`+ instead of `integer`.
2018-02-05 04:29:02 -05:00
Cheryl Sabella
d1f318105b
bpo-8722: Document __getattr__ behavior with AttributeError in property (GH-4754)
...
When `__getattr__` is implemented, attribute lookup will always fall back to that,
even if the initial failure comes from `__getattribute__` or a descriptor's `__get__`
method (including property methods).
2018-02-05 12:03:22 +10:00
Terry Jan Reedy
05e806767b
Add entry for uniform lower context; add 'since' to be explicit. (GH-5539)
2018-02-04 19:07:16 -05:00
Cheryl Sabella
845d86485e
bpo-32765: Update configdialog General tab create page docstring (GH-5529)
...
Add new entries to the widget list.
2018-02-04 18:15:21 -05:00
Zachary Ware
685045060e
Try to fix the AppVeyor cache mechanism (GH-5536)
2018-02-04 14:36:43 -06:00
Zachary Ware
7de25b1124
Fix version in AppVeyor (GH-5535)
2018-02-04 14:09:29 -06:00
Raymond Hettinger
ca6c125f10
Fix typo -- missing "not" (GH-5528)
2018-02-04 09:15:01 -08:00
Serhiy Storchaka
95c3262762
Use assertTrue() instead of deprecated assert_(). ( #5526 )
2018-02-04 18:14:47 +02:00
Serhiy Storchaka
07ca9afaa8
bpo-10544: Disallow "yield" in comprehensions and generator expressions. (GH-4564)
2018-02-04 10:53:48 +02:00