Benjamin Peterson
b2e796aa27
in wide builds, avoid storing high unicode characters from source code with surrogates
...
This is accomplished by decoding with utf-32 instead of utf-16 on all builds.
The patch is by Adam Olsen.
2009-10-28 21:59:39 +00:00
R. David Murray
7b1b094ff1
Merged revisions 75920 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75920 | r.david.murray | 2009-10-28 10:03:43 -0400 (Wed, 28 Oct 2009) | 2 lines
Remove variable that is no longer used.
........
2009-10-28 14:07:51 +00:00
Eric Smith
4c7b532318
Blocked revisions 75913 via svnmerge
...
........
r75913 | eric.smith | 2009-10-28 04:44:37 -0400 (Wed, 28 Oct 2009) | 1 line
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in _json.c as part of short float repr. Change made after consulting with Bob Ippolito. This completes the removal of calls to PyOS_ascii_strtod.
........
2009-10-28 08:46:43 +00:00
Mark Dickinson
60874b01f3
Merged revisions 75909 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75909 | mark.dickinson | 2009-10-28 07:47:32 +0000 (Wed, 28 Oct 2009) | 1 line
Fix format specifier for MSVC
........
2009-10-28 07:49:26 +00:00
Mark Dickinson
d4aea7116a
Merged revisions 75905 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75905 | mark.dickinson | 2009-10-28 07:23:49 +0000 (Wed, 28 Oct 2009) | 1 line
Replace long long with PY_LONG_LONG
........
2009-10-28 07:25:03 +00:00
Tarek Ziadé
7a8ad4a981
Merged revisions 75901 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75901 | tarek.ziade | 2009-10-28 07:45:18 +0100 (Wed, 28 Oct 2009) | 1 line
removed spurious spaces
........
2009-10-28 06:48:27 +00:00
Tarek Ziadé
c7c71ff87c
Merged revisions 75893 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75893 | tarek.ziade | 2009-10-28 00:06:10 +0100 (Wed, 28 Oct 2009) | 1 line
Fixed #1180 : Option to ignore ~/.pydistutils.cfg in Distutils
........
2009-10-27 23:12:01 +00:00
Mark Dickinson
70ec8ee2ed
Remove extra blank line accidentally introduced in r75885
2009-10-27 23:00:56 +00:00
Georg Brandl
035265540a
Merged revisions 75887 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75887 | georg.brandl | 2009-10-27 23:56:09 +0100 (Di, 27 Okt 2009) | 1 line
Make sure every run of test_intern() interns a new string, otherwise that test fails e.g. when some other test in test_builtin fails and it is rerun in verbose mode.
........
2009-10-27 23:00:28 +00:00
Mark Dickinson
a9023be873
Merged revisions 75883 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75883 | mark.dickinson | 2009-10-27 22:09:33 +0000 (Tue, 27 Oct 2009) | 1 line
Test long inputs to float
........
2009-10-27 22:12:20 +00:00
Mark Dickinson
d430ebe1fd
Merged revisions 75879 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75879 | mark.dickinson | 2009-10-27 21:48:20 +0000 (Tue, 27 Oct 2009) | 3 lines
Silence gcc warnings when trying to print an off_t using "lld", on platforms
where off_t has type long (e.g., 64-bit Linux).
........
2009-10-27 21:49:48 +00:00
Georg Brandl
9137391d59
Only declare variable when it's used.
2009-10-27 21:37:48 +00:00
Antoine Pitrou
c00d4b437d
Merged revisions 75874 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75874 | antoine.pitrou | 2009-10-27 22:27:24 +0100 (mar., 27 oct. 2009) | 4 lines
Reduce the probability of refleaks in test_socketserver.
Not completely suppressed though, see issue #7222 .
........
2009-10-27 21:32:38 +00:00
Tarek Ziadé
8c0e217158
Merged revisions 75871 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75871 | tarek.ziade | 2009-10-27 22:20:27 +0100 (Tue, 27 Oct 2009) | 1 line
Issue #7218 : Fix test_site for win32
........
2009-10-27 21:24:21 +00:00
Benjamin Peterson
481b85ae24
remove shadowing declartion
2009-10-27 21:14:50 +00:00
Georg Brandl
96f7897dd2
Merged revisions 75866-75867 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75866 | georg.brandl | 2009-10-27 21:52:02 +0100 (Di, 27 Okt 2009) | 1 line
Add a regrtest option to re-run in verbose mode immediately after a test fails, and use that option on the buildbots.
........
r75867 | georg.brandl | 2009-10-27 21:55:44 +0100 (Di, 27 Okt 2009) | 1 line
Reformat the regrtest command-line option help and group the options into sections.
........
2009-10-27 21:02:11 +00:00
Antoine Pitrou
1568732d73
Merged revisions 75860 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75860 | antoine.pitrou | 2009-10-27 21:20:41 +0100 (mar., 27 oct. 2009) | 3 lines
Try to fix transient refleaks in test_distutils.
........
2009-10-27 20:21:45 +00:00
Antoine Pitrou
aefe6af18f
Merged revisions 75855 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75855 | antoine.pitrou | 2009-10-27 21:14:04 +0100 (mar., 27 oct. 2009) | 3 lines
Fix transient refleaks in test_urllib2_localnet.
........
2009-10-27 20:17:03 +00:00
Antoine Pitrou
b0e9bd4741
Merged revisions 75851 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75851 | antoine.pitrou | 2009-10-27 21:02:23 +0100 (mar., 27 oct. 2009) | 3 lines
Suppress transient refleaks in test_threading.
........
2009-10-27 20:05:26 +00:00
Antoine Pitrou
c3d47724c1
Merged revisions 75849 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75849 | antoine.pitrou | 2009-10-27 20:47:30 +0100 (mar., 27 oct. 2009) | 3 lines
Suppress transient refleaks in test_smtplib.
........
2009-10-27 19:49:45 +00:00
Eric Smith
dc508d6bc3
Blocked revisions 75846 via svnmerge
...
........
r75846 | eric.smith | 2009-10-27 15:42:57 -0400 (Tue, 27 Oct 2009) | 1 line
Removed PyOS_ascii_atof from marshal.c, as mentioned in issue 7117. Also brings it more in line with py3k.
........
2009-10-27 19:44:06 +00:00
Antoine Pitrou
142f9b3618
Blocked revisions 75844 via svnmerge
...
........
r75844 | antoine.pitrou | 2009-10-27 20:36:44 +0100 (mar., 27 oct. 2009) | 3 lines
Suppress transient refleaks in test_file2k.
........
2009-10-27 19:39:10 +00:00
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