summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Check "sep" and "end" for stringness in Print().Georg Brandl2006-11-301-1/+14
|
* Add built-in Print() function. This is PEP 3105 except for the name;Guido van Rossum2006-11-301-0/+55
| | | | | | | | | I'll rename it to print() later. Now I can start working on the refactoring tool for print -> Print(). Also, sep and end should be required to be strings (or Unicode?). Someone please volunteer.
* replace references to __nonzero__ with __bool__Jack Diederich2006-11-301-3/+3
|
* updated docstring on __bool__ to match behaviorJack Diederich2006-11-281-3/+3
|
* - patch #1600346 submitted by Tomer FilibaJack Diederich2006-11-2831-82/+118
| | | | | | - Renamed nb_nonzero slots to nb_bool - Renamed __nonzero__ methods to __bool__ - update core, lib, docs, and tests to match
* Unit tests for PEP 3102, by Jiwon Seo. Forgot to add these earlier.Guido van Rossum2006-11-221-0/+151
|
* The rest of patch 1549670 by Jiwon, making the compiler test pass.Guido van Rossum2006-11-222-54/+32
| | | | This removes some bogus debug stuff Jiwon accidentally left in last time.
* Make it compile with older compilers.Guido van Rossum2006-11-221-3/+3
|
* Jiwon Seo's PEP 3102 implementation.Guido van Rossum2006-10-2731-227/+739
| | | | | See SF#1549670. The compiler package has not yet been updated.
* Thomas Heller fixed modulefinder and added a test. Thanks!Guido van Rossum2006-10-272-37/+364
|
* This module was still referencing some dead EXEC related constants.Guido van Rossum2006-09-061-3/+3
|
* Patch #1550786: ellipsis literal.Georg Brandl2006-09-0619-141/+140
|
* Patch #1550800: make exec a function.Georg Brandl2006-09-06105-1558/+1221
|
* Fix comment for indenting in C files.Brett Cannon2006-08-311-1/+1
|
* Fix latex2html compile errorGeorge Yoshida2006-08-301-1/+1
|
* Get rid of more coerce cruft (really check in this time :-)Neal Norwitz2006-08-297-57/+2
|
* Get rid of more coerce cruft, update NEWSNeal Norwitz2006-08-291-6/+15
|
* Get parsermodule working again after adding set literalsNeal Norwitz2006-08-291-4/+4
|
* Fix another typo.Neal Norwitz2006-08-291-1/+1
|
* Get rid of some more cases of backquotes. parsermodule.c doesn't compileNeal Norwitz2006-08-296-17/+3
| | | | but looks like that was a problem before this change.
* Get rid of most of the remaining uses of <>. There's still Tools/* thogh.Neal Norwitz2006-08-2916-49/+23
|
* Fix str() and repr() of empty sets.Georg Brandl2006-08-282-5/+16
|
* Small fix for compiler module ./. set literals.Georg Brandl2006-08-281-1/+1
|
* Fix set literals not being visited in symtable creation.Georg Brandl2006-08-282-1/+4
|
* SF patch 1547796 by Georg Brandl -- set literals.Guido van Rossum2006-08-2822-72/+229
|
* Vestige of code from removing backticks.Brett Cannon2006-08-271-14/+0
| | | | Closes patch #1500623. Thanks, Collin Winter.
* Part of SF patch #1513870 (the still relevant part) -- add reduce() toGuido van Rossum2006-08-2611-78/+168
| | | | functools, and adjust docs etc.
* Inspired by SF patch #860326, make the exception formatting byGuido van Rossum2006-08-266-8/+13
| | | | | traceback.py be closer to the built-in formatting. A few unittests had to be fixed, too.
* The daily ritual: fix C89 violations.Guido van Rossum2006-08-261-2/+4
|
* Don't use a fixed temporary name (gdbm).Guido van Rossum2006-08-252-4/+4
| | | | | Don't use our own temp name creation (dbm). Should be backported to 2.5.
* SF patch 1546297 (with some tweaks):Guido van Rossum2006-08-253-15/+177
| | | | | Create a real zip iterator object; not using itertools.izip (Brian Holmes).
* Remove the UNARY_CONVERT opcode (was used for backticks). Also bumped up theBrett Cannon2006-08-2512-74/+4
| | | | import MAGIC number.
* Remove more '<>' usage.Brett Cannon2006-08-251-10/+10
| | | | | ``python -m compileall -f`` is really handy for finding Python files that use invalid syntax.
* Remove support for backticks from the grammar and compiler.Brett Cannon2006-08-257-154/+86
| | | | Still need to remove traces of the UNARY_CONVERT opcode.
* UNARY_CONVERT can no longer be generated, so remove a test for the peepholerBrett Cannon2006-08-251-1/+0
| | | | optimization for it.
* Change test of assignment of backticked expression to be an "invalid syntax"Brett Cannon2006-08-251-1/+1
| | | | | | | | | SyntaxError. This is probably not the proper solution to this failing test, but removing the test itself causes 19 other tests to fail for some odd reason because doctest doesn't expect a complete traceback (or something; rather odd problem for just removing a single test).
* Check in new output for test_tokenize.Brett Cannon2006-08-251-12/+13
|
* Switch to using %r in the format string.Brett Cannon2006-08-252-2/+2
|
* Don't test AST for backticks.Brett Cannon2006-08-251-3/+0
|
* The backtick removal crusade continues ...Brett Cannon2006-08-251-2/+2
|
* Remove usage of backticks.Brett Cannon2006-08-2513-16/+14
|
* Remove more '<>' usage.Brett Cannon2006-08-251-1/+1
|
* Back out rev. 51583 as this file is auto-generated. Obviously the program thatBrett Cannon2006-08-251-1/+1
| | | | auto-generates this file will need to get fixed.
* For some reason Vim was just not wanting to tell me there was more instances ofBrett Cannon2006-08-251-1/+1
| | | | '<>'.
* Even more removals of '<>'; I can hear Barry shedding a manly tear ...Brett Cannon2006-08-252-2/+2
|
* Remove a use of 'as' as a parameter.Brett Cannon2006-08-251-1/+1
|
* Remove some uses of '<>'.Brett Cannon2006-08-252-2/+2
|
* Get rid of all two uses of backticks (bad Jeremy!).Brett Cannon2006-08-242-2/+2
|
* Fix a bunch of compiler warnings. In at least one case these were serious bugs!Guido van Rossum2006-08-242-8/+8
|
* Got test_mutants.py working. One set of changes was straightforward:Guido van Rossum2006-08-242-23/+32
| | | | | | | | | use __eq__ instead of __cmp__. The other change is unexplained: with a random hash code as before, it would run forever; with a constant hash code, it fails quickly. This found a refcount bug in dict_equal() -- I wonder if that bug is also present in 2.5...