This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author py.user
Recipients docs@python, ezio.melotti, mrabarnett, py.user, r.david.murray, terry.reedy
Date 2012-04-15.03:58:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334462311.71.0.967949320169.issue14519@psf.upfronthosting.co.za>
In-reply-to
Content
the same problem in the %o analog

valid strings for the %x specifier of scanf():
"+0xabc"
"-0xabc"
"+abc"
"-abc"

valid strings for the %o specifier of scanf():
"+0123"
"-0123"
"+123"
"-123"

how to patch
the %x specifier:
0[xX][\dA-Fa-f]+   ->   [-+]?(0[xX])?[\dA-Fa-f]+
the %o specifier:
0[0-7]*            ->   [-+]?[0-7]+
History
Date User Action Args
2012-04-15 03:58:31py.usersetrecipients: + py.user, terry.reedy, ezio.melotti, mrabarnett, r.david.murray, docs@python
2012-04-15 03:58:31py.usersetmessageid: <1334462311.71.0.967949320169.issue14519@psf.upfronthosting.co.za>
2012-04-15 03:58:31py.userlinkissue14519 messages
2012-04-15 03:58:31py.usercreate