Antoine Pitrou
836f0e217e
Merged revisions 75842 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75842 | antoine.pitrou | 2009-10-27 20:23:56 +0100 (mar., 27 oct. 2009) | 3 lines
Fix transient refleak in test_sys.
........
2009-10-27 19:25:57 +00:00
Antoine Pitrou
45ebeb8f24
Merged revisions 75838 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75838 | antoine.pitrou | 2009-10-27 19:50:52 +0100 (mar., 27 oct. 2009) | 3 lines
(Hopefully) suppress transient refleaks in test_httpservers.
........
2009-10-27 18:52:30 +00:00
Antoine Pitrou
5ed353c293
Merged revisions 75826 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75826 | antoine.pitrou | 2009-10-27 19:36:47 +0100 (mar., 27 oct. 2009) | 3 lines
Suppress transient refleaks in test_asyncore
........
2009-10-27 18:49:23 +00:00
Eric Smith
8fbb29b7ef
Blocked revisions 75824 via svnmerge
...
........
r75824 | eric.smith | 2009-10-27 14:33:14 -0400 (Tue, 27 Oct 2009) | 1 line
Removed PyOS_ascii_atof from ast.c, as mentioned in issue 7117.
........
2009-10-27 18:47:34 +00:00
Antoine Pitrou
c66363f5e0
Merged revisions 75818 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75818 | antoine.pitrou | 2009-10-27 18:41:58 +0100 (mar., 27 oct. 2009) | 3 lines
Issue #7205 : Fix a possible deadlock when using a BZ2File object from several threads at once.
........
2009-10-27 17:47:14 +00:00
Georg Brandl
495f7b5adb
Merged revisions 75365,75394,75402-75403,75418,75459,75484,75592-75596,75600,75602-75607,75610-75613,75616-75617,75623,75627,75640,75647,75696,75795 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75365 | georg.brandl | 2009-10-11 22:16:16 +0200 (So, 11 Okt 2009) | 1 line
Fix broken links found by "make linkcheck". scipy.org seems to be done right now, so I could not verify links going there.
........
r75394 | georg.brandl | 2009-10-13 20:10:59 +0200 (Di, 13 Okt 2009) | 1 line
Fix markup.
........
r75402 | georg.brandl | 2009-10-14 17:51:48 +0200 (Mi, 14 Okt 2009) | 1 line
#7125 : fix typo.
........
r75403 | georg.brandl | 2009-10-14 17:57:46 +0200 (Mi, 14 Okt 2009) | 1 line
#7126 : os.environ changes *do* take effect in subprocesses started with os.system().
........
r75418 | georg.brandl | 2009-10-14 20:48:32 +0200 (Mi, 14 Okt 2009) | 1 line
#7116 : str.join() takes an iterable.
........
r75459 | georg.brandl | 2009-10-17 10:57:43 +0200 (Sa, 17 Okt 2009) | 1 line
Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in test___all__.
........
r75484 | georg.brandl | 2009-10-18 09:58:12 +0200 (So, 18 Okt 2009) | 1 line
Fix missing word.
........
r75592 | georg.brandl | 2009-10-22 09:05:48 +0200 (Do, 22 Okt 2009) | 1 line
Fix punctuation.
........
r75593 | georg.brandl | 2009-10-22 09:06:49 +0200 (Do, 22 Okt 2009) | 1 line
Revert unintended change.
........
r75594 | georg.brandl | 2009-10-22 09:56:02 +0200 (Do, 22 Okt 2009) | 1 line
Fix markup.
........
r75595 | georg.brandl | 2009-10-22 09:56:56 +0200 (Do, 22 Okt 2009) | 1 line
Fix duplicate target.
........
r75596 | georg.brandl | 2009-10-22 10:05:04 +0200 (Do, 22 Okt 2009) | 1 line
Add a new directive marking up implementation details and start using it.
........
r75600 | georg.brandl | 2009-10-22 13:01:46 +0200 (Do, 22 Okt 2009) | 1 line
Make it more robust.
........
r75602 | georg.brandl | 2009-10-22 13:28:06 +0200 (Do, 22 Okt 2009) | 1 line
Document new directive.
........
r75603 | georg.brandl | 2009-10-22 13:28:23 +0200 (Do, 22 Okt 2009) | 1 line
Allow short form with text as argument.
........
r75604 | georg.brandl | 2009-10-22 13:36:50 +0200 (Do, 22 Okt 2009) | 1 line
Fix stylesheet for multi-paragraph impl-details.
........
r75605 | georg.brandl | 2009-10-22 13:48:10 +0200 (Do, 22 Okt 2009) | 1 line
Use "impl-detail" directive where applicable.
........
r75606 | georg.brandl | 2009-10-22 17:00:06 +0200 (Do, 22 Okt 2009) | 1 line
#6324 : membership test tries iteration via __iter__.
........
r75607 | georg.brandl | 2009-10-22 17:04:09 +0200 (Do, 22 Okt 2009) | 1 line
#7088 : document new functions in signal as Unix-only.
........
r75610 | georg.brandl | 2009-10-22 17:27:24 +0200 (Do, 22 Okt 2009) | 1 line
Reorder __slots__ fine print and add a clarification.
........
r75611 | georg.brandl | 2009-10-22 17:42:32 +0200 (Do, 22 Okt 2009) | 1 line
#7035 : improve docs of the various <method>_errors() functions, and give them docstrings.
........
r75612 | georg.brandl | 2009-10-22 17:52:15 +0200 (Do, 22 Okt 2009) | 1 line
#7156 : document curses as Unix-only.
........
r75613 | georg.brandl | 2009-10-22 17:54:35 +0200 (Do, 22 Okt 2009) | 1 line
#6977 : getopt does not support optional option arguments.
........
r75616 | georg.brandl | 2009-10-22 18:17:05 +0200 (Do, 22 Okt 2009) | 1 line
Add proper references.
........
r75617 | georg.brandl | 2009-10-22 18:20:55 +0200 (Do, 22 Okt 2009) | 1 line
Make printout margin important.
........
r75623 | georg.brandl | 2009-10-23 10:14:44 +0200 (Fr, 23 Okt 2009) | 1 line
#7188 : fix optionxform() docs.
........
r75627 | fred.drake | 2009-10-23 15:04:51 +0200 (Fr, 23 Okt 2009) | 2 lines
add further note about what's passed to optionxform
........
r75640 | neil.schemenauer | 2009-10-23 21:58:17 +0200 (Fr, 23 Okt 2009) | 2 lines
Improve some docstrings in the 'warnings' module.
........
r75647 | georg.brandl | 2009-10-24 12:04:19 +0200 (Sa, 24 Okt 2009) | 1 line
Fix markup.
........
r75696 | georg.brandl | 2009-10-25 21:25:43 +0100 (So, 25 Okt 2009) | 1 line
Fix a demo.
........
r75795 | georg.brandl | 2009-10-27 16:10:22 +0100 (Di, 27 Okt 2009) | 1 line
Fix a strange mis-edit.
........
2009-10-27 15:28:25 +00:00
Eric Smith
facabe2462
Blocked revisions 75745 via svnmerge
...
........
r75745 | eric.smith | 2009-10-27 08:12:44 -0400 (Tue, 27 Oct 2009) | 1 line
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in stropmodule as part of short float repr.
........
2009-10-27 12:13:06 +00:00
Eric Smith
3b3bdaac98
Blocked revisions 75743 via svnmerge
...
........
r75743 | eric.smith | 2009-10-27 07:32:11 -0400 (Tue, 27 Oct 2009) | 1 line
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in cPickle as part of short float repr.
........
2009-10-27 11:36:44 +00:00
Mark Dickinson
3a22b4fa99
Issue #7207 : Fix race condition in telnetlib test; should stop test failures on OS X 10.6.
2009-10-26 22:48:32 +00:00
Mark Dickinson
cc6bf5142c
Blocked revisions 75739 via svnmerge
...
........
r75739 | mark.dickinson | 2009-10-26 22:28:14 +0000 (Mon, 26 Oct 2009) | 5 lines
Issue #7117 : Use PyOS_string_to_double instead of PyOS_ascii_strtod in
complexobject.c. Also remove length restriction on unicode inputs to
the complex constructor.
........
2009-10-26 22:29:02 +00:00
Mark Dickinson
1daebdf82c
Make sure memory is freed on error in complex_subtype_from_string.
2009-10-26 22:05:06 +00:00
Mark Dickinson
f972488213
Remove length limitation on string arguments to complex()
2009-10-26 21:51:18 +00:00
Mark Dickinson
f0966c9568
Blocked revisions 75730-75731 via svnmerge
...
........
r75730 | mark.dickinson | 2009-10-26 21:09:09 +0000 (Mon, 26 Oct 2009) | 2 lines
Issue #7117 : Backport missing pystrtod.h declarations from py3k.
........
r75731 | mark.dickinson | 2009-10-26 21:11:20 +0000 (Mon, 26 Oct 2009) | 4 lines
Issue #7117 : Use PyOS_string_to_double instead of PyOS_ascii_strtod in
floatobject.c. Also, remove limitation on length of unicode inputs to
float().
........
2009-10-26 21:13:15 +00:00
Mark Dickinson
e0d6f605f2
Fix extra-long line; also makes py3k match trunk here.
2009-10-26 21:12:50 +00:00
Mark Dickinson
238b1098ca
Merged revisions 75728 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75728 | mark.dickinson | 2009-10-26 19:59:23 +0000 (Mon, 26 Oct 2009) | 3 lines
Use correct conversion specifier and length modifier when printing an
integer of type off_t. Also, don't assume that long long is available.
........
2009-10-26 20:02:55 +00:00
Antoine Pitrou
d51317709b
Merged revisions 75725 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75725 | antoine.pitrou | 2009-10-26 20:16:46 +0100 (lun., 26 oct. 2009) | 4 lines
Some platforms have rl_completion_append_character but not rl_completion_suppress_append.
Reported by Mark D.
........
2009-10-26 19:22:14 +00:00
Eric Smith
47312acfdb
Blocked revisions 75722 via svnmerge
...
........
r75722 | eric.smith | 2009-10-26 13:46:17 -0400 (Mon, 26 Oct 2009) | 1 line
Finished removing _PyOS_double_to_string, as mentioned in issue 7117.
........
2009-10-26 17:48:13 +00:00
Mark Dickinson
e7525e7c7c
Blocked revisions 75720 via svnmerge
...
........
r75720 | mark.dickinson | 2009-10-26 15:39:50 +0000 (Mon, 26 Oct 2009) | 3 lines
Issue #7117 (backport py3k float repr) continued:
Backport pystrtod.c from py3k.
........
2009-10-26 15:40:42 +00:00
Eric Smith
bda0645846
Blocked revisions 75717-75718 via svnmerge
...
........
r75717 | eric.smith | 2009-10-26 10:48:55 -0400 (Mon, 26 Oct 2009) | 1 line
Start to remove _PyOS_double_to_string, as mentioned in issue 7117.
........
r75718 | eric.smith | 2009-10-26 11:06:39 -0400 (Mon, 26 Oct 2009) | 1 line
Continue removing _PyOS_double_to_string, as mentioned in issue 7117.
........
2009-10-26 15:10:57 +00:00
Mark Dickinson
3b38df24df
Move some comments to more appropriate places
2009-10-26 14:36:29 +00:00
Mark Dickinson
9acadc54e0
Merged revisions 75714 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75714 | mark.dickinson | 2009-10-26 14:18:44 +0000 (Mon, 26 Oct 2009) | 1 line
Warn against replacing PyNumber_Add with PyNumber_InPlaceAdd in sum
........
2009-10-26 14:19:42 +00:00
Mark Dickinson
2d7062e1b4
Merged revisions 75711 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75711 | mark.dickinson | 2009-10-26 11:59:30 +0000 (Mon, 26 Oct 2009) | 1 line
Skip readline tests if readline module is not available.
........
2009-10-26 12:01:06 +00:00
R. David Murray
0548ce088d
Make the XMLRCP CGIHandlerTestCase pass like it did before the change of
...
the test to use StringIO instead of a temp file. There may or may not
be an underlying problem here, so this patch makes the test function
as originally designed until a determination can be made as to whether
or not there is an underlying bug here. See issue 7165 for discussion.
2009-10-26 08:24:14 +00:00
Mark Dickinson
cc16d16add
Silence gcc warning about possibly uninitialized variable 'converted_items'
2009-10-26 07:58:04 +00:00
Tarek Ziadé
04fe7c01a8
Merged revisions 75669-75671 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75669 | tarek.ziade | 2009-10-24 17:10:37 +0200 (Sat, 24 Oct 2009) | 1 line
Issue #7071 : byte-compilation in Distutils now looks at sys.dont_write_bytecode
........
r75670 | tarek.ziade | 2009-10-24 17:19:03 +0200 (Sat, 24 Oct 2009) | 1 line
fixed finally state in distutils.test_util
........
r75671 | tarek.ziade | 2009-10-24 17:51:30 +0200 (Sat, 24 Oct 2009) | 1 line
fixed warning and error message
........
2009-10-25 23:08:47 +00:00
Antoine Pitrou
4824c25e75
This mention is obsolete.
2009-10-25 23:00:53 +00:00
Mark Dickinson
27a87a2aa2
Merged revisions 75697 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75697 | mark.dickinson | 2009-10-25 20:39:06 +0000 (Sun, 25 Oct 2009) | 3 lines
Issue #1087418 : Small performance boost for bitwise operations on longs.
Initial patch by Gregory Smith; some tweaks added.
........
2009-10-25 20:43:34 +00:00
Antoine Pitrou
b6ef9633a9
Add NEWS entry for the various unsupported platforms.
2009-10-24 20:47:05 +00:00
Antoine Pitrou
2a9c2bb0fd
Disable support for Irix threads
2009-10-24 20:43:49 +00:00
Antoine Pitrou
db6c567a72
Disable GNU pth support
2009-10-24 20:35:52 +00:00
Antoine Pitrou
1b8c783408
Disable support for SunOS LWP
2009-10-24 20:30:34 +00:00
Antoine Pitrou
86b21c190a
Disable support for Mach C Threads.
2009-10-24 20:24:16 +00:00
Antoine Pitrou
6103ab1d0b
Remove AtheOS support, as per PEP 11 (which claims that all code was removed in Python 3.0).
2009-10-24 20:11:21 +00:00
Eric Smith
194fcf2d15
Blocked revisions 75675 via svnmerge
...
........
r75675 | eric.smith | 2009-10-24 15:50:44 -0400 (Sat, 24 Oct 2009) | 1 line
Removed unused function PyFloat_AsStringEx. It is unused in floatobject.c, and it's not declared in any .h file.
........
2009-10-24 19:52:23 +00:00
Mark Dickinson
f497584d33
Blocked revisions 75672 via svnmerge
...
........
r75672 | mark.dickinson | 2009-10-24 16:54:35 +0100 (Sat, 24 Oct 2009) | 4 lines
Issue #7117 : temporarily disable the short float repr while the
pieces are being assembled. To re-enable, define the preprocessor
symbol PY_SHORT_FLOAT_REPR
........
2009-10-24 15:56:07 +00:00
Mark Dickinson
0b3b73ba15
Blocked revisions 75666 via svnmerge
...
........
r75666 | mark.dickinson | 2009-10-24 15:01:08 +0100 (Sat, 24 Oct 2009) | 4 lines
Issue #7117 (backport py3k float repr) continued:
Add sys.float_repr_style attribute ('short' if short float
repr is in used; 'legacy' otherwise).
........
2009-10-24 14:05:34 +00:00
Mark Dickinson
55d110c82c
Add tests for sys.float_repr_style
2009-10-24 14:04:48 +00:00
Mark Dickinson
2123c849d1
Blocked revisions 75664 via svnmerge
...
........
r75664 | mark.dickinson | 2009-10-24 14:44:16 +0100 (Sat, 24 Oct 2009) | 1 line
Configure check for double rounding should take BASECFLAGS into account
........
2009-10-24 13:46:38 +00:00
Tarek Ziadé
978cca6e27
Merged revisions 75659 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75659 | tarek.ziade | 2009-10-24 15:29:44 +0200 (Sat, 24 Oct 2009) | 1 line
#7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd
........
2009-10-24 13:38:27 +00:00
Mark Dickinson
c2e05ed8cb
Blocked revisions 75653,75658,75660 via svnmerge
...
........
r75653 | mark.dickinson | 2009-10-24 13:17:24 +0100 (Sat, 24 Oct 2009) | 1 line
Temporary define to avoid build failure
........
r75658 | mark.dickinson | 2009-10-24 14:28:38 +0100 (Sat, 24 Oct 2009) | 8 lines
Issue #7117 (backport py3k float repr) continued:
- add double endianness detection to configure script
- add configure-time check to see whether we can use inline
assembly to get and set x87 control word in configure script
- add functions to get and set x87 control word in Python/pymath.c
- add pyport.h logic to determine whether it's safe to use the
short float repr or not
........
r75660 | mark.dickinson | 2009-10-24 14:31:41 +0100 (Sat, 24 Oct 2009) | 1 line
Remove temporary define from r75653
........
2009-10-24 13:32:56 +00:00
Antoine Pitrou
cc452c4012
Blocked revisions 75650,75654-75655 via svnmerge
...
........
r75650 | antoine.pitrou | 2009-10-24 13:59:41 +0200 (sam., 24 oct. 2009) | 3 lines
Manual py3k backport: [svn r74155] Issue #6242 : Fix deallocator of io.StringIO and io.BytesIO
........
r75654 | antoine.pitrou | 2009-10-24 14:23:18 +0200 (sam., 24 oct. 2009) | 3 lines
Manual py3k backport: [svn r74158] Issue #6218 : Make io.BytesIO and io.StringIO picklable.
........
r75655 | antoine.pitrou | 2009-10-24 14:28:22 +0200 (sam., 24 oct. 2009) | 3 lines
Manual py3k backport: [svn r74316] Issue #5449 : Fix io.BytesIO to not accept arbitrary keywords
........
2009-10-24 12:31:03 +00:00
Mark Dickinson
3749336005
Blocked revisions 75651 via svnmerge
...
........
r75651 | mark.dickinson | 2009-10-24 13:13:30 +0100 (Sat, 24 Oct 2009) | 7 lines
Issue #7117 : Prepare for backport of py3k float repr.
Add the Python/dtoa.c file containing the main algorithms;
add corresponding include file and include in Python.h;
include license information for Python/dtoa.c;
add dtoa.c and dtoa.h to Makefile.
........
2009-10-24 12:15:17 +00:00
Mark Dickinson
21b6c260da
Recorded merge of revisions 75648 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75648 | mark.dickinson | 2009-10-24 12:47:17 +0100 (Sat, 24 Oct 2009) | 1 line
Acknowledge Ned Deily (extensive bug hunting and testing on OS X)
........
2009-10-24 11:49:04 +00:00
Antoine Pitrou
899d1c64e3
Merged revisions 75624 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75624 | antoine.pitrou | 2009-10-23 14:01:13 +0200 (ven., 23 oct. 2009) | 3 lines
Fix Windows buildbot failure
........
2009-10-23 21:55:36 +00:00
Antoine Pitrou
97115d190a
Merged revisions 75633 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75633 | antoine.pitrou | 2009-10-23 20:32:15 +0200 (ven., 23 oct. 2009) | 3 lines
Issue #7194 : test_thread could try to release an unacquired mutex (and fail).
........
2009-10-23 18:34:17 +00:00
Eric Smith
5ccfa29f04
Changed try/finally to contextlib.closing, as discussed in issue 6882.
2009-10-23 12:56:11 +00:00
Eric Smith
09d95625d9
Blocked revisions 75620 via svnmerge
...
........
r75620 | eric.smith | 2009-10-22 16:13:14 -0400 (Thu, 22 Oct 2009) | 1 line
Per the discussion in issue6882, backport the try/finally work that was done to the py3k version (mostly in r59477, I think).
........
2009-10-22 20:48:54 +00:00
Georg Brandl
f43713f9a7
#6927 : fix wrong word.
2009-10-22 16:08:10 +00:00
Georg Brandl
95a75046c0
#7137 : fix makefile() documentation to match the new parameters.
2009-10-22 15:16:26 +00:00
Raymond Hettinger
af7adad51d
Peephole constant folding had missed UNARY_POSITIVE.
2009-10-22 11:22:50 +00:00