You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
2to3 to simultaneously do code and doctests #53519
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-10-20.22:34:55.564>created_at=<Date2010-07-16.15:48:43.871>labels= ['type-feature', 'expert-2to3']
title='2to3 to simultaneously do code and doctests'updated_at=<Date2021-10-20.22:43:27.197>user='https://github.com/tiagoantao'
Activity
tiagoantao commentedon Jul 16, 2010
Currently 2to3 has to be called twice in order to do a full code conversion: one for the code and another for the doctests.
Would it be possible to do both things simultaneously (on passing a flag)?
It would be nice if distutils.command.build_py.build_py_2to3 would also have this functionality (ie a single pass for both code and docutils)
Thanks
[-]2to to simultaneously do code AND doctests[/-][+]2to3 to simultaneously do code AND doctests[/+]merwok commentedon Jun 14, 2011
For the 2to3 support in the new packaging module (successor of distutils), we even do three passes: code, docstrings and doctest files.
[-]2to3 to simultaneously do code AND doctests[/-][+]2to3 to simultaneously do code and doctests[/+]