Serhiy Storchaka
7644ff1fb1
Now re tests work again on Unicode-disabled build.
...
Simplified existing detections of Unicode-disabled build.
2014-09-14 17:40:44 +03:00
Serhiy Storchaka
ed5ea15bda
Use more appropriate asserts in re tests.
2014-09-14 16:19:37 +03:00
Benjamin Peterson
05137ed14f
make hg link secure
2014-09-13 01:44:34 -04:00
Steve Dower
144de3152d
#22398 Tools/msi enhancements for 2.7
...
Fix build_tkinter.py.
Update msi.py to use environment vars and correct tcl/tk paths.
Update msilib.py to generate short names for files with multiple dots in the name.
2014-09-12 11:48:13 -07:00
Victor Stinner
bf8b0ed5cb
test_distutils: remove the test file in DistributionTestCase.test_debug_mode()
...
Fix the warning: "test_support.TESTFN was modified by test_distutils".
2014-09-11 17:52:58 +02:00
Serhiy Storchaka
0aa6562913
Issue #21147 : sqlite3 now raises an exception if the request contains a null
...
character instead of truncate it. Based on patch by Victor Stinner.
2014-09-11 13:27:19 +03:00
Serhiy Storchaka
17c01785ee
Issue #21951 : Fixed a crash in Tkinter on AIX when called Tcl command with
...
empty string or tuple argument.
On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
2014-09-11 10:56:59 +03:00
Serhiy Storchaka
1c09c0ea11
Issue #21951 : Use attemptckalloc() instead of ckalloc() in Tkinter.
...
ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL
if the memory allocation fails.
2014-09-11 10:38:08 +03:00
doko@ubuntu.com
08578b0d3b
- Issue #22381 : Update zlib to 1.2.8.
...
Update zlib file names for the PC installers
2014-09-11 09:08:52 +02:00
doko@ubuntu.com
77a64bfdf7
- Issue #22381 : Update zlib to 1.2.8.
2014-09-11 08:32:46 +02:00
Benjamin Peterson
7709a53d58
y2k compliance, lol ( closes #22380 )
2014-09-10 17:13:06 -04:00
Serhiy Storchaka
581448be80
Issue #22369 : Change "context manager protocol" to "context management protocol".
2014-09-10 23:46:14 +03:00
Serhiy Storchaka
ceaf6827e2
Issue #22226 : Added private function _splitdict() in the Tkinter module.
...
First letter no longer is stripped from the "status" key in
the result of Treeview.heading().
2014-09-06 22:47:02 +03:00
Serhiy Storchaka
9bc3d980e9
Issue #22131 : Fixed a bug in handling an error occured during reading from
...
a pipe in _ipconfig_getnode().
2014-09-06 22:17:06 +03:00
Ned Deily
fcf701aad1
Document 2.7.9 changes in OS X installer build requirements:
...
because the Doc Makefile has been changed to no longer download sphinx
and its dependencies, build-installer.py now requires that there be an
externally-supplied sphinx-build available.
2014-09-05 15:52:45 -07:00
Ned Deily
5ceffa16ea
Update OS X installer build script for changes to documentation build:
...
as of 2.7.9, doc builds require an externally installed sphinx-build
like 3.4+ builds do.
2014-09-05 15:51:54 -07:00
Serhiy Storchaka
ea217728c3
Issue #20643 : Fixed references to the next() method (distinguish from the
...
next() function).
2014-09-05 23:34:12 +03:00
Victor Stinner
749022da36
Issue #22340 : Fix test_collections if the sets module was already imported
2014-09-05 21:41:25 +02:00
Victor Stinner
a3acea3e07
Issue #22340 : Fix Python 3 warnings in Python 2 tests
2014-09-05 21:05:05 +02:00
Benjamin Peterson
342fd18f53
backport our own copy of the ref-counting extension
2014-09-05 10:03:26 -04:00
Victor Stinner
32b1ff90ab
regrtest: backport "[ 1/399]" progress back from Python 3
...
The progress bar helps a lot to analyze noisy buildbot logs, to find quickly
where errors occurred.
2014-09-05 12:12:11 +02:00
Serhiy Storchaka
3eb554fc82
Issue #22221 : Backported fixes from Python 3 (issue #18960 ).
...
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment. This affects compile(),
eval() and exec() too.
* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.
* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
2014-09-05 10:22:05 +03:00
Benjamin Peterson
423f1282b3
remove automatic svn checkout of sphinx and its deps from Doc/Makefile
...
Users are now required to install Sphinx themselves as is already the case with
the Python 3 branch.
2014-09-04 23:07:03 -04:00
Benjamin Peterson
beda11047c
fix malformed use cmdoption directive
2014-09-04 22:40:34 -04:00
Alex Gaynor
162126d567
Fixed the versionadded in the docs for the backport in 16c86a6bdbe2
2014-09-04 13:37:07 -07:00
Alex Gaynor
e98205d798
Issue #20421 : Add a .version() method to SSL sockets exposing the actual protocol version in use.
...
Backport from default.
2014-09-04 13:33:22 -07:00
Benjamin Peterson
ceb0e1d751
the correct role is :meth: not :method:
2014-09-04 11:50:14 -04:00
Benjamin Peterson
4ec38f6b54
remove script that now lives at https://github.com/python/docsbuild-scripts
2014-09-01 23:00:11 -04:00
Terry Jan Reedy
5fa7f0c252
NEWS items for Idle.
2014-09-03 19:52:39 -04:00
Terry Jan Reedy
1e87ac6b9a
NEWS items for turtledemo.
2014-09-03 19:39:18 -04:00
Terry Jan Reedy
d85a9ef376
Issue #22051 : remove unneeded reload that allowed bad code.
2014-09-03 19:29:11 -04:00
Ned Deily
ac51e0dd82
Issue #22320 : Fix broken link in the General Python FAQ.
...
Original patch by Josh Lynn.
2014-08-31 23:57:13 -07:00
Benjamin Peterson
2ad5421dad
don't index outside of the path ( closes #22312 )
2014-08-31 09:34:09 -04:00
Benjamin Peterson
3f48d39493
getuid() returns real process id not effective ( closes #22307 )
2014-08-30 21:04:15 -04:00
R David Murray
7234e03cc9
#22215 : have the smtplib 'quit' command reset the state.
...
Without this reset, starttls would fail if a connect/starttls was done after a
quit, because smtplib assumed the existing value of emspt_features was
accurate, but it gets reset when starttls completes (and the new value does
not contain the starttls capability, since tls is already started at that
point). (There may be additional places where this lack of reset was an
issue as well.)
Patch by Milan Oberkirch.
2014-08-30 16:56:49 -04:00
Benjamin Peterson
57057a6624
PEP 466: backport persistent urandom fd ( closes #21305 )
...
Patch from Alex Gaynor.
2014-08-28 12:30:00 -04:00
Benjamin Peterson
0062d1e7f4
PEP 466: backport hashlib algorithm constants ( closes #21307 )
2014-08-28 09:41:29 -04:00
Benjamin Peterson
876473eba3
fix load_verify_locations on unicode paths ( closes #22244 )
2014-08-28 09:33:21 -04:00
Benjamin Peterson
13056bff66
correct call grammar error ( #3473 )
2014-08-28 00:05:52 -04:00
Benjamin Peterson
7fd59e09d2
properly handle file closing in error cases ( closes #22266 )
2014-08-27 20:31:21 -04:00
Stefan Krah
ce2ec49d92
Issue 22090: Fix '%' formatting for infinities and NaNs.
2014-08-26 20:49:57 +02:00
Benjamin Peterson
ec9d547edd
allow test to work on implementations not using ref-counting ( closes #22265 )
2014-08-24 18:07:28 -05:00
Benjamin Peterson
8a4448c8bb
fix some test_weakref tests to not rely on ref-counting ( closes #22267 )
2014-08-24 18:02:15 -05:00
Benjamin Peterson
e373754056
don't segfault when trying to fdopen() a fd for a dir ( closes #22259 )
...
Patch from Brian Kearns.
2014-08-24 10:37:12 -05:00
Serhiy Storchaka
d3ea06537c
Issue #22236 : Tkinter tests now don't reuse default root window. New root
...
window is created for every test class.
Fixed Tkinter images copying operations in NoDefaultRoot mode.
Tcl command names generated for "after" callbacks now contains a name of
original function.
2014-08-24 09:07:09 +03:00
Ned Deily
8cb673816b
Issue #21166 : fix typo in comment
2014-08-23 18:09:25 -07:00
Terry Jan Reedy
a58b255a8e
Issue #22243 : fix except grammar in reference.
2014-08-23 19:29:40 -04:00
Terry Jan Reedy
4426870275
Merge heads.
2014-08-23 18:20:00 -04:00
Nick Coghlan
62990a42ae
Update PEP 466 What's New in 2.7 section
2014-08-23 14:45:44 +10:00
Ned Deily
bd73ae27e8
Issue #22199 : update Misc/NEWS
2014-08-22 13:53:30 -07:00