summaryrefslogtreecommitdiffstats
path: root/Demo/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Patch for issue 2848, mostly by Humberto Diogenes, with a couple ofBarry Warsaw2008-06-121-1/+1
| | | | small fixes by Barry. This removes mimetools from the stdlib.
* Fix more exception slicing.Georg Brandl2008-01-061-2/+2
|
* More raise statement normalization.Collin Winter2007-08-301-4/+4
|
* Kill execfile(), use exec() insteadNeal Norwitz2007-08-122-3/+4
|
* remove most uses of list(somedict.keys()) in Demo scriptsSkip Montanaro2007-08-063-8/+4
|
* Merged revisions 56492-56752 via svnmerge fromGuido van Rossum2007-08-052-149/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r56497 | kurt.kaiser | 2007-07-22 14:55:16 -0700 (Sun, 22 Jul 2007) | 4 lines In the case of syntax errors, in py3k format_exception_only() was including line number and position in the final line of the exception notification, duplicating info in previous lines. ........ r56501 | kurt.kaiser | 2007-07-22 19:35:50 -0700 (Sun, 22 Jul 2007) | 2 lines Hum, needed a newline in the last change. ........ r56536 | kurt.kaiser | 2007-07-24 19:06:48 -0700 (Tue, 24 Jul 2007) | 5 lines Not all instantiations of SyntaxError set the args attribute. e.g. symtable.c Modify format_exception_only() to get SyntaxError attributes directly instead of unpacking 'args'. ........ r56537 | kurt.kaiser | 2007-07-24 19:13:03 -0700 (Tue, 24 Jul 2007) | 3 lines Update doctest strings: traceback.py no longer prints redundant location information in the last line of the exception display. ........ r56627 | kurt.kaiser | 2007-07-29 21:06:57 -0700 (Sun, 29 Jul 2007) | 2 lines Interactive interpreter emulator (code.py) failing to print exceptions. ........ r56628 | kurt.kaiser | 2007-07-29 21:41:02 -0700 (Sun, 29 Jul 2007) | 2 lines Eliminate extra lines before and after tracebacks. ........ r56638 | kurt.kaiser | 2007-07-31 19:36:45 -0700 (Tue, 31 Jul 2007) | 3 lines Refactor syntax error display in shell and edit windows; move colorize_syntax_error() to EditorWindow; update to py3k. ........ r56685 | neal.norwitz | 2007-08-02 22:20:23 -0700 (Thu, 02 Aug 2007) | 10 lines Remove several h/w and o/s specific modules that are undocumented, obsolete, and/or not widely used: linuxaudiodev.c, sunaudiodev.c Lib/plat-sunos5/SUNAUDIODEV.py Lib/audiodev.py Tools/audiopy/audiopy Move Lib/toaiff.py to Demo. See PEP 3108 for most of the details. ........ r56686 | neal.norwitz | 2007-08-02 22:21:48 -0700 (Thu, 02 Aug 2007) | 4 lines Missed one module that should have been removed since it relied on audiodev which was removed. ........ r56748 | neal.norwitz | 2007-08-04 19:19:04 -0700 (Sat, 04 Aug 2007) | 1 line Make from X import * outside module scope an error. ........ r56750 | neal.norwitz | 2007-08-04 19:35:01 -0700 (Sat, 04 Aug 2007) | 1 line Use READONLY consistently instead of RO ........
* Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about ↵Collin Winter2007-07-1719-166/+168
| | | | lingering print statements.
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-106-16/+16
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* Get rid of most of the remaining uses of <>. There's still Tools/* thogh.Neal Norwitz2006-08-293-4/+4
|
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-214-11/+11
| | | | | | | | | | | | | | | | | | | | number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway.
* Get rid of a bunch more raw_input referencesNeal Norwitz2006-03-171-0/+5
|
* Add 'if __name__ == "__main__":' to files already as a usable as a module.Johannes Gijsbers2004-09-1113-18/+29
|
* Remove mpzpi demoAndrew M. Kuchling2004-08-312-35/+0
|
* Whitespace normalization. Ran reindent.py over the entire source tree.Tim Peters2004-07-1815-1127/+1127
|
* Fix comment typoAndrew M. Kuchling2004-07-171-1/+1
|
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-1210-37/+36
| | | | From SF patch #852334.
* Revert previous change which didn't make sense the next day :-)Raymond Hettinger2003-12-101-16/+18
|
* Update to use python ints and int/long unification.Raymond Hettinger2003-12-101-18/+16
|
* Patch #748849: Update to current tools and demos.Martin v. Löwis2003-06-071-0/+5
|
* add find-uname.pySkip Montanaro2003-01-011-0/+1
|
* Search for Unicode character names using regular expressions.Skip Montanaro2003-01-011-0/+40
|
* Massive changes from SF 589982 (tempfile.py rewrite, by ZackGuido van Rossum2002-08-091-16/+8
| | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones.
* Deleting merge zombie.Guido van Rossum2001-07-171-480/+0
|
* Updated to use new Python featuresMoshe Zadka2001-02-201-86/+86
| | | | Reindented
* Fixed to use new Python features and use more commonly accepted styleMoshe Zadka2001-02-201-18/+18
| | | | Reindented
* Changed to use the fact that str(long) doesn't produce a trailing LMoshe Zadka2001-02-201-16/+16
| | | | Reindented
* A solution to the classic N queens problem.Guido van Rossum2000-11-161-0/+85
|
* Fix bug discovered by Klaus-Juergen Wolf -- it runs into infinite recursion!Guido van Rossum1999-06-091-1/+1
|
* 100 bottles of beer on the wall example.Guido van Rossum1998-12-211-0/+14
| | | | | | After a version by Fredrik Lundh that I found on the web somewhere. (I like mine better, but of course that may have to do with my alcohol consumption. :-)
* nannifiedGuido van Rossum1998-09-142-83/+84
|
* whrandom -> randomGuido van Rossum1998-05-201-2/+2
|
* Fix the way the version number is gotten out of the RCS revision.Guido van Rossum1997-12-091-1/+2
|
* /usr/local/bin/python -> /usr/bin/env pythonGuido van Rossum1996-11-2717-17/+17
|
* moved lots of stuff to Tools/scriptsGuido van Rossum1995-03-021-33/+2
|
* Invent Message-ID header if none is presentGuido van Rossum1995-01-121-0/+10
|
* sys.stderr(...) should be sys.stderr.write(), of courseGuido van Rossum1995-01-041-1/+1
|
* Get rid of freeze (now its own directory).Guido van Rossum1994-10-033-1/+185
| | | | Added some new demos. Fixed a few others.
* Added mboxconvert.pyGuido van Rossum1994-09-052-0/+114
|
* Add test for mpz moduleGuido van Rossum1994-08-192-0/+35
|
* Added pathfixGuido van Rossum1994-08-191-0/+1
|
* newslist.py: Added search for .newslistrc.py;Guido van Rossum1994-08-191-0/+7
| | | | | pindent.py: use /usr/local/bin/python; pathfix.py: new script to fix #! lines in a group of scripts.
* Quentin's latest versionGuido van Rossum1994-05-271-70/+119
|
* Initial revisionGuido van Rossum1994-05-272-0/+368
|
* Added pindent.pyGuido van Rossum1994-05-151-0/+1
|
* Added ifdef.pyGuido van Rossum1994-05-091-0/+1
|
* Jaap V's changes plus a few of my own -- now it seems to work.Guido van Rossum1994-04-141-17/+43
|
* correct spelling errorGuido van Rossum1994-02-071-1/+1
|
* Initial revisionGuido van Rossum1994-02-071-0/+106
|
* added unbirthday.pyGuido van Rossum1994-02-071-0/+1
|
* remove references to /ufs/guido/bin/sgi/pythonGuido van Rossum1994-01-074-4/+1
|