[Python-3000] 2to3: update? doc?

Terry Reedy tjreedy at udel.edu
Mon Jun 30 00:01:16 CEST 2008



Martin v. Löwis wrote:
> Terry Reedy wrote:
>> WinXP 3.0
specifically .0b1
>> lib2to3 has grammar3.0.0.alpha.4.pickle
> 
> What do you mean by "has"?

The standard sense of 'directory has file'

Directory of C:\Program Files\Python30\Lib\lib2to3

06/19/2008  10:57 PM    <DIR>          .
06/19/2008  10:57 PM    <DIR>          ..
06/19/2008  01:03 PM             6,589 fixer_base.py
06/19/2008  01:03 PM            12,518 fixer_util.py
06/19/2008  10:57 PM    <DIR>          fixes
04/02/2008  12:53 PM             6,418 Grammar.txt
05/09/2008  05:07 PM            20,187 Grammar3.0.0.alpha.4.pickle
04/02/2008  12:53 PM             6,714 patcomp.py
04/02/2008  12:53 PM               821 PatternGrammar.txt
06/19/2008  10:57 PM    <DIR>          pgen2
04/02/2008  12:53 PM             1,017 pygram.py
05/08/2008  09:07 AM            25,573 pytree.py
06/19/2008  01:03 PM            22,345 refactor.py
06/19/2008  10:57 PM    <DIR>          tests
06/19/2008  01:03 PM                 8 __init__.py
               10 File(s)        102,190 bytes

> What did you do,
Nothing relevant

> what did you expect to happen instead?
To see Grammar3.0.0.beta.1.pickle or nothing like that at all.

> The MSI file should have installed no .pickle files whatsoever.
Well, there it is, timestamped early May ;-)

>> was nothing updated for the beta?
>> or did grammar3.0.0.beta.a.pickle only make 2.6b1?
>>
>> I cannot find any doc in the libref (it would belong, I believe, in
>> Development Tools).  Intentional? Not done yet?
> 
> Why would you think this file deserves any mentioning in the
> documentation at all?

'Doc' refers to documentation for (lib)2to3 (see subject line), not the 
surprising g...pickle.  I expected mention of the former because

1. All other modules and packages in Lib seem to be in the Lib. Ref..
2. 2to3 is for developer-users as well as core developers.
3. The lib2to3/refactor.py doc string says it is meant to be used.

tjr



More information about the Python-3000 mailing list