Zachary Ware
b8a7daf077
Minor test cleanup (GH-837)
...
* Remove unused test file
* Remove duplicated text in sndhdrdata README
2017-03-27 00:08:31 -05:00
Zachary Ware
334e9ec938
Treat Sphinx warnings as errors (GH-832)
2017-03-26 21:31:31 -05:00
Jelle Zijlstra
0579e81f30
import sys before we use it on line 9 ( #828 )
2017-03-26 22:17:39 -04:00
Michael Seifert
5fb278fd58
Fixes sphinx warning in "changelog" misc/NEWS ( #829 )
2017-03-26 21:25:57 -04:00
Jim Fasarakis-Hilliard
1e73dbbc29
Fix small exception typos in Lib ( #818 )
2017-03-26 13:59:08 -07:00
cocoatomo
f8beb9831a
bpo-29888: Fix the link referring to the "Python download page" (GH-824)
2017-03-26 13:32:24 -04:00
Serhiy Storchaka
62a9951530
bpo-29900: Simplify pathlib implementation. ( #814 )
...
Since functions in the os module support path-like objects, explicit
converting Path to str no longer needed.
2017-03-25 13:42:11 +02:00
Serhiy Storchaka
4aec9a8be2
bpo-29901: Improve support of path-like objects in zipapp. ( #815 )
...
Now general path-like objects are supported, not just pathlib.Path.
2017-03-25 13:05:23 +02:00
Serhiy Storchaka
3c749fc867
Simplify partial.__new__. ( #813 )
...
Fast paths in partial.__new__ no longer needed since concatenating with empty
tuple was optimized.
2017-03-25 11:10:16 +01:00
Mandeep Bhutani
9f0aa4843f
bpo-29862: Fix grammar in importlib.reload() exception (GH-809)
2017-03-24 21:51:21 -07:00
NAKAMURA Osamu
29540cdf6c
bpo-29892: Fix wrong markup on doc-lib-functions (GH-802)
2017-03-24 19:55:08 -07:00
Ivan Levkivskyi
8f9e1bbf2d
bpo-28810: Document remaining bytecode changes in 3.6 (GH-651)
2017-03-24 14:05:04 -07:00
Serhiy Storchaka
671079ef60
bpo-29894: Deprecate returning an instance of complex subclass from __complex__. ( #798 )
...
In a future versions of Python this can be an error.
2017-03-24 21:28:43 +02:00
Serhiy Storchaka
af7b9ec5c8
bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True) ( #805 )
...
when the OS gives priority to errors such as EACCES over EEXIST.
2017-03-24 20:51:53 +02:00
Antoine Pitrou
8988945cdc
bpo-29861: release references to multiprocessing Pool tasks ( #743 )
...
* bpo-29861: release references to multiprocessing Pool tasks
Release references to tasks, their arguments and their results as soon
as they are finished, instead of keeping them alive until another task
arrives.
* Comments in test
2017-03-24 13:52:11 +01:00
Serhiy Storchaka
e304e33c16
bpo-19930: The mode argument of os.makedirs() no longer affects the file ( #799 )
...
permission bits of newly-created intermediate-level directories.
2017-03-24 13:27:42 +02:00
Sylvain Bellemare
5619ab2db3
doc: Fix small typos in library/multiprocessing (GH-698)
2017-03-24 17:26:07 +09:00
Alex Dzyoba
8a543c0bc7
`make tags` fixes (GH-717)
...
* Fix `make tags` warnings
`make tags` target tries to find C sources and headers in "Grammar" and
"Mac" folders and generates these warnings:
ctags: Warning: cannot open source file "Grammar/*.[ch]" : No such file or directory
ctags: Warning: cannot open source file "Mac/*.[ch]" : No such file or directory
This commit changes $SRCDIRS variable in configure.ac to remote these
directories. This variable is used only for tags generation.
Also, "configure" was regenerated with `autoreconf`.
* Fix `make tags` fail on non-default tag names
When ctags overrides default tags filename (e.g. `-f .tags`) `make tags`
is failed because it assumes to see default `tags` filename:
sort: cannot read: tags: No such file or directory
This commit explicitly specifies "tags" filename for tags generation.
2017-03-24 17:23:43 +09:00
Christophe Zeitouny
20fbf8accd
faulthandler: Restore the old sigaltstack during teardown ( #777 )
2017-03-23 18:14:29 +01:00
Serhiy Storchaka
0b3ec19225
Use NULL rather than 0. ( #778 )
...
There was few cases of using literal 0 instead of NULL in the context of
pointers. While this was a legitimate C code, using NULL rather than 0 makes
the code clearer.
2017-03-23 17:53:47 +02:00
Serhiy Storchaka
aefa7ebf0f
bpo-6532: Make the thread id an unsigned integer. ( #781 )
...
* bpo-6532: Make the thread id an unsigned integer.
From C API side the type of results of PyThread_start_new_thread() and
PyThread_get_thread_ident(), the id parameter of
PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState
changed from "long" to "unsigned long".
* Restore a check in thread_get_ident().
2017-03-23 14:48:39 +01:00
Nathaniel J. Smith
1e2147b9d7
bpo-29728: Provide socket.TCP_NOTSENT_LOWAT ( #477 )
...
* Provide socket.TCP_NOTSENT_LOWAT
* New TCP option available on recent MacOS and Linux.
* Document addition of TCP_NOTSENT_LOWAT
2017-03-22 20:56:55 -07:00
Ivan Levkivskyi
fad7f15606
Remove an outdated statement in execution model docs (GH-754)
2017-03-22 17:54:53 -07:00
INADA Naoki
bd3d8ba3b2
doc: minor fix for library/profile (GH-761)
2017-03-22 16:56:36 +09:00
Jelle Zijlstra
75b6cf879f
fix function name in tabnanny documentation (GH-759)
2017-03-22 14:53:57 +08:00
Daniel Birnstiel
d7fa6b259e
bpo-29859: Fix error messages from return codes for pthread_* calls (GH-741)
2017-03-21 22:06:06 +09:00
Serhiy Storchaka
fff9a31a91
bpo-29865: Use PyXXX_GET_SIZE macros rather than Py_SIZE for concrete types. ( #748 )
2017-03-21 08:53:25 +02:00
Serhiy Storchaka
c61ac1642d
Don't use Py_SIZE for dict object. ( #747 )
2017-03-21 08:52:38 +02:00
Ned Deily
554626ada7
bpo-27593: Revise git SCM build info. ( #744 )
...
Use --short form of git hash. Use output from "git describe" for tag.
Expected outputs:
1. previous hg
2. previous git
3. updated git
Release (tagged) build:
1. Python 3.7.0a0 (v3.7.0a0:4def2a2901a5, ...
2. Python 3.7.0a0 (v3.7.0a0^0:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (v3.7.0a0:05f53735c8, ...
Development build:
1. Python 3.7.0a0 (default:41df79263a11, ...
2. Python 3.7.0a0 (master:05f53735c8912f8df1077e897f052571e13c3496, ...
3. Python 3.7.0a0 (heads/master-dirty:05f53735c8, ...
"dirty" means the working tree has uncommitted changes.
See "git help describe" for more info.
2017-03-20 23:41:52 -04:00
Xiang Zhang
4830f581af
bpo-29849: fix a memory leak in import_from (GH-712)
2017-03-21 11:13:42 +08:00
zertrin
05f53735c8
Fix "NotImplentedError" typo in constants documentation ( #692 )
...
`NotImplentedError` --> `NotImplementedError`
2017-03-20 14:24:39 +02:00
Benjamin Peterson
df8280838f
bpo-20087: Revert "make the glibc alias table take precedence over the X11 one ( #422 )" ( #713 )
...
This reverts commit 02371e0ed1
.
2017-03-19 23:49:43 -07:00
4kir4
e46fb86118
bpo-28876: bool of large range raises OverflowError ( #699 )
2017-03-20 08:44:46 +02:00
Mariatta
64508780d7
bpo-29856: Fix typo in curses documentation (GH-730)
...
From Shifted Dxit -> Shifted Exit in Doc/library/curses.rst
2017-03-19 20:48:04 -07:00
Serhiy Storchaka
24c738a9e9
bpo-29845: Mark tests that use _testcapi as CPython-only ( #711 )
2017-03-19 20:20:10 +02:00
Serhiy Storchaka
6b5a9ec478
bpo-29116: Fix error messages for concatenating bytes and bytearray with unsupported type. ( #709 )
2017-03-19 19:47:02 +02:00
Serhiy Storchaka
004e03fb0c
bpo-29116: Improve error message for concatenating str with non-str. ( #710 )
2017-03-19 19:38:42 +02:00
Serhiy Storchaka
80ec8364f1
bpo-29748: Added the slice index converter in Argument Clinic. ( #549 )
2017-03-19 19:37:40 +02:00
Serhiy Storchaka
a5af6e1af7
bpo-25455: Fixed crashes in repr of recursive buffered file-like objects. ( #514 )
2017-03-19 19:25:29 +02:00
Brett Cannon
77ed11552d
Drop C++ header compatibility test ( #718 )
...
The $CXX environment variable is not exported under the 'c' language on Travis.
2017-03-19 09:49:55 -07:00
Serhiy Storchaka
18b250f844
bpo-29793: Convert some builtin types constructors to Argument Clinic. ( #615 )
2017-03-19 08:51:07 +02:00
Serhiy Storchaka
0b5615926a
bpo-20186: Convert tuple object implementation to Argument Clinic. ( #614 )
2017-03-19 08:47:58 +02:00
Serhiy Storchaka
5c643a028e
bpo-20185: Convert typeobject.c to Argument Clinic. ( #544 )
...
Based on patch by Vajrasky Kok.
2017-03-19 08:46:44 +02:00
Serhiy Storchaka
bdf6b910f9
bpo-29776: Use decorator syntax for properties. ( #585 )
2017-03-19 08:40:32 +02:00
Serhiy Storchaka
c85a26628c
bpo-28749: Fixed the documentation of the mapping codec APIs. ( #487 )
...
Added the documentation for PyUnicode_Translate().
2017-03-19 08:15:17 +02:00
Marco Buttu
909a6f626f
bpo-27200: Fix doctests in programming.rst and datetime.rst ( #401 )
2017-03-18 19:59:33 +03:00
Brett Cannon
993d4b3440
Combine the C++ header CI build into the main C build (GH-697)
...
This will eliminate one of the builds in Travis, allowing for CI overall to complete faster.
2017-03-17 15:29:27 -07:00
Jim Fasarakis-Hilliard
cb5297a9e6
bpo-29836: Remove nturl2path from test_sundry and amend the module docstring (GH-694)
...
The module is implicitly tested through test_urllib.
2017-03-17 11:16:20 -07:00
Коренберг Марк
1b038e0738
bpo-29808: SysLogHandler: Do not fail if initial connect to syslog failed ( #663 ) ( #663 )
2017-03-17 15:25:05 +00:00
Marco Buttu
3f2155ffe6
bpo-16355: Clarify when inspect.getcomments() returns None ( #428 )
...
Initial patch by Vajrasky Kok.
2017-03-17 11:50:23 +03:00