Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

Generally, we don't make changes that would break existing code relying on the 
documented and tested behavior.

If you would like to propose a new method, the python-ideas mailing list would 
be a good place to start.

>>> s[len('mailto:'):] if s.startswith('mailto:') else s
'ma...@gmail.com'

----------
nosy: +rhettinger
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type: behavior -> enhancement
versions:  -Python 2.7, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36410>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to