Message131097
| Author |
Neil Muller |
| Recipients |
Neil Muller, georg.brandl, pitrou, skip.montanaro, skrah |
| Date |
2011年03月16日.10:28:21 |
| SpamBayes Score |
3.9945826e-06 |
| Marked as misclassified |
No |
| Message-id |
<1300271303.75.0.206974968351.issue11439@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This also affects a number of files under Lib, including some that set their version using "$Revision$".
Since I stumbled on this issue by encountering some code that checks the version string in tkinker breaking, this is an issue that can break existing code.
Mercurial does have the keyword extension (http://mercurial.selenic.com/wiki/KeywordExtension) which can provide something similar, but should be some sort of recommended configuration for this and there'll be discrepancies between the id's from svn and mercurial (which may or may not be an issue in practice).
find ./Lib -name "*.py" | xargs grep -n '"\$Revision\$"'
./Lib/tarfile.py:32:__version__ = "$Revision$"
./Lib/pydoc.py:45:__version__ = "$Revision$"
./Lib/tkinter/__init__.py:33:__version__ = "$Revision$"
./Lib/pickle.py:26:__version__ = "$Revision$" # Code version |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年03月16日 10:28:23 | Neil Muller | set | recipients:
+ Neil Muller, skip.montanaro, georg.brandl, pitrou, skrah |
| 2011年03月16日 10:28:23 | Neil Muller | set | messageid: <1300271303.75.0.206974968351.issue11439@psf.upfronthosting.co.za> |
| 2011年03月16日 10:28:21 | Neil Muller | link | issue11439 messages |
| 2011年03月16日 10:28:21 | Neil Muller | create |
|