Mark Dickinson
3c976a0437
Recorded merge of revisions 75054 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75054 | kristjan.jonsson | 2009-09-25 16:19:51 +0100 (Fri, 25 Sep 2009) | 2 lines
http://bugs.python.org/issue6971
Adding the SIO_KEEPALIVE_VALS command to socket.ioctl on windows
........
2009-09-28 16:07:15 +00:00
Mark Dickinson
c6ccd08d61
Recorded merge of revisions 75103-75104,75106 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75103 | kristjan.jonsson | 2009-09-28 14:08:48 +0100 (Mon, 28 Sep 2009) | 2 lines
http://bugs.python.org/issue6836
A memory block allocated with one API was being handed over to an object that used another API to release it.
........
r75104 | kristjan.jonsson | 2009-09-28 14:12:38 +0100 (Mon, 28 Sep 2009) | 2 lines
http://bugs.python.org/issue6836
The debug memory api now keeps track of which external API (PyMem_* or PyObject_*) was used to allocate each block and treats any API violation as an error. Added separate _PyMem_DebugMalloc functions for the Py_Mem API instead of having it use the _PyObject_DebugMalloc functions.
........
r75106 | kristjan.jonsson | 2009-09-28 16:56:25 +0100 (Mon, 28 Sep 2009) | 2 lines
http://bugs.python.org/issue6836
A missing 'const' wasn't detected by Visual Studio.
........
2009-09-28 16:00:09 +00:00
Kristján Valur Jónsson
3436900a5a
merging revision 75106 from trunk:
...
http://bugs.python.org/issue6836
A missing 'const' wasn't detected by Visual Studio.
2009-09-28 15:57:53 +00:00
Kristján Valur Jónsson
ae4cfb1bb3
http://bugs.python.org/issue6836
...
Merging revisions 75103,75104 from trunk to py3k
2009-09-28 13:45:02 +00:00
Kristján Valur Jónsson
847ec75d3e
http://bugs.python.org/issue6971
...
Porting revision 75054 from trunk
2009-09-27 21:10:38 +00:00
Benjamin Peterson
47373ded99
Merged revisions 75090 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r75090 | benjamin.peterson | 2009-09-27 11:32:56 -0500 (Sun, 27 Sep 2009) | 1 line
use more correct callable replacement
........
2009-09-27 16:42:15 +00:00
Mark Dickinson
7d3d209b54
Blocked revisions 75091 via svnmerge
...
........
r75091 | mark.dickinson | 2009-09-27 17:39:28 +0100 (Sun, 27 Sep 2009) | 1 line
Eliminate unnecessary get_wrapped_(u)long defines in struct module.
........
2009-09-27 16:41:06 +00:00
Benjamin Peterson
5770847da6
use more correct callable replacement
2009-09-27 16:32:56 +00:00
Mark Dickinson
75636af5db
Blocked revisions 75084 via svnmerge
...
........
r75084 | mark.dickinson | 2009-09-27 17:05:21 +0100 (Sun, 27 Sep 2009) | 3 lines
Issue #6713 : Improve decimal int -> string conversions. Thanks Gawain
Bolton for the suggestion and original patches.
........
2009-09-27 16:08:13 +00:00
Benjamin Peterson
defa04ec8b
star_expr now always has two nodes
2009-09-27 14:08:59 +00:00
Benjamin Peterson
4905e80c3d
fix an ambiguity in the grammar from the implementation of extended unpacking
...
(one which was strangely "resolved" by pgen)
This also kills the unused testlist1 rule and fixes parse tree validation of
extended unpacking.
2009-09-27 02:43:28 +00:00
Georg Brandl
10430ad7aa
fix default value
2009-09-26 20:59:11 +00:00
Georg Brandl
9c3b7dc3c0
use new style optional args
2009-09-26 20:52:12 +00:00
Ezio Melotti
029625c3f6
Merged revisions 75074 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75074 | ezio.melotti | 2009-09-26 15:33:22 +0300 (Sat, 26 Sep 2009) | 9 lines
Merged revisions 75070 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75070 | ezio.melotti | 2009-09-26 14:20:53 +0300 (Sat, 26 Sep 2009) | 1 line
#7000 : document "sep" in capwords. Add a few tests
........
................
2009-09-26 12:35:01 +00:00
Ezio Melotti
a40bdda937
Merged revisions 75070 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75070 | ezio.melotti | 2009-09-26 14:20:53 +0300 (Sat, 26 Sep 2009) | 1 line
#7000 : document "sep" in capwords. Add a few tests
........
2009-09-26 12:33:22 +00:00
Ezio Melotti
2dcd4c5a0f
Merged revisions 75072 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r75072 | ezio.melotti | 2009-09-26 15:19:30 +0300 (Sat, 26 Sep 2009) | 1 line
string.capwords is still around, adding back the tests
........
2009-09-26 12:27:13 +00:00
Ezio Melotti
2c6a949e43
string.capwords is still around, adding back the tests
2009-09-26 12:19:30 +00:00
R. David Murray
ab170681f6
Andrew just committed a patch for curses, so since he's been the
...
maintainer he's on the hook for it in maintainers unless he says
otherwise.
2009-09-26 02:42:26 +00:00
Ezio Melotti
6e52a5a837
Merged revisions 75064 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r75064 | ezio.melotti | 2009-09-26 00:35:24 +0300 (Sat, 26 Sep 2009) | 1 line
fix print statement
........
2009-09-25 21:38:29 +00:00
Ezio Melotti
af30d2eeaa
fix print statement
2009-09-25 21:35:24 +00:00
Benjamin Peterson
0e33da095f
Merged revisions 75061-75062 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r75061 | benjamin.peterson | 2009-09-25 15:34:04 -0500 (Fri, 25 Sep 2009) | 1 line
fix print statement
........
r75062 | benjamin.peterson | 2009-09-25 15:56:52 -0500 (Fri, 25 Sep 2009) | 2 lines
correct the fixpath.py script to work in Python 3 #6999
........
2009-09-25 21:13:17 +00:00
Benjamin Peterson
9abfc457e0
correct the fixpath.py script to work in Python 3 #6999
2009-09-25 20:56:52 +00:00
Benjamin Peterson
8fb00bef27
fix print statement
2009-09-25 20:34:04 +00:00
Ezio Melotti
ae1b4d2d1a
Merged revisions 75059 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r75059 | ezio.melotti | 2009-09-25 23:14:02 +0300 (Fri, 25 Sep 2009) | 1 line
#6998 : fix missing () on a print
........
2009-09-25 20:15:31 +00:00
Ezio Melotti
b297e714e2
#6998 : fix missing () on a print
2009-09-25 20:14:02 +00:00
Ezio Melotti
a3e61a480f
Merged revisions 75057 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75057 | ezio.melotti | 2009-09-25 19:12:33 +0300 (Fri, 25 Sep 2009) | 9 lines
Merged revisions 75055 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75055 | ezio.melotti | 2009-09-25 19:07:55 +0300 (Fri, 25 Sep 2009) | 1 line
#6994 : fix typo in enumerate docstring
........
................
2009-09-25 16:14:31 +00:00
Ezio Melotti
ed61093277
Merged revisions 75055 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75055 | ezio.melotti | 2009-09-25 19:07:55 +0300 (Fri, 25 Sep 2009) | 1 line
#6994 : fix typo in enumerate docstring
........
2009-09-25 16:12:33 +00:00
Mark Dickinson
b0230b7a12
Blocked revisions 75051 via svnmerge
...
........
r75051 | mark.dickinson | 2009-09-24 21:04:23 +0100 (Thu, 24 Sep 2009) | 3 lines
Issue #1766304 : The range.__contains__ optimization should only be
applied to ints, not to instances of subclasses of int.
........
2009-09-24 20:05:02 +00:00
Mark Dickinson
418f81d9b6
Issue #1766304 : The range.__contains__ optimization should only be
...
applied to ints, not to instances of subclasses of int.
2009-09-24 20:04:23 +00:00
Mark Dickinson
e2a6a70a7f
Merged revisions 75049 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75049 | mark.dickinson | 2009-09-24 20:24:44 +0100 (Thu, 24 Sep 2009) | 10 lines
Merged revisions 75047 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75047 | mark.dickinson | 2009-09-24 20:21:07 +0100 (Thu, 24 Sep 2009) | 3 lines
Issue #6982 : Add generated Lib/lib2to3/*.pickle files to 'make clean' target.
Thanks egreen.
........
................
2009-09-24 19:25:39 +00:00
Mark Dickinson
067b38eed4
Merged revisions 75047 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75047 | mark.dickinson | 2009-09-24 20:21:07 +0100 (Thu, 24 Sep 2009) | 3 lines
Issue #6982 : Add generated Lib/lib2to3/*.pickle files to 'make clean' target.
Thanks egreen.
........
2009-09-24 19:24:44 +00:00
Mark Dickinson
bce460441c
Blocked revisions 75045 via svnmerge
...
........
r75045 | mark.dickinson | 2009-09-24 19:31:17 +0100 (Thu, 24 Sep 2009) | 1 line
Silence compiler warning
........
2009-09-24 18:32:37 +00:00
Mark Dickinson
1f7e18cd74
Silence compiler warning
2009-09-24 18:31:17 +00:00
Georg Brandl
7725e7fcb6
Merged revisions 74749 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r74749 | r.david.murray | 2009-09-12 05:09:02 +0200 (Sa, 12 Sep 2009) | 2 lines
Fix typo.
........
2009-09-24 05:53:19 +00:00
Ezio Melotti
ceaebc3b58
Merged revisions 75041 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75041 | ezio.melotti | 2009-09-24 00:42:25 +0300 (Thu, 24 Sep 2009) | 9 lines
Merged revisions 75039 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75039 | ezio.melotti | 2009-09-24 00:36:39 +0300 (Thu, 24 Sep 2009) | 1 line
improved phrasing, markup and example
........
................
2009-09-23 21:44:27 +00:00
Ezio Melotti
ec5c8b8e9b
Merged revisions 75039 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75039 | ezio.melotti | 2009-09-24 00:36:39 +0300 (Thu, 24 Sep 2009) | 1 line
improved phrasing, markup and example
........
2009-09-23 21:42:25 +00:00
Mark Dickinson
239db95c0c
Blocked revisions 75030 via svnmerge
...
........
r75030 | mark.dickinson | 2009-09-22 22:52:03 +0100 (Tue, 22 Sep 2009) | 1 line
Add Robert Lehmann for issue #1766304 patch
........
2009-09-22 21:53:09 +00:00
Mark Dickinson
c6f23642ee
Add Robert Lehmann for issue #1766304 patch
2009-09-22 21:52:03 +00:00
Mark Dickinson
d940e35440
Blocked revisions 75028 via svnmerge
...
........
r75028 | mark.dickinson | 2009-09-22 22:47:24 +0100 (Tue, 22 Sep 2009) | 4 lines
Issue #1766304 : Optimize membership testing for ranges: 'n in range(...)'
does an O(1) check, if n is an integer. Non-integers aren't affected.
Thanks Robert Lehmann.
........
2009-09-22 21:49:35 +00:00
Mark Dickinson
3e124ae739
Issue #1766304 : Optimize membership testing for ranges: 'n in range(...)'
...
does an O(1) check, if n is an integer. Non-integers aren't affected.
Thanks Robert Lehmann.
2009-09-22 21:47:24 +00:00
Brett Cannon
60d6b35af9
Merged revisions 75026 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75026 | brett.cannon | 2009-09-22 13:08:09 -0700 (Tue, 22 Sep 2009) | 9 lines
Merged revisions 75024 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75024 | brett.cannon | 2009-09-22 13:04:24 -0700 (Tue, 22 Sep 2009) | 1 line
Fix a minor doc syntax typo.
........
................
2009-09-22 20:12:41 +00:00
Brett Cannon
2df8113622
Merged revisions 75024 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75024 | brett.cannon | 2009-09-22 13:04:24 -0700 (Tue, 22 Sep 2009) | 1 line
Fix a minor doc syntax typo.
........
2009-09-22 20:08:09 +00:00
Brett Cannon
ec79b1ca21
Merged revisions 75020 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75020 | brett.cannon | 2009-09-22 12:13:27 -0700 (Tue, 22 Sep 2009) | 1 line
Fix whitespace.
........
2009-09-22 19:15:35 +00:00
Georg Brandl
73753d354b
#6969 : make it explicit that configparser writes/reads text files, and fix the example.
2009-09-22 13:53:14 +00:00
Tarek Ziadé
66846897a5
Merged revisions 75013 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75013 | tarek.ziade | 2009-09-22 12:08:13 +0200 (Tue, 22 Sep 2009) | 10 lines
Merged revisions 74812 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74812 | ronald.oussoren | 2009-09-15 23:24:07 +0200 (Tue, 15 Sep 2009) | 3 lines
Update distutils.util tests after my changes
to --with-universal-archs
........
................
2009-09-22 10:14:51 +00:00
Tarek Ziadé
8355e7c4a5
Merged revisions 74812 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74812 | ronald.oussoren | 2009-09-15 23:24:07 +0200 (Tue, 15 Sep 2009) | 3 lines
Update distutils.util tests after my changes
to --with-universal-archs
........
2009-09-22 10:08:13 +00:00
Brett Cannon
7d12c559ce
Merged revisions 75011 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75011 | brett.cannon | 2009-09-21 17:29:48 -0700 (Mon, 21 Sep 2009) | 10 lines
When range checking was added to time.strftime() a check was placed on tm_isdst
to make sure it fell within [-1, 1] just in case someone implementing
strftime() in libc was stupid enough to assume this. Turns out, though, some
OSs (e.g. zOS) are stupid enough to use values outside of this range for time
structs created by the system itself. So instead of throwing a ValueError,
tm_isdst is now normalized before being passed to strftime().
Fixes issue #6823 . Thanks Robert Shapiro for diagnosing the problem and
contributing an initial patch.
........
2009-09-22 00:32:59 +00:00
Antoine Pitrou
384c920832
Merged revisions 75009 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r75009 | antoine.pitrou | 2009-09-21 23:37:02 +0200 (lun., 21 sept. 2009) | 13 lines
Merged revisions 75007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75007 | antoine.pitrou | 2009-09-21 23:17:48 +0200 (lun., 21 sept. 2009) | 7 lines
Issue #6236 , #6348 : Fix various failures in the io module under AIX
and other platforms, when using a non-gcc compiler. Patch by egreen.
In addition, I made explicit the signedness of all bitfields in the
IO library.
........
................
2009-09-21 21:42:29 +00:00
Antoine Pitrou
ca767bd2db
Merged revisions 75007 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75007 | antoine.pitrou | 2009-09-21 23:17:48 +0200 (lun., 21 sept. 2009) | 7 lines
Issue #6236 , #6348 : Fix various failures in the io module under AIX
and other platforms, when using a non-gcc compiler. Patch by egreen.
In addition, I made explicit the signedness of all bitfields in the
IO library.
........
2009-09-21 21:37:02 +00:00
Mark Dickinson
5a7619d26f
Blocked revisions 75005 via svnmerge
...
................
r75005 | mark.dickinson | 2009-09-21 17:18:27 +0100 (Mon, 21 Sep 2009) | 9 lines
Merged revisions 75003 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75003 | mark.dickinson | 2009-09-21 17:16:44 +0100 (Mon, 21 Sep 2009) | 1 line
Silence MSVC compiler warnings.
........
................
2009-09-21 16:19:23 +00:00