[issue21092] json serializer implicitly stringifies non-string keys

2014-03-28 Thread Chris Rebert
New submission from Chris Rebert: Python 3.3.4 (default, Feb 21 2014, 18:00:34) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from json import dumps >>> dumps({True: True, False: False, None: None, 42:

[issue21093] ctypes test_macholib fails if libz is not installed in /usr/lib

2014-03-28 Thread Nullpex
New submission from Nullpex: I'm compiling on a Mac OS X 10.9.2. Python version 3.4.0. My libz --prefix is $HOME so the library is in $HOME/lib/ The issue is line 53 of Lib/ctypes/test/test_macholib.py which has /usr/lib/libz.1 hardcoded:

[issue19711] add test for changed portions after reloading a namespace package

2014-03-28 Thread Eric Snow
Eric Snow added the comment: Here's a patch that adds the test. However, the test is failing and my gut's telling me it's a legitimate failure. I'll verify as soon as I have a chance and open a new issue if it is legit (i.e. a regression in 3.4, albeit an unlikely corner case). Thanks for s

[issue21094] sqlite3 CheckOpcodeCount fails with AssertionError: 5 not greater than 5

2014-03-28 Thread Nullpex
New submission from Nullpex: This is the only sqlite3 test that fails: Re-running test 'test_sqlite' in verbose mode test_sqlite: testing with version '2.6.0', sqlite_version '3.8.4.2' CheckAPILevel (sqlite3.test.dbapi.ModuleTests) ... ok CheckDataError (sqlite3.test.dbapi.ModuleTests) ... ok Ch

[issue20895] Add bytes.empty_buffer and deprecate bytes(17) for the same purpose

2014-03-28 Thread Nick Coghlan
Nick Coghlan added the comment: The fill() name makes more sense for the bytearray variant, it is just provided on bytes as well for consistency. As Serhiy notes above, the current behaviour is almost certainly just a holdover from the original "mutable bytes" design that didn't survive into t

[issue21093] ctypes test_macholib fails if libz is not installed in /usr/lib

2014-03-28 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. It seems to me this is a very rare case here: since libz is supplied by OS X, it would be untypical for someone building Python to supply their own version in $HOME/lib. But, further, the point of the test is not to find the copy of libz th

[issue21095] EmailMessage should support Header objects

2014-03-28 Thread Brandon Rhodes
New submission from Brandon Rhodes: Currently, the new wonderful EmailMessage class ignores the encoding specified in any Header objects that are provided to it. import email.message, email.header m = email.message.Message() m['Subject'] = email.header.Header('Böðvarr'.encode('latin-1'), 'latin

[issue1544102] ctypes unit test fails (test_macholib.py) under MacOS 10.4.7

2014-03-28 Thread Ned Deily
Ned Deily added the comment: FYI: The analysis in Issue21093 suggests a probable failure cause: a local copy of libz in either $HOME/lib or /usr/local/lib. -- ___ Python tracker _

[issue21094] sqlite3 CheckOpcodeCount fails with AssertionError: 5 not greater than 5

2014-03-28 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> duplicate status: open -> closed superseder: -> test_sqlite fails with SQLite 3.8.4 ___ Python tracker ___

[issue21074] Too aggressive constant folding

2014-03-28 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue19697] Document the possible values for __main__.__spec__

2014-03-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0427c2ff653d by Nick Coghlan in branch '3.4': Issue #19697: document more __main__.__spec__ quirks http://hg.python.org/cpython/rev/0427c2ff653d New changeset a90254be2da2 by Nick Coghlan in branch 'default': Issue #19697: merge docs from 3.4 http:/

[issue5305] imaplib should support international mailbox names

2014-03-28 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea versions: +Python 3.5 -Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list m

[issue5305] imaplib should support international mailbox names

2014-03-28 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Being bitten by this today. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5305] imaplib should support international mailbox names

2014-03-28 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Point 2 of cfraire message is a big issue. What about leaving this problem to the library user simply providing two helper functions in the module to encode/decode mUTF-7?. -- ___ Python tracker

[issue21074] Too aggressive constant folding

2014-03-28 Thread Alex Gaynor
Changes by Alex Gaynor : -- nosy: +alex ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org

[issue5305] imaplib should support international mailbox names

2014-03-28 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Or a new encoder/decoder in "codecs" module. -- ___ Python tracker ___ ___ Python-bugs-list mailing

<    1   2