[Python-3000-checkins] r51561 - in python/branches/p3yk: Lib/test/test_datetime.py Modules/datetimemodule.c

2006-08-24 Thread guido.van.rossum
Author: guido.van.rossum Date: Thu Aug 24 19:29:38 2006 New Revision: 51561 Modified: python/branches/p3yk/Lib/test/test_datetime.py python/branches/p3yk/Modules/datetimemodule.c Log: Fix the datetime comparison conundrum. The special-casing of other objects with a timetuple attribute is gon

[Python-3000-checkins] r51564 - python/branches/p3yk/Lib/bsddb/test/test_basics.py python/branches/p3yk/Lib/bsddb/test/test_dbshelve.py

2006-08-24 Thread guido.van.rossum
Author: guido.van.rossum Date: Thu Aug 24 20:19:44 2006 New Revision: 51564 Modified: python/branches/p3yk/Lib/bsddb/test/test_basics.py python/branches/p3yk/Lib/bsddb/test/test_dbshelve.py Log: Fix the bsddb3 unit tests. This essentially meant fixing one case where a list of custom objects

[Python-3000-checkins] r51567 - python/branches/p3yk/BROKEN

2006-08-24 Thread guido.van.rossum
Author: guido.van.rossum Date: Thu Aug 24 21:12:58 2006 New Revision: 51567 Removed: python/branches/p3yk/BROKEN Log: Get rid of empty file. Deleted: /python/branches/p3yk/BROKEN == --- /python/branches/p3yk/BROKEN

[Python-3000-checkins] r51569 - in python/branches/p3yk: Lib/test/test_builtin.py Lib/test/test_enumerate.py Lib/test/test_iter.py Lib/test/test_itertools.py Lib/test/test_tuple.py Python/bltinmodule.

2006-08-24 Thread guido.van.rossum
Author: guido.van.rossum Date: Thu Aug 24 21:48:10 2006 New Revision: 51569 Modified: python/branches/p3yk/Lib/test/test_builtin.py python/branches/p3yk/Lib/test/test_enumerate.py python/branches/p3yk/Lib/test/test_iter.py python/branches/p3yk/Lib/test/test_itertools.py python/branc

[Python-3000-checkins] r51572 - in python/branches/p3yk: Lib/test/test_mutants.py Objects/dictobject.c

2006-08-24 Thread guido.van.rossum
Author: guido.van.rossum Date: Thu Aug 24 23:29:26 2006 New Revision: 51572 Modified: python/branches/p3yk/Lib/test/test_mutants.py python/branches/p3yk/Objects/dictobject.c Log: Got test_mutants.py working. One set of changes was straightforward: use __eq__ instead of __cmp__. The other c

[Python-3000-checkins] r51577 - python/branches/p3yk/Objects/codeobject.c python/branches/p3yk/Objects/listobject.c

2006-08-24 Thread guido.van.rossum
Author: guido.van.rossum Date: Fri Aug 25 01:43:52 2006 New Revision: 51577 Modified: python/branches/p3yk/Objects/codeobject.c python/branches/p3yk/Objects/listobject.c Log: Fix a bunch of compiler warnings. In at least one case these were serious bugs! Modified: python/branches/p3yk/Obj

[Python-3000-checkins] r51578 - python/branches/p3yk/Parser/asdl.py python/branches/p3yk/Parser/asdl_c.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 01:44:42 2006 New Revision: 51578 Modified: python/branches/p3yk/Parser/asdl.py python/branches/p3yk/Parser/asdl_c.py Log: Get rid of all two uses of backticks (bad Jeremy!). Modified: python/branches/p3yk/Parser/asdl.py ===

Re: [Python-3000-checkins] r51578 - python/branches/p3yk/Parser/asdl.py python/branches/p3yk/Parser/asdl_c.py

2006-08-24 Thread Neal Norwitz
Would it be better to do '... %r ...' % value, instead of doing repr(value)? n -- On 8/24/06, brett.cannon wrote: > Author: brett.cannon > Date: Fri Aug 25 01:44:42 2006 > New Revision: 51578 > > Modified: >python/branches/p3yk/Parser/asdl.py >python/branches/p3yk/Parser/asdl_c.py > Log:

Re: [Python-3000-checkins] r51578 - python/branches/p3yk/Parser/asdl.py python/branches/p3yk/Parser/asdl_c.py

2006-08-24 Thread Brett Cannon
Possibly.  There are a few other places in the testing suite where there are backticks.  I can change to use %r where appropriate when I check in those removals as well.-Brett On 8/24/06, Neal Norwitz <[EMAIL PROTECTED]> wrote: Would it be better to do '... %r ...' % value, instead of doing repr(va

[Python-3000-checkins] r51582 - python/branches/p3yk/Lib/plat-riscos/riscosenviron.py python/branches/p3yk/Lib/plat-riscos/rourl2path.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 03:00:47 2006 New Revision: 51582 Modified: python/branches/p3yk/Lib/plat-riscos/riscosenviron.py python/branches/p3yk/Lib/plat-riscos/rourl2path.py Log: Remove some uses of '<>'. Modified: python/branches/p3yk/Lib/plat-riscos/riscosenviron.py

[Python-3000-checkins] r51583 - python/branches/p3yk/Lib/plat-sunos5/STROPTS.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 03:02:03 2006 New Revision: 51583 Modified: python/branches/p3yk/Lib/plat-sunos5/STROPTS.py Log: Remove a use of 'as' as a parameter. Modified: python/branches/p3yk/Lib/plat-sunos5/STROPTS.py ===

Re: [Python-3000-checkins] r51583 - python/branches/p3yk/Lib/plat-sunos5/STROPTS.py

2006-08-24 Thread Neal Norwitz
Note the first line of this file is: # Generated by h2py from /usr/include/sys/stropts.h n On 8/24/06, brett.cannon wrote: > Author: brett.cannon > Date: Fri Aug 25 03:02:03 2006 > New Revision: 51583 > > Modified: >python/branches/p3yk/Lib/plat-sunos5/STROPTS.py > Log: > Remove a use of 'a

[Python-3000-checkins] r51584 - python/branches/p3yk/Lib/plat-riscos/riscosenviron.py python/branches/p3yk/Lib/plat-riscos/rourl2path.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 03:06:13 2006 New Revision: 51584 Modified: python/branches/p3yk/Lib/plat-riscos/riscosenviron.py python/branches/p3yk/Lib/plat-riscos/rourl2path.py Log: Even more removals of '<>'; I can hear Barry shedding a manly tear ... Modified: python/branches/p

[Python-3000-checkins] r51585 - python/branches/p3yk/Lib/plat-riscos/riscosenviron.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 03:08:24 2006 New Revision: 51585 Modified: python/branches/p3yk/Lib/plat-riscos/riscosenviron.py Log: For some reason Vim was just not wanting to tell me there was more instances of '<>'. Modified: python/branches/p3yk/Lib/plat-riscos/riscosenviron.py ==

Re: [Python-3000-checkins] r51584 - python/branches/p3yk/Lib/plat-riscos/riscosenviron.py python/branches/p3yk/Lib/plat-riscos/rourl2path.py

2006-08-24 Thread Thomas Wouters
On 8/24/06, brett.cannon wrote: Even more removals of '<>'; I can hear Barry shedding a manly tear ...Not just Barry, although I already shed most of my tears when Guido actually removed <>. >;-< -- Thomas Wouters <[EMAIL PROTECTED]>Hi! I'm a .signature virus! copy

Re: [Python-3000-checkins] r51583 - python/branches/p3yk/Lib/plat-sunos5/STROPTS.py

2006-08-24 Thread Brett Cannon
Well, I obviously don't have that app.  Crap.  Well, I needed to make the change so that I could use compileall to find syntax errors from removing backticks.  I will back out the change.-Brett On 8/24/06, Neal Norwitz <[EMAIL PROTECTED]> wrote: Note the first line of this file is:# Generated by h2

[Python-3000-checkins] r51587 - python/branches/p3yk/Lib/plat-sunos5/STROPTS.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 03:16:12 2006 New Revision: 51587 Modified: python/branches/p3yk/Lib/plat-sunos5/STROPTS.py Log: Back out rev. 51583 as this file is auto-generated. Obviously the program that auto-generates this file will need to get fixed. Modified: python/branches/p3y

[Python-3000-checkins] r51590 - python/branches/p3yk/Modules/cgen.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 04:57:28 2006 New Revision: 51590 Modified: python/branches/p3yk/Modules/cgen.py Log: Remove more '<>' usage. Modified: python/branches/p3yk/Modules/cgen.py == --- python/branches

[Python-3000-checkins] r51591 - in python/branches/p3yk/Lib: idlelib/EditorWindow.py idlelib/HyperParser.py plat-mac/aetypes.py test/list_tests.py test/test_doctest.py test/test_grammar.py test/test_m

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 04:59:59 2006 New Revision: 51591 Modified: python/branches/p3yk/Lib/idlelib/EditorWindow.py python/branches/p3yk/Lib/idlelib/HyperParser.py python/branches/p3yk/Lib/plat-mac/aetypes.py python/branches/p3yk/Lib/test/list_tests.py python/branches

[Python-3000-checkins] r51592 - python/branches/p3yk/Lib/test/test_rfc822.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 05:01:11 2006 New Revision: 51592 Modified: python/branches/p3yk/Lib/test/test_rfc822.py Log: The backtick removal crusade continues ... Modified: python/branches/p3yk/Lib/test/test_rfc822.py ===

[Python-3000-checkins] r51593 - python/branches/p3yk/Lib/test/test_ast.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 05:15:03 2006 New Revision: 51593 Modified: python/branches/p3yk/Lib/test/test_ast.py Log: Don't test AST for backticks. Modified: python/branches/p3yk/Lib/test/test_ast.py == ---

[Python-3000-checkins] r51594 - python/branches/p3yk/Parser/asdl.py python/branches/p3yk/Parser/asdl_c.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 06:06:31 2006 New Revision: 51594 Modified: python/branches/p3yk/Parser/asdl.py python/branches/p3yk/Parser/asdl_c.py Log: Switch to using %r in the format string. Modified: python/branches/p3yk/Parser/asdl.py ==

[Python-3000-checkins] r51595 - python/branches/p3yk/Lib/test/output/test_tokenize

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 06:07:01 2006 New Revision: 51595 Modified: python/branches/p3yk/Lib/test/output/test_tokenize Log: Check in new output for test_tokenize. Modified: python/branches/p3yk/Lib/test/output/test_tokenize ===

[Python-3000-checkins] r51596 - python/branches/p3yk/Lib/test/test_syntax.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 06:12:10 2006 New Revision: 51596 Modified: python/branches/p3yk/Lib/test/test_syntax.py Log: Change test of assignment of backticked expression to be an "invalid syntax" SyntaxError. This is probably not the proper solution to this failing test, but remov

[Python-3000-checkins] r51597 - python/branches/p3yk/Lib/test/test_peepholer.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 06:24:12 2006 New Revision: 51597 Modified: python/branches/p3yk/Lib/test/test_peepholer.py Log: UNARY_CONVERT can no longer be generated, so remove a test for the peepholer optimization for it. Modified: python/branches/p3yk/Lib/test/test_peepholer.py ==

[Python-3000-checkins] r51598 - in python/branches/p3yk: Doc/ref/ref5.tex Grammar/Grammar Lib/tokenize.py Parser/tokenizer.c Python/ast.c Python/compile.c Python/graminit.c

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 06:28:18 2006 New Revision: 51598 Modified: python/branches/p3yk/Doc/ref/ref5.tex python/branches/p3yk/Grammar/Grammar python/branches/p3yk/Lib/tokenize.py python/branches/p3yk/Parser/tokenizer.c python/branches/p3yk/Python/ast.c python/branc

[Python-3000-checkins] r51599 - python/branches/p3yk/Modules/cgen.py

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 06:36:39 2006 New Revision: 51599 Modified: python/branches/p3yk/Modules/cgen.py Log: Remove more '<>' usage. ``python -m compileall -f`` is really handy for finding Python files that use invalid syntax. Modified: python/branches/p3yk/Modules/cgen.py ===

[Python-3000-checkins] r51600 - in python/branches/p3yk: Doc/lib/libdis.tex Include/Python-ast.h Include/opcode.h Lib/compiler/pycodegen.py Lib/opcode.py Parser/Python.asdl Python/Python-ast.c Python/

2006-08-24 Thread brett.cannon
Author: brett.cannon Date: Fri Aug 25 07:05:30 2006 New Revision: 51600 Modified: python/branches/p3yk/Doc/lib/libdis.tex python/branches/p3yk/Include/Python-ast.h python/branches/p3yk/Include/opcode.h python/branches/p3yk/Lib/compiler/pycodegen.py python/branches/p3yk/Lib/opcode.py