Commit Graph

43446 Commits

Author SHA1 Message Date
Georg Brandl 43a17ff016 I do not think the "railroad" program mentioned is still available. 2009-10-29 21:16:34 +00:00
Georg Brandl a8f8bed203 Use a single style for all the docstrings in the math module. 2009-10-29 20:54:03 +00:00
Georg Brandl 4045e88b8b Use constants instead of magic integers for test result. Do not re-run with --verbose3 for environment changing tests. 2009-10-29 20:53:00 +00:00
Georg Brandl 97269c4546 Remove mention of the old -X command line switch. 2009-10-29 20:39:50 +00:00
Georg Brandl 40777e6606 Use the correct function name in docstring. 2009-10-29 20:38:32 +00:00
Mark Dickinson 6f3900163a Issue #7233: Fix Decimal.shift and Decimal.rotate methods for
arguments with more digits than the current context precision.
Bug reported by Stefan Krah.
2009-10-29 12:11:18 +00:00
Mark Dickinson 0c67312c5c Issue #7233: A number of two-argument Decimal methods were failing to
accept ints and longs for the second argument.
2009-10-29 12:04:00 +00:00
Mark Dickinson 783b877555 Fix duplicate test numbers in extra.decTest 2009-10-29 11:09:09 +00:00
Mark Dickinson 3ddb52717f Roll back ill-considered attempts to fix printf specifier mismatch for off_t.
The sensible solution seems to be to implement %lld for PyString_FromFormat(V)
and PyErr_Format.  See issue #7228.
2009-10-29 09:46:04 +00:00
Lars Gustäbel 8c06ccc058 Issue #4750: Store the basename of the original filename in
the gzip FNAME header as required by RFC 1952.
2009-10-29 09:15:00 +00:00
Benjamin Peterson ea0e3b0d60 do a backport of r75928
The added test does not fail without the patch, but we still fix the issue of
surrogates being used in wide builds where they should not be.
2009-10-29 01:49:07 +00:00
Vinay Sajip a7d44001b1 Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration. 2009-10-28 23:28:16 +00:00
R. David Murray d913864efa Remove variable that is no longer used. 2009-10-28 14:03:43 +00:00
Eric Smith 129c97df02 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:44:37 +00:00
Mark Dickinson e8486931b6 Fix format specifier for MSVC 2009-10-28 07:47:32 +00:00
Mark Dickinson 791181b0ff Replace long long with PY_LONG_LONG 2009-10-28 07:23:49 +00:00
Tarek Ziadé c9dbca8d63 removed spurious spaces 2009-10-28 06:45:18 +00:00
Tarek Ziadé 40b998b05d Fixed #1180: Option to ignore ~/.pydistutils.cfg in Distutils 2009-10-27 23:06:10 +00:00
Georg Brandl 4e1be94bc6 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 22:56:09 +00:00
Mark Dickinson 53e9fa4eed Test long inputs to float 2009-10-27 22:09:33 +00:00
Mark Dickinson bf1039d98c 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:48:20 +00:00
Antoine Pitrou 8aea050911 Reduce the probability of refleaks in test_socketserver.
Not completely suppressed though, see issue #7222.
2009-10-27 21:27:24 +00:00
Tarek Ziadé d24cab8c74 Issue #7218: Fix test_site for win32 2009-10-27 21:20:27 +00:00
Benjamin Peterson 26a93c0082 test expect base classes 2009-10-27 20:59:18 +00:00
Georg Brandl 8319170abb Reformat the regrtest command-line option help and group the options into sections. 2009-10-27 20:55:44 +00:00
Georg Brandl 71a015ac1c Add a regrtest option to re-run in verbose mode immediately after a test fails, and use that option on the buildbots. 2009-10-27 20:52:02 +00:00
Antoine Pitrou cb170100d4 Try to fix transient refleaks in test_distutils. 2009-10-27 20:20:41 +00:00
Antoine Pitrou fce3207b53 Fix transient refleaks in test_urllib2_localnet. 2009-10-27 20:14:04 +00:00
Antoine Pitrou bb0bb30acc Suppress transient refleaks in test_threading. 2009-10-27 20:02:23 +00:00
Antoine Pitrou a763c06357 Suppress transient refleaks in test_smtplib. 2009-10-27 19:47:30 +00:00
Eric Smith b218d289e6 Removed PyOS_ascii_atof from marshal.c, as mentioned in issue 7117. Also brings it more in line with py3k. 2009-10-27 19:42:57 +00:00
Antoine Pitrou 0df2c73d6c Suppress transient refleaks in test_file2k. 2009-10-27 19:36:44 +00:00
Antoine Pitrou e171edc832 Fix transient refleak in test_sys. 2009-10-27 19:23:56 +00:00
Antoine Pitrou 85bd5879b2 (Hopefully) suppress transient refleaks in test_httpservers. 2009-10-27 18:50:52 +00:00
Antoine Pitrou f829d1f551 Suppress transient refleaks in test_asyncore 2009-10-27 18:36:47 +00:00
Eric Smith abc9f70381 Removed PyOS_ascii_atof from ast.c, as mentioned in issue 7117. 2009-10-27 18:33:14 +00:00
Antoine Pitrou dd62966a5f Issue #7205: Fix a possible deadlock when using a BZ2File object from several threads at once. 2009-10-27 17:41:58 +00:00
Georg Brandl 5098bc9448 Fix a strange mis-edit. 2009-10-27 15:10:22 +00:00
Eric Smith b53e1a6ed3 Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in stropmodule as part of short float repr. 2009-10-27 12:12:44 +00:00
Eric Smith 97be1ca1d9 Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in cPickle as part of short float repr. 2009-10-27 11:32:11 +00:00
Benjamin Peterson 7582ec36b2 use 'is' instead of id() 2009-10-26 22:51:16 +00:00
Mark Dickinson c04c7c5b72 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:28:14 +00:00
Mark Dickinson 8568b19850 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:11:20 +00:00
Mark Dickinson 3e1eb0f715 Issue #7117: Backport missing pystrtod.h declarations from py3k. 2009-10-26 21:09:09 +00:00
Mark Dickinson e052b64def 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 19:59:23 +00:00
Antoine Pitrou d9ff74e51d Some platforms have rl_completion_append_character but not rl_completion_suppress_append.
Reported by Mark D.
2009-10-26 19:16:46 +00:00
Eric Smith c1bdf89145 Finished removing _PyOS_double_to_string, as mentioned in issue 7117. 2009-10-26 17:46:17 +00:00
Mark Dickinson 975d7576ca Issue #7117 (backport py3k float repr) continued:
Backport pystrtod.c from py3k.
2009-10-26 15:39:50 +00:00
Eric Smith b05d3be2f1 Continue removing _PyOS_double_to_string, as mentioned in issue 7117. 2009-10-26 15:06:39 +00:00
Eric Smith cfaf79c56e Start to remove _PyOS_double_to_string, as mentioned in issue 7117. 2009-10-26 14:48:55 +00:00