Commit Graph

42062 Commits

Author SHA1 Message Date
R. David Murray b01c6e53ed Make the turtle.rst doctests pass. I have a feeling there should be
more cleanup, but I don't know now to kill turtles.  Especially
unexpected ones... ;)
2009-04-30 12:42:32 +00:00
Eric Smith 9139cc6a3b Issue #1588: Add complex.__format__. 2009-04-30 00:58:58 +00:00
Benjamin Peterson 2518d3c1c0 prevent ref cycles by removing bound method on close() 2009-04-30 00:23:11 +00:00
Benjamin Peterson 7c7250da45 make sure to close file 2009-04-30 00:06:33 +00:00
Benjamin Peterson a9b4d4777a make sure mode is removable while cleaning up test droppings 2009-04-29 22:44:15 +00:00
Georg Brandl 8c5326f103 #5878: fix repr of re object. 2009-04-29 22:44:07 +00:00
Benjamin Peterson 9c6fc5187f fix test_shutil on ZFS #5676 2009-04-29 22:43:35 +00:00
Mark Dickinson 61a0d05291 Backport some of the float formatting tests from py3k. 2009-04-29 21:57:15 +00:00
Mark Dickinson df108ca324 Remove format_float and use _PyOS_double_to_string instead. 2009-04-29 21:56:53 +00:00
Mark Dickinson 92fcc9c991 Issue #5864: format(1234.5, '.4') gives misleading result
(Backport of r72109 from py3k.)
2009-04-29 20:41:00 +00:00
Benjamin Peterson 867475c970 run autoconf 2009-04-29 20:36:25 +00:00
R. David Murray 0f457e5825 More aifc tests. 2009-04-29 20:15:18 +00:00
Matthias Klose 61dbdb9677 - configure.in: Don't error, when no --with-dbmliborder option is present 2009-04-29 20:09:50 +00:00
Matthias Klose 51c614e3bf - Issue #4587: Add configure option --with-dbmliborder=db1:db2:... to specify
the order that backends for the dbm extension are checked.
2009-04-29 19:52:49 +00:00
Matthias Klose 10cbe4886e - Issue #4587: Add configure option --with-dbmliborder=db1:db2:... to specify
the order that backends for the dbm extension are checked.
2009-04-29 17:18:19 +00:00
R. David Murray 971b1b100b Now that we've got a test_aifc, add a few tests. 2009-04-29 13:51:44 +00:00
R. David Murray 25b4add5b0 Fix issue 2245. aifc now skips any chunk type it doesn't actually
process instead of throwing errors for anything not in an explicit
skip list.  This is per this spec: http://www.cnpbagwell.com/aiff-c.txt.
Spec reference and test sound file provided by Santiago Peresón, fix
based on patch by Hiroaki Kawai.
2009-04-29 13:17:37 +00:00
Tarek Ziadé a1b91d944b Fixed #5874 : distutils.tests.test_config_cmd is not locale-sensitive anymore 2009-04-29 08:03:46 +00:00
Georg Brandl f6dab9542c Make the doctests in the docs pass, except for those in the turtle module. 2009-04-28 21:48:35 +00:00
Thomas Heller 90c61a2e09 Issue #4305: ctypes fails to build on mipsel-linux-gnu (detects mips
instead of mipsel)
2009-04-28 19:23:41 +00:00
R. David Murray 3b23c9c516 Remove spurious 'u'. 2009-04-28 19:02:55 +00:00
R. David Murray 636b23a96f Various small fixups to the multiprocessing docs, mostly fixing and
enabling doctests that Sphinx can run, and fixing and disabling tests that
Sphinx can't run.  I hand checked every test not now marked as a doctest,
and all except the two that have open bug reports against them now work,
at least on Linux/trunk. (I did not look at the last example at all since
there was already an open bug).  I did not read the whole document with
an editor's eye, but I did fix a few things I noticed while working on
the tests.
2009-04-28 16:08:18 +00:00
Eric Smith 94cc00ce4d Silence warning on Windows. 2009-04-28 07:33:09 +00:00
Antoine Pitrou e988e286b2 Issue #1734234: Massively speedup `unicodedata.normalize()` when the
string is already in normalized form, by performing a quick check beforehand.
Original patch by Rauli Ruohonen.
2009-04-27 21:53:26 +00:00
Raymond Hettinger 8b8f8cc1b0 Add example to the seealso section. 2009-04-27 21:12:54 +00:00
Raymond Hettinger a016debad0 Update spec version number. 2009-04-27 21:12:27 +00:00
Antoine Pitrou f2651e193c Issue #5853: calling a function of the mimetypes module from several threads
at once could hit the recursion limit if the mimetypes database hadn't been
initialized before.
2009-04-27 20:50:20 +00:00
Eric Smith cac7af6863 Issue #5793: rationalize isdigit / isalpha / tolower, etc. Will port to py3k. Should fix Windows buildbot errors. 2009-04-27 19:04:37 +00:00
R. David Murray ec047e0725 Make sys.xxx variable references into links, note that print_last only
works when an exception gets to the interactive prompt, and update the
examples after testing.  The last one is now a valid Sphinx doctest,
but of the preceding two one can't be made a doctest and the other one
I'm postponing to 3.x because sphinx handles doctests as Unicode strings
and that makes the 2.x output confusing.
2009-04-27 17:22:36 +00:00
Georg Brandl 2622b549d7 #5840: dont claim we dont support TLS. 2009-04-27 17:09:53 +00:00
Georg Brandl 9bc668251f #5848: small unittest doc patch. 2009-04-27 17:04:23 +00:00
Georg Brandl b44c9f357d Demote warnings to notices, part 2: stuff that is 2.x-only. 2009-04-27 15:29:26 +00:00
Georg Brandl 16a57f6a34 Demote warnings to notices where appropriate, following the goal that as few "red box" warnings
should clutter the docs as possible.  Part 1: stuff that gets merged to Py3k.
2009-04-27 15:29:09 +00:00
Georg Brandl d91f8cf779 Remove ".. warning::" markup that doesnt contain warnings for users, rather todo items. 2009-04-27 15:10:44 +00:00
Georg Brandl e1b79ce17e #5856: fix typo s in traceback example. 2009-04-27 15:09:25 +00:00
Vinay Sajip e34d6aa86f Issue #5854: Updated __all__ to include some missing names and remove some names which should not be exported. 2009-04-27 13:44:27 +00:00
Kurt B. Kaiser 94290d390e Right click 'go to file/line' not working if spaces
in path.  Bug 5559.
2009-04-26 23:22:11 +00:00
Walter Dörwald 4b965f6ab1 Use test.test_support.EnvironmentVarGuard where tests change environment vars. 2009-04-26 20:51:44 +00:00
Mark Dickinson e73cbe7a4e Fix typo in function name 2009-04-26 19:54:55 +00:00
Walter Dörwald 4c69da2879 Fix typo. 2009-04-26 19:11:43 +00:00
Mark Dickinson 6d6b220215 Backport r71967 changes from py3k to trunk.
(Internal plumbing changes for float parsing.)
2009-04-26 16:04:05 +00:00
Mark Dickinson 944c6aedd0 Reset errno before both calls to PyOS_ascii_strtod, not just one. 2009-04-26 14:00:08 +00:00
Eric Smith f254aab098 Note that the caller is resposible for freeing the result of PyOS_double_to_string. 2009-04-26 10:05:11 +00:00
Georg Brandl d40fb70268 Update pydoc topics. 2009-04-26 09:57:29 +00:00
Georg Brandl 438192540d Move pydoc_topics module to its own subdirectory, so that no generated code is in Lib/. 2009-04-26 09:56:44 +00:00
Georg Brandl 0d478c455b Another file where the versions need to be up to date. 2009-04-26 06:06:53 +00:00
Georg Brandl aa9eb9e163 Remove outdated TODO file. 2009-04-26 06:06:19 +00:00
Georg Brandl 576574f5dd Note that the versions are also in README.txt. 2009-04-26 06:05:58 +00:00
Georg Brandl dbc5b4b66f Update versions in instructions for manual set-up. 2009-04-26 06:05:18 +00:00
Georg Brandl afb0d6ef39 Mostly formatting nits, and "and-ed together" -> "or-ed together" flags. 2009-04-26 06:01:04 +00:00