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 facundobatista
Recipients facundobatista, mark.dickinson, phd
Date 2008-03-25.15:51:08
SpamBayes Score 0.1224161
Marked as misclassified No
Message-id <1206460269.31.0.866325135242.issue2482@psf.upfronthosting.co.za>
In-reply-to
Content
Decimal needs to grow something like the following near the top of the
module:

try:
  _bytes = bytes
except NameError: # 2.5 or earlier
  _bytes = str

and then use _bytes instead of str as appropriate throughout the rest of
the module.

This will solve the actual problem, and scales well with 2.6 and 3k.
History
Date User Action Args
2008-03-25 15:51:09facundobatistasetspambayes_score: 0.122416 -> 0.1224161
recipients: + facundobatista, phd, mark.dickinson
2008-03-25 15:51:09facundobatistasetspambayes_score: 0.122416 -> 0.122416
messageid: <1206460269.31.0.866325135242.issue2482@psf.upfronthosting.co.za>
2008-03-25 15:51:08facundobatistalinkissue2482 messages
2008-03-25 15:51:08facundobatistacreate