[issue14896] plistlib handling of real datatype

2012-05-23 Thread Peter VG
New submission from Peter VG : Since strings cannot reliably be converted to floats and back, plistlib should provide an option to treat the real datatype as strings/data or to use the Decimal library class. Currently, reading and then writing a real value can change its representation in the

[issue13400] packaging: build command should have options to control byte-compilation

2012-05-23 Thread Julien Courteau
Julien Courteau added the comment: It is possible to only change the "frontend" (options: byte-compile, compile, no-byte-compile, optimize) without changing the "backend" (attributes: compile and optimize). This way it is then easy to handle both sets of options (no-byte-compile, byte-compile

[issue12029] Catching virtual subclasses in except clauses

2012-05-23 Thread Jim Jewett
Jim Jewett added the comment: When does the performance hit occur? If it is only when an exception has been raised, and its own class is not listed by the except clause, then I personally wouldn't worry about it; tracing the MRO *could* get arbitrarily long already; it just doesn't in practic

[issue14886] json C vs pure-python implementation difference

2012-05-23 Thread Марк Коренберг
Марк Коренберг added the comment: #!/usr/bin/python2.7 import json class pseudo_list(object): __class__ = list # fake isinstance def __init__(self, iterator): self._saved_iterator = iterator def __iter__(self): return self._saved_iterator class myenc(json.JSONEnc

[issue14886] json C vs pure-python implementation difference

2012-05-23 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-23 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file25655/email6.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue12586] Provisional new email API: new policy implementing custom header objects

2012-05-23 Thread R. David Murray
Changes by R. David Murray : Added file: http://bugs.python.org/file25693/email6.patch ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue11021] email MIME-Version headers for each part in multipart message

2012-05-23 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email -Library (Lib) nosy: +barry ___ Python tracker ___ ___

[issue9874] Message.attach() loses empty attachments

2012-05-23 Thread R. David Murray
R. David Murray added the comment: And now it's been long enough that I lost the email :( -- assignee: r.david.murray -> components: +email -Library (Lib) nosy: +barry versions: +Python 3.3 -Python 3.1 ___ Python tracker

[issue1590744] mail message parsing glitch

2012-05-23 Thread R. David Murray
R. David Murray added the comment: I think I can actually fix this once the patch in issue 14731 is applied. -- assignee: r.david.murray -> components: +email -Library (Lib) dependencies: +Enhance Policy framework in preparation for adding email6 policies as provisional versions: -Py

[issue8898] The email package should defer to the codecs module for all aliases

2012-05-23 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email -Library (Lib) nosy: +barry ___ Python tracker ___ ___

[issue11785] email subpackages documentation problems

2012-05-23 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email nosy: +barry type: -> behavior versions: +Python 2.7 -Python 3.1 ___ Python tracker ___ _

[issue14896] plistlib handling of real datatype

2012-05-23 Thread Ned Deily
Ned Deily added the comment: This should no longer be an issue on most platforms as of Python 2.7 and Python 3.1. Both added a new algorithm such that "the repr() of a floating-point number x now returns a result based on the shortest decimal string that’s guaranteed to round back to x under

[issue6942] email.generator.Generator memory consumption

2012-05-23 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email -Library (Lib) ___ Python tracker ___ ___ Python-bugs-l

[issue968430] error flattening complex smime signed message

2012-05-23 Thread R. David Murray
R. David Murray added the comment: I think if we can fix issue 1590744, this will be completely fixed. -- assignee: r.david.murray -> dependencies: +mail message parsing glitch ___ Python tracker ___

[issue968430] error flattening complex smime signed message

2012-05-23 Thread R. David Murray
Changes by R. David Murray : -- components: +email -Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue968430] error flattening complex smime signed message

2012-05-23 Thread R. David Murray
Changes by R. David Murray : -- versions: -Python 2.7, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14886] json C vs pure-python implementation difference

2012-05-23 Thread Alexey Smirnov
Changes by Alexey Smirnov : -- nosy: +alexey-smirnov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue14877] No option to run bdist_wininst against newer msvc versions on non-windows systems

2012-05-23 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the report. I know little about the wininst code in distutils; can you explain if this is a bug (i.e. bdist_wininst in 2.7 must use wininst-9.0-etc.exe or the installers won’t work) or a feature request (i.e. a new option to allow using newer exe fil

[issue14877] No option to run bdist_wininst against newer msvc versions on non-windows systems

2012-05-23 Thread Aaron Staley
Aaron Staley added the comment: Hi Eric, Quick rundown: There are template 'exe' inside distutils/command. bdist_wininst appends to the template to build a customized installer. First the 64 bit bug: http://bugs.python.org/issue6792 With that bug active, I must be able to make 64 bit window

[issue14897] struct.pack raises unexpected error message

2012-05-23 Thread mesheb82
New submission from mesheb82 : I found some unexpected behavior while working with the struct module. >>> import struct This works as expected: >>> struct.pack('1s1s','3','4') '34' In this case, with bad input, the error message says I need 2 arguments, when I provide 2 arguments. >>> struct.p

[issue14897] struct.pack raises unexpected error message

2012-05-23 Thread mesheb82
mesheb82 added the comment: Also, I tested this on Windows in Python 3.2.3 and Windows in Python 2.7.2 -- ___ Python tracker ___ ___

<    1   2