[issue6498] Py_Main() does not return on SystemExit

2011-03-27 Thread Rogi
Rogi added the comment: @mhammond Wat did you say? I tried to fix this issue at teh time with no success. It would require too much rewriting. I have not found any way to handle exceptions at C level using this function up to teh present time. --

[issue11687] distutils register does not work from the command line

2011-03-27 Thread Brian Curtin
Brian Curtin added the comment: In the end, this is a duplicate of #11272 -- it's not specific to distutils but this is where the issue pops up. input() in 3.2.0 isn't working properly so you won't be able to run the register command. This is fixed for 3.2.1 In the meantime, you can run the r

[issue1690608] email.utils.formataddr() should be rfc2047 aware

2011-03-27 Thread R. David Murray
R. David Murray added the comment: Thanks. Looks good except that it should check isinstance(string) rather than isinstance(Charset), that way someone can pass a custom class that implements the Charset API if they want. (Alternatively, the check could be for an encode_header method...actua

[issue11549] Rewrite peephole to work on AST

2011-03-27 Thread Nick Coghlan
Nick Coghlan added the comment: OK, I missed the fact that the new optimisation pass isn't run under PyCF_ONLY_AST. However, as Eugene picked up, my concern is actually with the collapsing of Str/Num/Bytes/Ellipsis into the new Lit node, and the changes to the way None/True/False are handled

<    1   2