Vinay Sajip
998b105c68
Closes #16116 : Merged fix from 3.3.
2012-10-23 20:27:43 +01:00
Vinay Sajip
e87acc1f38
Issue #16116 : Now uses corrected include and library paths when building C extensions in a venv.
2012-10-23 20:26:14 +01:00
Ezio Melotti
d2e90cd62c
Add Misc/NEWS entry for dd8b969d7459/#16245.
2012-10-23 21:14:34 +03:00
Ezio Melotti
32e46089a9
#16245 : merge with 3.3.
2012-10-23 15:54:24 +02:00
Ezio Melotti
e6e96eea51
#16245 : Fix the value of a few entities in html.entities.html5.
2012-10-23 15:51:27 +02:00
Ezio Melotti
ccc9e617f5
#16245 : add a script to generate the html.entities.html5 dict.
2012-10-23 15:46:33 +02:00
Andrew Svetlov
3831bec20d
Issue #16241 : document -X faulthandler command line option.
...
Patch by Marek Šuppa.
2012-10-23 16:20:11 +03:00
Andrew Svetlov
950d5fdc7f
Issue #16241 : document -X faulthandler command line option.
...
Patch by Marek Šuppa.
2012-10-23 16:19:26 +03:00
Senthil Kumaran
40d8078f41
Issue #16301 : Fix the localhost verification in urllib/request.py for file://. Modify tests to use localhost for local temp files, which could make Windows Buildbot ( #16300 ) happy
2012-10-22 09:43:04 -07:00
Senthil Kumaran
3ebef36eea
Issue #16250 : Fix the invocations of URLError which had misplaced filename attribute for exception
2012-10-21 18:31:25 -07:00
Matthias Klose
1348747052
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:14:39 +02:00
Matthias Klose
aee3c76acf
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:12:35 +02:00
Matthias Klose
c4c4842d86
- Issue #16262 : fix out-of-src-tree builds, if mercurial is not installed.
2012-10-21 23:05:35 +02:00
Senthil Kumaran
f577686fd3
Issue #10836 : Fix exception raised when file not found in urlretrieve
2012-10-21 13:30:02 -07:00
Nadeem Vawda
78a59a6a57
Merge #14398 : Fix size truncation and overflow bugs in bz2 module.
2012-10-21 21:19:11 +02:00
Nadeem Vawda
18b7fcc7a6
Merge #14398 : Fix size truncation and overflow bugs in bz2 module.
2012-10-21 21:16:58 +02:00
Nadeem Vawda
5f8f0d6777
Issue #14398 : Fix size truncation and overflow bugs in bz2 module.
2012-10-21 21:13:27 +02:00
Nadeem Vawda
bd26b5463e
Issue #12692 : Fix resource leak in urllib.request.
2012-10-21 17:37:43 +02:00
Nadeem Vawda
186370b433
Issue #16034 follow-up: Apply optimizations to the lzma module.
2012-10-21 16:57:32 +02:00
Antoine Pitrou
06eecead03
Issue #12034 : Fix bogus caching of result in check_GetFinalPathNameByHandle.
...
Patch by Atsuo Ishimoto.
2012-10-21 16:33:33 +02:00
Antoine Pitrou
d3a3e640b6
Issue #16220 : wsgiref now always calls close() on an iterable response.
...
Patch by Brent Tubbs.
2012-10-21 14:15:06 +02:00
Antoine Pitrou
550841253f
Issue #16220 : wsgiref now always calls close() on an iterable response.
...
Patch by Brent Tubbs.
2012-10-21 14:14:34 +02:00
Antoine Pitrou
ae247a5ff6
Issue #16220 : wsgiref now always calls close() on an iterable response.
...
Patch by Brent Tubbs.
2012-10-21 14:09:05 +02:00
Antoine Pitrou
6f7b0da6bc
Issue #12805 : Make bytes.join and bytearray.join faster when the separator is empty.
...
Patch by Serhiy Storchaka.
2012-10-20 23:08:34 +02:00
Nick Coghlan
d4f5ad6c6e
Merge fix from #6074 from 3.3
2012-10-19 23:36:15 +10:00
Nick Coghlan
eb8d627bbd
Issue #6074 : Apply an appropriate fix for importlib based imports
2012-10-19 23:32:00 +10:00
Nick Coghlan
34937ce249
Issue #6074 : Forward port Windows read-only source file fix from 2.7
2012-10-19 22:38:14 +10:00
Giampaolo Rodola'
2d51f687e1
Fix issue #16270 : urllib may hang when used for retrieving files via FTP by using a context manager.
2012-10-19 13:40:28 +02:00
Giampaolo Rodola'
b0cc91290c
Fix issue #16270 : urllib may hang when used for retrieving files via FTP by using a context manager.
2012-10-19 13:34:32 +02:00
Giampaolo Rodola'
89e92854b6
Fix issue #16270 : urllib may hang when used for retrieving files via FTP by using a context manager.
2012-10-19 13:25:17 +02:00
Georg Brandl
edbe30c7c7
Merge with 3.3
2012-10-19 07:37:56 +02:00
Georg Brandl
2ee776bcea
Fix merging mistake.
2012-10-19 07:37:44 +02:00
Christian Heimes
743e0cd6b5
Issue #16166 : Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified
...
endianess detection and handling.
2012-10-17 23:52:17 +02:00
Andrew Svetlov
1e9af84e2e
merge heads
2012-10-17 17:33:26 +03:00
Andrew Svetlov
e60983e4a5
merge heads
2012-10-17 17:29:20 +03:00
Andrew Svetlov
6b2a28a695
null merge
2012-10-17 17:26:48 +03:00
Andrew Svetlov
72db18c4c0
null merge
2012-10-17 17:21:36 +03:00
Andrew Svetlov
0dccbe1387
null merge
2012-10-17 17:20:46 +03:00
Andrew Svetlov
41695b6673
Merge issue #9583 : Document startup option/environment interaction.
...
Patch by Todd Rovito.
2012-10-17 17:16:45 +03:00
Andrew Svetlov
2365f41a0e
Merge issue #9583 : Document startup option/environment interaction.
...
Patch by Todd Rovito.
2012-10-17 17:16:19 +03:00
Andrew Svetlov
abfc7df149
Issue #9583 : Document startup option/environment interaction.
...
Patch by Todd Rovito.
2012-10-17 17:15:43 +03:00
Antoine Pitrou
e9631e5d3a
Issue #15378 : Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
2012-10-17 16:14:40 +02:00
Antoine Pitrou
31605ace0d
Issue #15378 : Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
2012-10-17 16:13:55 +02:00
Antoine Pitrou
1eff0fc3cd
Issue #15378 : Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.
2012-10-17 16:12:30 +02:00
Eric Snow
42da889fec
merge for issue #16160 : Subclass support now works for types.SimpleNamespace.
2012-10-16 22:45:49 -07:00
Eric Snow
547298c94c
Close #16160 : Subclass support now works for types.SimpleNamespace. Thanks to RDM for noticing.
2012-10-16 22:35:38 -07:00
R David Murray
4d289a2a4d
Merge: A couple more whatsnew updates.
2012-10-16 21:54:12 -04:00
R David Murray
e54c718572
A couple more whatsnew updates.
2012-10-16 21:52:24 -04:00
Antoine Pitrou
cfc22b4a9b
Issue #15958 : bytes.join and bytearray.join now accept arbitrary buffer objects.
2012-10-16 21:07:23 +02:00
Nick Coghlan
c7c03ba5be
Merge concurrent.futures example changes from 3.3
2012-10-16 22:51:11 +10:00
Nick Coghlan
f06ea25df2
Tweak the threaded example in concurrent.futures
2012-10-16 22:50:04 +10:00
Trent Nelson
b16269e375
Merge issue #15298 : ensure _sysconfigdata is generated in build directory,
...
not source directory.
Patch by: Richard Oudkerk (sbt).
2012-10-16 08:17:11 -04:00
Trent Nelson
c101bf32c4
Issue #15298 : ensure _sysconfigdata is generated in build directory,
...
not source directory.
Patch by Richard Oudkerk (sbt).
2012-10-16 08:13:12 -04:00
Trent Nelson
744faddae8
Merge issue #15833 : don't raise an exception if importlib can't write
...
byte-compiled files.
This fixes a regression introduced by 3.3.
Patch by Charles-François Natali.
2012-10-16 08:03:21 -04:00
Trent Nelson
d783c8ed00
Issue #15833 : don't raise an exception if importlib can't write byte-compiled
...
files.
This fixes a regression introduced by 3.3. Patch by Charles-François Natali.
2012-10-16 07:47:34 -04:00
Brian Curtin
e33f20c4e9
Merge 3.2
2012-10-11 16:12:47 -05:00
Brian Curtin
859947da97
Merge 3.2
2012-10-11 16:11:37 -05:00
Brian Curtin
0b960f5a58
Fix #16176 . Properly identify Windows 8 via platform.platform()
...
Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server.
2012-10-11 16:07:52 -05:00
Senthil Kumaran
52d2720499
Issue #16088 : BaseHTTPRequestHandler's send_error method includes a
...
Content-Length header. Patch by Antoine Pitrou.
2012-10-10 23:16:21 -07:00
Brett Cannon
9407d50208
Merge fix for issue #15111 .
2012-10-10 19:18:37 -04:00
Brett Cannon
a6ce4fd426
Closes issue #15111 : Calling __import__ with a module specified in
...
fromlist which causes its own ImportError (e.g. the module tries to
import a non-existent module) should have that exception propagate.
2012-10-10 19:03:46 -04:00
Gregory P. Smith
70e0007f55
Fixes Issue #16114 : The subprocess module no longer provides a
...
misleading error message stating that args[0] did not exist when
either the cwd or executable keyword arguments specified a path that
did not exist.
2012-10-10 03:53:16 -07:00
Gregory P. Smith
a10ddb8a55
Fixes Issue #16114 : The subprocess module no longer provides a
...
misleading error message stating that args[0] did not exist when
either the cwd or executable keyword arguments specified a path that
did not exist.
2012-10-10 03:44:47 -07:00
Gregory P. Smith
5591b02a4c
Fixes Issue #16114 : The subprocess module no longer provides a
...
misleading error message stating that args[0] did not exist when
either the cwd or executable keyword arguments specified a path that
did not exist.
It now keeps track of if the child got as far as preexec and reports it if
not back to the parent via a special "noexec" error message value in
the error pipe so that the cwd can be blamed for a failed chdir
instead of the exec of the executable being blamed instead.
The executable is also always reported accurately when exec fails.
Unittests enhanced to cover these cases.
2012-10-10 03:34:47 -07:00
Richard Oudkerk
934f563353
Issue #16169 : Merge
2012-10-09 13:54:02 +01:00
Richard Oudkerk
ea69bd3ce1
Issue #16169 : Fix ctypes.WinError()'s confusion between errno and winerror
2012-10-09 13:28:10 +01:00
Chris Jerdonek
85aa0118db
Issue #16115 : Merge subprocess.Popen() documentation improvements from 3.3.
2012-10-08 23:14:46 -07:00
Chris Jerdonek
ad01498fa9
Issue #16115 : Merge subprocess.Popen() documentation improvements from 3.2.
2012-10-08 23:12:21 -07:00
Chris Jerdonek
470ee39883
Issue #16115 : Improve subprocess.Popen() documentation around args, shell, and executable arguments.
2012-10-08 23:06:57 -07:00
Chris Jerdonek
68a11fc337
Issue #16115 : Merge test improvements from 3.3.
2012-10-08 16:01:00 -07:00
Chris Jerdonek
776cb199bc
Issue #16115 : Improve testing of the executable argument to subprocess.Popen().
2012-10-08 15:56:43 -07:00
Hynek Schlawack
c3c6fe5b1a
Merge 3.3
2012-10-08 07:46:11 +02:00
Hynek Schlawack
101591e9d5
Merge 3.2
2012-10-08 07:44:54 +02:00
Chris Jerdonek
4a7df9aba9
Issue #14783 : Merge changes from 3.3.
2012-10-07 15:02:16 -07:00
Chris Jerdonek
042fa653ab
Issue #14783 : Merge changes from 3.2.
2012-10-07 14:56:27 -07:00
Chris Jerdonek
83fe2e1c22
Issue #14783 : Improve int() docstring and also str(), range(), and slice().
...
This commit rewrites the docstring for int() to incorporate the documentation
changes made in issue #16036 . It also switches the docstrings for int(),
str(), range(), and slice() to use multi-line signatures.
2012-10-07 14:48:36 -07:00
Hynek Schlawack
0230b6af78
#13498 : Clarify docs of os.makedirs()'s exist_ok argument.
...
Done with great native-speaker help from R. David Murray.
2012-10-07 18:04:38 +02:00
Andrew Svetlov
1558d79b82
Issue #14900 : Distuguish call count and primitive call count in pstat output.
...
Patch by Arne Babenhauserheide.
2012-10-07 18:59:27 +03:00
Andrew Svetlov
a514ea32b2
Merge issue #14900 : Distuguish call count and primitive call count in pstat output.
...
Patch by Arne Babenhauserheide.
2012-10-07 18:59:11 +03:00
Andrew Svetlov
2ef4584e6d
Issue #14900 : Distuguish call count and primitive call count in pstat output.
...
Patch by Arne Babenhauserheide.
2012-10-07 18:58:42 +03:00
Hynek Schlawack
4865376c44
Closes #1492704 : Make shutil.copyfile() raise a distinct SameFileError
...
Patch by Atsuo Ishimoto.
2012-10-07 12:49:58 +02:00
R David Murray
96e936712f
Merge: More whatsnew updates, move some doc NEWS items into the doc section.
2012-10-06 23:21:01 -04:00
R David Murray
f4c2757d78
More whatsnew updates, move some doc NEWS items into the doc section.
2012-10-06 23:19:17 -04:00
R David Murray
7ecc5ba7be
Merge: More whatsnew updates. Also move a C-API NEWS item out of library section.
2012-10-06 22:10:42 -04:00
R David Murray
fd740967ba
More whatsnew updates. Also move a C-API NEWS item out of library section.
2012-10-06 22:08:08 -04:00
R David Murray
435ee1fcd2
More whatsnew updates.
2012-10-06 18:20:08 -04:00
R David Murray
1e218c98df
More whatsnew updates.
2012-10-06 18:18:55 -04:00
R David Murray
3dc23d4bf2
Merge: whatsnew updates for smtplib and collections.Counter.
2012-10-06 16:30:46 -04:00
R David Murray
a21e51570d
whatsnew updates for smtplib and collections.Counter.
2012-10-06 16:29:14 -04:00
R David Murray
d9c6ab48a0
merge #10968 : commit threading doc changes and corresponding whatsnew entry.
...
It is unfortunate that the '_' names were not kept as aliases, and that RLock
was not also converted to a class, but it is now too late to change either of
those things for 3.3.
2012-10-06 14:38:17 -04:00
R David Murray
ef4d286770
#10968 : commit threading doc changes and corresponding whatsnew entry.
...
It is unfortunate that the '_' names were not kept as aliases, and that RLock
was not also converted to a class, but it is now too late to change either of
those things for 3.3.
2012-10-06 14:35:35 -04:00
Andrew Svetlov
ef08fb1f04
Issue #13896 : Make shelf instances work with 'with' as context managers.
...
Original patch by Filip Gruszczyński.
2012-10-06 13:52:19 +03:00
Andrew Svetlov
dc22587df2
Update NEWS for adding missed changes.
2012-10-06 13:44:12 +03:00
Christian Heimes
2519fd36c3
add note to Misc/NEWS
2012-10-06 02:27:57 +02:00
Jesus Cea
f1af705720
#16135 : Removal of OS/2 support (Remove OS2 and OS/2 references)
2012-10-05 02:48:46 +02:00
Jesus Cea
b48925a406
#16135 : Removal of OS/2 support (I)
2012-10-05 01:04:27 +02:00
Antoine Pitrou
997adb5819
Issue #16089 : Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL).
2012-10-04 19:54:53 +02:00
Antoine Pitrou
ee329318db
Issue #16089 : Allow ElementTree.TreeBuilder to work again with a non-Element element_factory (fixes a regression in SimpleTAL).
2012-10-04 19:53:29 +02:00
Andrew Svetlov
693105e07f
Merge: Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@
2012-10-04 19:29:55 +03:00
Andrew Svetlov
1a8db9cd1d
Fix typo in documentation for collections.ChainMap, thanks to Olivier Bernard from docs@
2012-10-04 19:29:25 +03:00
Jesus Cea
d96c1fb6ed
MERGE: Closes #16126 : PyErr_Format format mismatch in _testcapimodule.c
2012-10-04 16:07:03 +02:00
Jesus Cea
6e1d2b6e78
Closes #16126 : PyErr_Format format mismatch in _testcapimodule.c
2012-10-04 16:06:30 +02:00
Jesus Cea
677ffd16bf
MERGE: Closes #16112 : platform.architecture does not correctly escape argument to /usr/bin/file
2012-10-04 13:58:22 +02:00
Jesus Cea
e8801e2e44
MERGE: Closes #16112 : platform.architecture does not correctly escape argument to /usr/bin/file
2012-10-04 13:56:23 +02:00
Jesus Cea
fc990e942f
Closes #16112 : platform.architecture does not correctly escape argument to /usr/bin/file
2012-10-04 13:51:43 +02:00
Jesus Cea
dc469454ec
Closes #15488 : Closed files keep their buffer alive
2012-10-04 12:37:56 +02:00
Jesus Cea
f53b7623cb
MERGE: Fix Misc/ACKS alphabetic order
2012-10-03 03:03:22 +02:00
Jesus Cea
42db4157a9
MERGE: Closes #15897 : zipimport.c doesn't check return value of fseek()
2012-10-03 03:03:04 +02:00
Jesus Cea
491b6b7c79
MERGE: Fix Misc/ACKS alphabetic order
2012-10-03 03:01:13 +02:00
Jesus Cea
fb22f542d2
MERGE: Closes #15897 : zipimport.c doesn't check return value of fseek()
2012-10-03 03:00:37 +02:00
Jesus Cea
83451a2b40
Fix Misc/ACKS alphabetic order
2012-10-03 02:14:14 +02:00
Jesus Cea
09bf7a799d
Closes #15897 : zipimport.c doesn't check return value of fseek()
2012-10-03 02:13:05 +02:00
Alexander Belopolsky
cf77454908
Issue #9650 : List commonly used format codes in time.strftime and time.strptime docsttings.
2012-10-02 18:39:16 -04:00
R David Murray
8155ff4dc0
More whatsnew updates.
2012-10-02 18:26:31 -04:00
R David Murray
3430fb803e
More whatsnew updates.
2012-10-02 18:24:56 -04:00
Nick Coghlan
30a13fb60e
Reword the next version placeholder now that the changelog is part of the published What's New docs
2012-10-02 21:29:59 +05:30
Ezio Melotti
b116b3bb39
#15979 : merge with 3.3.
2012-10-02 06:02:08 +03:00
Ezio Melotti
4443762bf5
#15979 : merge with 3.2.
2012-10-02 06:01:16 +03:00
Ezio Melotti
d0fe3e5abb
#15979 : improve timeit documentation.
2012-10-02 05:35:39 +03:00
R David Murray
6e7bd65453
Merge #11109 : clean up docs, add whatsnew entry, and fix Justin's last name.
2012-10-01 21:47:57 -04:00
R David Murray
258fabefde
#11109 : clean up docs, add whatsnew entry, and fix Justin's last name.
2012-10-01 21:43:46 -04:00
Georg Brandl
7dead3a0b4
Use backticks in 3.4 NEWS.
2012-10-01 19:32:07 +02:00
Georg Brandl
6c4758152f
The default reST role `foo` can now be used in NEWS to refer to Python objects. Use it for a fraction of the current NEWS file.
2012-10-01 19:27:05 +02:00
Georg Brandl
a32e8dfe12
merge with 3.3.
2012-10-01 19:09:00 +02:00
Georg Brandl
44d0c2156a
Several improvements to the HTML NEWS version:
...
* rename to "Changelog"
* recognize more issue links
* add NEWS as a dependency for Sphinx
2012-10-01 19:08:50 +02:00
Georg Brandl
86dc732f1f
Move 3.1, 3.2 and 3.3 NEWS items to HISTORY.
2012-10-01 18:58:45 +02:00
Georg Brandl
8fc6cb35c5
Move 3.1 and 3.2 NEWS items to HISTORY.
2012-10-01 18:55:32 +02:00
Ezio Melotti
f1d2345842
Merge suspicious ignore file updates with 3.3.
2012-10-01 07:18:55 +03:00
Ezio Melotti
00160661a5
Update suspicious ignore file.
2012-10-01 07:10:08 +03:00
R David Murray
015031cfd7
Merge: More additions to whatsnew.
2012-09-30 22:00:29 -04:00
R David Murray
445d69c2bd
More additions to whatsnew.
2012-09-30 21:59:56 -04:00
R David Murray
4c12c51111
Merge: More whatsnew adds, especially the os module.
...
I went through all the versionchanged/versionadded tags in the os doc page for
this changeset.
2012-09-30 20:09:04 -04:00
R David Murray
c652ce6d02
More whatsnew adds, especially the os module.
...
I went through all the versionchanged/versionadded tags in the os doc page for
this changeset.
2012-09-30 20:07:42 -04:00
R David Murray
9ec083a376
Merge: Add some missing stuff to whatsnew.
2012-09-30 17:29:54 -04:00
R David Murray
d2489cf4d0
Add some missing stuff to whatsnew.
2012-09-30 17:28:54 -04:00
Ezio Melotti
2f1c5c0f64
#15923 : merge with 3.3.
2012-09-30 22:48:20 +03:00
Ezio Melotti
8a9cc526fe
#15923 : merge with 3.2.
2012-09-30 22:47:47 +03:00
Ezio Melotti
cb2916a714
#15923 : fix a mistake in asdl_c.py that resulted in a TypeError after 2801bf875a24 (see #15801 ).
2012-09-30 22:41:37 +03:00
Georg Brandl
7ef90a1a37
merge with 3.3
2012-09-30 15:10:34 +02:00
Georg Brandl
eea74276cc
Fix reST markup in NEWS.
2012-09-30 14:42:22 +02:00
Chris Jerdonek
1e0a88a11d
Issue #15533 : Merge fix from 3.3.
2012-09-30 02:22:50 -07:00
Chris Jerdonek
28714c8c26
Issue #15533 : Merge fix from 3.2.
2012-09-30 02:15:37 -07:00
Chris Jerdonek
009f5b33fc
Add Misc/NEWS entries from 3.3.1 in 3.3 branch to 3.4.0 in default branch.
2012-09-30 01:27:18 -07:00
Georg Brandl
81b409c618
Add missing 3.3.1 NEWS entries deleted in 83496b5e1916.
2012-09-30 09:40:45 +02:00
Chris Jerdonek
ec3ea94251
Issue #15533 : Clarify docs and add tests for subprocess.Popen()'s cwd argument.
2012-09-30 00:10:28 -07:00
Nadeem Vawda
65c848e484
Merge #16034 : Fix performance regressions in the new BZ2File implementation.
...
Thanks to Victor Hooi for the bug report, and Serhiy Storchaka for the initial patch.
2012-09-30 04:01:31 +02:00
Nadeem Vawda
6c57318c3a
Issue #16034 : Fix performance regressions in the new BZ2File implementation.
...
Thanks to Victor Hooi for the bug report, and Serhiy Storchaka for the initial patch.
2012-09-30 03:57:33 +02:00
Gregory P. Smith
0f21adf799
pty.spawn() now returns the child process status as returned by os.waitpid().
...
Addresses the remaining feature request from issue #2489 .
2012-09-29 12:41:03 -07:00
Gregory P. Smith
288d9aec4b
Fixes issue #15756 : subprocess.poll() now properly handles errno.ECHILD to
...
return a returncode of 0 when the child has already exited or cannot be
waited on.
2012-09-29 11:55:16 -07:00
Gregory P. Smith
02dee1acd8
Fixes issue #15756 : subprocess.poll() now properly handles errno.ECHILD
...
to return a returncode of 0 when the child has already exited or cannot be
waited on.
2012-09-29 11:53:08 -07:00