Commit Graph

822 Commits

Author SHA1 Message Date
Antoine Pitrou c7c96a90bc Recorded merge of revisions 81029 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines

  Untabify C files. Will watch buildbots.
........
2010-05-09 15:15:40 +00:00
Georg Brandl f004d9dc84 Merged revisions 73206,73232,73299,73683,74020,74185,74544,74643,74647,74817,74838-74839,74865,74946,75402,75459,75604,75696 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73206 | georg.brandl | 2009-06-04 11:15:12 +0200 (Do, 04 Jun 2009) | 1 line

  #3584: ignore trailing newlines when placing the caret for a SyntaxError location.
........
  r73232 | georg.brandl | 2009-06-04 20:59:58 +0200 (Do, 04 Jun 2009) | 1 line

  Add test for #3684.
........
  r73299 | georg.brandl | 2009-06-08 20:41:36 +0200 (Mo, 08 Jun 2009) | 1 line

  Typo fix.
........
  r73683 | georg.brandl | 2009-06-29 16:44:49 +0200 (Mo, 29 Jun 2009) | 1 line

  Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint.
........
  r74020 | georg.brandl | 2009-07-16 09:18:07 +0200 (Do, 16 Jul 2009) | 1 line

  #5910: fix kqueue for calls with more than one event.
........
  r74185 | georg.brandl | 2009-07-23 11:17:09 +0200 (Do, 23 Jul 2009) | 1 line

  Fix the "pylocals" gdb command.
........
  r74544 | georg.brandl | 2009-08-24 19:12:30 +0200 (Mo, 24 Aug 2009) | 1 line

  #6775: fix python.org URLs in README.
........
  r74643 | georg.brandl | 2009-09-04 08:59:20 +0200 (Fr, 04 Sep 2009) | 2 lines

  Issue #2666: Handle BROWSER environment variable properly for unknown browser names in the webbrowser module.
........
  r74647 | georg.brandl | 2009-09-04 10:17:04 +0200 (Fr, 04 Sep 2009) | 2 lines

  Issue #5275: In Cookie's Cookie.load(), properly handle non-string arguments as documented.
........
  r74817 | georg.brandl | 2009-09-16 11:05:11 +0200 (Mi, 16 Sep 2009) | 1 line

  Make deprecation notices as visible as warnings are right now.
........
  r74838 | georg.brandl | 2009-09-16 18:22:12 +0200 (Mi, 16 Sep 2009) | 1 line

  Remove some more boilerplate from the actual tests in test_pdb.
........
  r74839 | georg.brandl | 2009-09-16 18:36:39 +0200 (Mi, 16 Sep 2009) | 1 line

  Make the pdb displayhook compatible with the standard displayhook: do not print Nones. Add a test for that.
........
  r74865 | georg.brandl | 2009-09-17 09:49:37 +0200 (Do, 17 Sep 2009) | 1 line

  #6912: add "with" block support to pindent.
........
  r74946 | georg.brandl | 2009-09-19 10:43:16 +0200 (Sa, 19 Sep 2009) | 1 line

  Update bug tracker reference.
........
  r75402 | georg.brandl | 2009-10-14 17:51:48 +0200 (Mi, 14 Okt 2009) | 1 line

  #7125: fix typo.
........
  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__.
........
  r75604 | georg.brandl | 2009-10-22 13:36:50 +0200 (Do, 22 Okt 2009) | 1 line

  Fix stylesheet for multi-paragraph impl-details.
........
  r75696 | georg.brandl | 2009-10-25 21:25:43 +0100 (So, 25 Okt 2009) | 1 line

  Fix a demo.
........
2009-10-27 15:39:53 +00:00
R. David Murray 066acbc8db Merged revisions 75115 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75115 | r.david.murray | 2009-09-28 14:29:28 -0400 (Mon, 28 Sep 2009) | 2 lines

  Applying patches backported from 3.1, by Gregor Lingl.
........
2009-09-28 18:45:13 +00:00
Jesus Cea 585ad8ae5e Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r69846 | mark.dickinson | 2009-02-21 21:27:01 +0100 (Sat, 21 Feb 2009) | 2 lines

  Issue #5341: Fix a variety of spelling errors.
........
2009-07-02 15:37:21 +00:00
R. David Murray 8f08985422 Merged revisions 73557 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73557 | r.david.murray | 2009-06-25 13:29:39 -0400 (Thu, 25 Jun 2009) | 3 lines

  Issue 6340: update by Gregor Lingl of his tdemo_chaos demo program.
  Functionally equivalent, clearer code, English comments.
........
2009-06-25 17:36:04 +00:00
Martin v. Löwis e563aa4383 Issue #3965: Allow repeated calls to turtle.Screen, by making it a
true singleton object.

Reviewed by Gregor Lingl.
2008-09-29 22:09:07 +00:00
Andrew M. Kuchling d9a9c1066c Update uses of string exceptions 2008-09-13 01:57:25 +00:00
Andrew M. Kuchling 0bef15846f Fix SyntaxError 2008-09-13 01:56:56 +00:00
Andrew M. Kuchling c997f178ed Subclass exception 2008-09-13 01:48:36 +00:00
Andrew M. Kuchling dda0ce7285 Remove semicolon 2008-09-13 01:47:02 +00:00
Andrew M. Kuchling 2a9b9cbea0 #687648 from Robert Schuppenies: use classic division. 2008-09-13 01:43:28 +00:00
Andrew M. Kuchling e91fcbdf69 #687648 from Robert Schuppenies: use classic division. From me: remove two stray semicolons 2008-09-13 01:42:55 +00:00
Andrew M. Kuchling 8bd9a2f7db #687648 from Robert Schuppenies: use classic division. From me: don't use string exception; add __main__ section 2008-09-13 01:34:41 +00:00
Andrew M. Kuchling c2dc269288 #687648 from Robert Schuppenies: use classic division. From me: don't use string exception; flush stdout after printing 2008-09-13 01:27:33 +00:00
Andrew M. Kuchling 949f71b446 #687648 from Robert Schuppenies: use classic division. (RM Barry gave permission to update the demos.) 2008-09-13 01:22:08 +00:00
Benjamin Peterson 7c972f971c get unparse to at least unparse its self 2008-08-19 17:59:23 +00:00
Benjamin Peterson 8692c79ba9 correct version 2008-08-18 01:27:05 +00:00
Georg Brandl 74bbc79d10 Replace all map(None, a) with list(a). 2008-07-18 19:06:13 +00:00
Martin v. Löwis 8718459f0f Patch #1513695: New turtle module, with demos. 2008-06-04 06:29:55 +00:00
Brett Cannon 2ee0e8eaec Revert the renaming of repr to reprlib. 2008-05-23 05:03:59 +00:00
Alexandre Vassalotti 50a1acb2ab Changed references to the reprlib module to use its new name. 2008-05-16 06:58:49 +00:00
Benjamin Peterson 5b63acd31e #2503 make singletons compared with "is" not == or !=
Thanks to Wummel for the patch
2008-03-29 15:24:25 +00:00
Georg Brandl c76ea27965 Use os.closerange(). 2008-02-23 22:14:02 +00:00
Mark Dickinson 900b783526 Remove reference to Rational 2008-02-10 19:23:36 +00:00
Jeffrey Yasskin d7b00334f3 Add rational.Rational as an implementation of numbers.Rational with infinite
precision. This has been discussed at http://bugs.python.org/issue1682. It's
useful primarily for teaching, but it also demonstrates how to implement a
member of the numeric tower, including fallbacks for mixed-mode arithmetic.

I expect to write a couple more patches in this area:
 * Rational.from_decimal()
 * Rational.trim/approximate() (maybe with different names)
 * Maybe remove the parentheses from Rational.__str__()
 * Maybe rename one of the Rational classes
 * Maybe make Rational('3/2') work.
2008-01-15 07:46:24 +00:00
Christian Heimes c756d00cf2 Replaced import of the 'new' module with 'types' module and added a deprecation warning to the 'new' module. 2007-11-27 21:34:01 +00:00
Guido van Rossum 41f039292f A thread-less variant of brownian.py, submitted by Michele Simoniato. 2007-11-26 22:16:49 +00:00
Neal Norwitz 25e4461666 Remove references to stdwin which was removed long ago. 2007-05-13 20:54:19 +00:00
Tim Peters 35c7bb202f Whitespace normalization. 2007-04-25 18:47:18 +00:00
Georg Brandl 124df8398d Patch #1683328: fixes and enhancements for "unparse" demo. 2007-03-19 19:02:48 +00:00
Georg Brandl 2756278304 Patch #1552024: add decorator support to unparse.py demo script. 2006-10-27 20:39:43 +00:00
Martin Blais 215f13dd11 Normalized a few cases of whitespace in function declarations.
Found them using::

  find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done
  find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done

(I was doing this all over my own code anyway, because I'd been using spaces in
all defs, so I thought I'd make a run on the Python code as well.  If you need
to do such fixes in your own code, you can use xx-rename or parenregu.el within
emacs.)
2006-06-06 12:46:55 +00:00
Andrew M. Kuchling 9fef9b166e Add more whitespace; use a better socket name 2006-06-03 23:59:36 +00:00
Andrew M. Kuchling 46df918314 Remove dangling reference 2006-06-03 23:51:21 +00:00
Andrew M. Kuchling 84b9cbc79a Remove xmlrpc/ directory 2006-06-03 23:47:22 +00:00
Andrew M. Kuchling 65ff561b50 Remove xmlrpc demo -- it duplicates the SimpleXMLRPCServer module. 2006-06-03 23:46:36 +00:00
Andrew M. Kuchling 7b1ddca380 This demo requires Medusa (not just asyncore); remove it 2006-06-03 23:43:22 +00:00
Andrew M. Kuchling 0b4e554be5 Use functions; modernize code 2006-06-03 23:39:07 +00:00
Andrew M. Kuchling 3550613502 Put code in a main() function; loosen up the spacing to match current code style 2006-06-03 23:15:56 +00:00
Andrew M. Kuchling 3725dea9c3 Docstring fix; use True 2006-06-03 23:09:58 +00:00
Andrew M. Kuchling 311562ac75 Use true division, and the True value 2006-06-03 23:07:21 +00:00
Andrew M. Kuchling 98900bc7bb Use True; value returned from main is unused 2006-06-03 23:02:15 +00:00
Andrew M. Kuchling 510b46fb42 Some code tidying; use curses.wrapper 2006-06-03 22:59:59 +00:00
Andrew M. Kuchling 6f159b1def Drop 0 parameter 2006-06-03 22:59:23 +00:00
Andrew M. Kuchling 08bcfc2331 Update readme 2006-06-03 22:44:42 +00:00
Tim Peters 3daf304f3b Whitespace normalization. 2006-04-10 20:28:40 +00:00
Martin v. Löwis 3fa6c090d8 Patch #1441452: Add more AST nodes. 2006-04-10 12:43:55 +00:00
Martin v. Löwis b04dee935c Patch #1462222: Fix Tix.Grid. Closes #1036406. 2006-04-10 08:34:21 +00:00
Neal Norwitz 10be10cbe7 Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. 2006-03-16 06:50:13 +00:00
Martin v. Löwis 87a8b4fee5 unparse.py can now unparse itself. 2006-02-28 21:41:30 +00:00