[issue2838] Mercurial monkey path breaking python string behavior

Greg Von Kuster bugs at mercurial.selenic.com
Tue May 31 12:45:05 CDT 2011


New submission from Greg Von Kuster <greg at bx.psu.edu>:

It seems that a monkey patch in the mercurial code is breaking the behavior 
of Python string.

Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> import string
>>> string.letters
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
>>> from mercurial import ui
>>> string.letters
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
>>>

----------
messages: 16423
nosy: greg_vonkuster
priority: bug
status: unread
title: Mercurial monkey path breaking python string behavior

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2838>
____________________________________________________


More information about the Mercurial-devel mailing list