homepage

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 amaury.forgeotdarc
Recipients Ramchandra Apte, amaury.forgeotdarc, ezio.melotti, harveyang
Date 2012年02月21日.10:28:08
SpamBayes Score 0.024665521
Marked as misclassified No
Message-id <1329820088.69.0.777573084557.issue14068@psf.upfronthosting.co.za>
In-reply-to
Content
When you used str split, you had to use a unicode string:
 content.split(u'。')
It's the same with re.split: when I use
 pattern = re.compile('。')
nothing is split, it works much better with:
 pattern = re.compile(u'。')
History
Date User Action Args
2012年02月21日 10:28:08amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, ezio.melotti, Ramchandra Apte, harveyang
2012年02月21日 10:28:08amaury.forgeotdarcsetmessageid: <1329820088.69.0.777573084557.issue14068@psf.upfronthosting.co.za>
2012年02月21日 10:28:08amaury.forgeotdarclinkissue14068 messages
2012年02月21日 10:28:08amaury.forgeotdarccreate

AltStyle によって変換されたページ (->オリジナル) /