[issue18006] Set thread name in linux kernel

2013-05-19 Thread Charles-François Natali
Charles-François Natali added the comment: It's a dupe of #15500. -- nosy: +neologix resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Python should support naming threads ___ Python tracker

[issue18011] Inconsistency between b32decode() documentation, docstring and code

2013-05-19 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: b32decode() documentation says: A TypeError is raised if s were incorrectly padded or if there are non-alphabet characters present in the string. b32decode() docstring says: binascii.Error is raised if the input is incorrectly padded or if there are

[issue17996] socket module should expose AF_LINK

2013-05-19 Thread Charles-François Natali
Charles-François Natali added the comment: Well, this just needs a patch :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17996 ___ ___

[issue17812] Quadratic complexity in b32encode

2013-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4b5467d997f1 by Serhiy Storchaka in branch '3.3': Issue #17812: Fixed quadratic complexity of base64.b32encode(). http://hg.python.org/cpython/rev/4b5467d997f1 New changeset 1b5ef05d6ced by Serhiy Storchaka in branch 'default': Issue #17812: Fixed

[issue17812] Quadratic complexity in b32encode

2013-05-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: That is why I proposed two patches. -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17812 ___

[issue17812] Quadratic complexity in b32encode

2013-05-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17812

[issue18003] New lzma crazy slow with line-oriented reading.

2013-05-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm against implementing LZMAFile in a pure C. It was a great win that LZMAFile had implemented in a pure Python. However may be we could reuse the existing accelerated implementation of io.BufferedReader. -- ___

[issue18011] Inconsistency between b32decode() documentation, docstring and code

2013-05-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which changes TypeError to binascii.Error in b32decode() and fixes the documentation and tests. -- keywords: +patch stage: - patch review Added file: http://bugs.python.org/file30310/b32decode_exception.patch

[issue18011] Inconsistency between b32decode() documentation, docstring and code

2013-05-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which changes TypeError to binascii.Error in b32decode() and fixes the documentation and tests. -- Added file: http://bugs.python.org/file30311/b32decode_exception.patch ___ Python tracker

[issue18011] Inconsistency between b32decode() documentation, docstring and code

2013-05-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- Removed message: http://bugs.python.org/msg189577 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18011 ___

[issue18011] Inconsistency between b32decode() documentation, docstring and code

2013-05-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file30311/b32decode_exception.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18011 ___

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-19 Thread Nick Coghlan
Nick Coghlan added the comment: I like this, both because it quite clearly defines the encode and decode directions, and allows notes the more direct entry points if the codec isn't being specified as an input string. So +1 from me. -- ___ Python

[issue17844] Add link to alternatives for bytes-to-bytes codecs

2013-05-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Not a bad idea. More information is always better when it comes to documentation :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17844 ___

[issue17839] base64 module should use memoryview

2013-05-19 Thread Nick Coghlan
Nick Coghlan added the comment: Oops, my review comments don't actually make sense because I looked at the patch in isolation, rather than checking the full context in the module. Sorry about that. We have 2 different cases to deal with, only one of which currently has a helper function. I

[issue17085] test_socket crashes the whole test suite

2013-05-19 Thread Etienne Robillard
Etienne Robillard added the comment: since TIPC is silently included in python 2.7.3 and recents kernel memory leaks were found in the linux TIPC kernel code, could this result in info disclosure in python when compiled with TIPC ? does the kernel module needs to be loaded to exploit the

[issue12082] Python/import.c still references fstat even with DONT_HAVE_FSTAT/!HAVE_FSTAT

2013-05-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: For those of you who are concerned with this issue, could you explain your use case on the following discussion thread: http://mail.python.org/pipermail/python-dev/2013-May/126285.html ? I would personally like to remove HAVE_FSTAT and make Python

[issue16805] when building docs on Debian 7 -- ERROR: Error in note directive

2013-05-19 Thread R. David Murray
R. David Murray added the comment: Tshepang: see the 'Development Cycle' section of the devguide. Only security related commits are allowed to security branches, and since the docs are part of the source tree, that means no doc commits. One reason for this is the same reason we only have

[issue10766] optparse uses %s in gettext calls

2013-05-19 Thread R. David Murray
R. David Murray added the comment: The #4391 fixes were only applied to the development branch. So these could be applied to 3.4 at this point, but not 3.3. -- nosy: +r.david.murray status: - open versions: +Python 3.4 -Python 3.3 ___ Python

[issue11011] More functools functions

2013-05-19 Thread R. David Murray
R. David Murray added the comment: By my reading compose was also rejected, so I'm going to close this. (See issue 1506122 for one previous rejection of compose.) -- nosy: +r.david.murray resolution: - rejected stage: - committed/rejected status: open - closed type: - enhancement

[issue9856] Change object.__format__(s) where s is non-empty to a TypeError

2013-05-19 Thread R. David Murray
R. David Murray added the comment: Since Eric indicated he'd close this unless someone felt strongly that the status quo should be changed, and the arguments are in favor of *maintaining* the status quo, I'm going to close this for him :) -- nosy: +r.david.murray resolution: - fixed

[issue16805] when building docs on Debian 7 -- ERROR: Error in note directive

2013-05-19 Thread Tshepang Lekhonkhobe
Tshepang Lekhonkhobe added the comment: @murray thanks for the clarification; I saw that part of the devguide, but wasn't sure if doc fixes/improvements were exempt (even if not mentioned) -- ___ Python tracker rep...@bugs.python.org

[issue17085] test_socket crashes the whole test suite

2013-05-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: ddvento, I'm afraid you'll have to diagnose a bit more by tracing what happens during test_sendall_interrupted and test_sendall_interrupted_with_timeout. These test cases have a legitimate use for arming an alarm signal, but for some reason it seems the

[issue11995] test_pydoc loads all Python modules

2013-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 58ace614df6b by Antoine Pitrou in branch '3.3': Issue #11995: test_pydoc doesn't import all sys.path modules anymore. http://hg.python.org/cpython/rev/58ace614df6b New changeset 13d817cb72e7 by Antoine Pitrou in branch 'default': Issue #11995:

[issue11995] test_pydoc loads all Python modules

2013-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 68d2337688c1 by Antoine Pitrou in branch '2.7': Issue #11995: test_pydoc doesn't import all sys.path modules anymore. http://hg.python.org/cpython/rev/68d2337688c1 -- ___ Python tracker

[issue11995] test_pydoc loads all Python modules

2013-05-19 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- resolution: - fixed stage: - committed/rejected status: open - closed versions: -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11995

[issue4470] smtplib SMTP_SSL not working.

2013-05-19 Thread Torsten Bronger
Torsten Bronger added the comment: For five Ubuntu releases now, I apply this patch. In contrast to Catalin's statement, it is not solved for me unless the upstream changes of two years ago haven't yet found their way into Ubuntu. I'm currently using Python 2.7.4 on Ubuntu 13.04. That

[issue18003] New lzma crazy slow with line-oriented reading.

2013-05-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: I second Serhiy here. Wrapping the LZMAFile in a BufferedReader is the simple solution to the performance problem: ./python -m timeit -s import lzma, io f=lzma.LZMAFile('words.xz', 'r') for line in f: pass 10 loops, best of 3: 148 msec per loop $ ./python

[issue4470] smtplib SMTP_SSL not working.

2013-05-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: When you say I apply this patch, you mean smtplib_05_shutdown_socket_v2.patch, right? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4470 ___

[issue4470] smtplib SMTP_SSL not working.

2013-05-19 Thread Antoine Pitrou
Antoine Pitrou added the comment: In any case, I'm growing wary of bugfix regressions right now, so I would only apply the patch on the default branch. -- versions: +Python 3.4 -Python 2.6, Python 2.7, Python 3.1, Python 3.2 ___ Python tracker

[issue18012] cannot assign unicode keys to SimpleCookie

2013-05-19 Thread Florent Xicluna
New submission from Florent Xicluna: from Cookie import SimpleCookie cookie = SimpleCookie() cookie[u'apple'] = u'green' Traceback (most recent call last): File stdin, line 1, in module File /usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/Cookie.py,

[issue18012] cannot assign unicode keys to SimpleCookie

2013-05-19 Thread R. David Murray
R. David Murray added the comment: Python2 tends to document where unicode *is* supported, rather than where it is not. And why would a TypeError be incorrect if the unicode type is not supported? I do not think it likely that this falls into the 'bug' category at this point in the Python2

[issue4470] smtplib SMTP_SSL not working.

2013-05-19 Thread Torsten Bronger
Torsten Bronger added the comment: Sorry, after having had another look at it, I realised that I have a different SSMTP issue now, non-Python-related. So for me, Ubuntu 13.04 indeed solves my old issue. -- ___ Python tracker rep...@bugs.python.org

[issue18012] cannot assign unicode keys to SimpleCookie

2013-05-19 Thread Florent Xicluna
Florent Xicluna added the comment: you're right, this behavior is documented. u'read this short text'.translate(None, 'aeiou') Traceback (most recent call last): File stdin, line 1, in module TypeError: translate() takes exactly one argument (2 given)

[issue5811] io.BufferedReader.peek(): Documentation differs from Implementation

2013-05-19 Thread Mark Lawrence
Mark Lawrence added the comment: Looks like this has slipped under the radar. I'll leave working on it to the experts :) -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5811

[issue6237] Build errors when using LDFLAGS=-Wl,--no-undefined

2013-05-19 Thread Mark Lawrence
Mark Lawrence added the comment: Is this build issue still a problem some four years on? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6237 ___

[issue3559] Pasted \n not same as typed \n

2013-05-19 Thread Mark Lawrence
Mark Lawrence added the comment: Could we borrow code from the ipython %paste command? This issue is also referenced from #5124. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3559

[issue2276] distutils out-of-date for runtime_library_dirs flag on OS X

2013-05-19 Thread Mark Lawrence
Mark Lawrence added the comment: Is this still a problem or not? If yes what can be done about it? If no can we close it? -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2276

[issue3559] Pasted \n not same as typed \n

2013-05-19 Thread Roger Serwy
Roger Serwy added the comment: The core problem is that IDLE only executes the shell buffer when the newline-and-indent virtual event gets sent by physically pressing the Enter key. Pasting the clipboard contents with \n will not trigger the enter_callback function in Lib/idlelib/PyShell.py.

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-19 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- versions: -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17988 ___ ___ Python-bugs-list

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 16a03959819a by Eli Bendersky in branch 'default': Issue #17988: remove unused alias for Element and rename the used one http://hg.python.org/cpython/rev/16a03959819a -- nosy: +python-dev ___ Python

[issue17988] ElementTree.Element != ElementTree._ElementInterface

2013-05-19 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17988 ___

[issue18003] New lzma crazy slow with line-oriented reading.

2013-05-19 Thread Michael Fox
Michael Fox added the comment: io.BufferedReader works well for me. Thanks for the good suggestion. Now python 3.3 and 3.4 have similar performance to each other and they are only 2x slower than pyliblzma. From my perspective default wrapping with io.BufferedReader is a great idea. I can't

[issue6294] Improve shutdown exception ignored message

2013-05-19 Thread Shriramana Sharma
Changes by Shriramana Sharma samj...@gmail.com: -- nosy: +jamadagni ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6294 ___ ___ Python-bugs-list

[issue14097] Improve the introduction page of the tutorial

2013-05-19 Thread Ezio Melotti
Ezio Melotti added the comment: Here is an updated patch. -- Added file: http://bugs.python.org/file30312/issue14097-3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14097 ___

[issue14097] Improve the introduction page of the tutorial

2013-05-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please restore the section A value can be assigned to several variables simultaneously. This is easy to teach in this context and there's no other good place to put it. Also, I'm unclear why you took out the Mark Lemburg's section on Unicode. --

[issue14097] Improve the introduction page of the tutorial

2013-05-19 Thread Ezio Melotti
Ezio Melotti added the comment: Please restore the section A value can be assigned to several variables simultaneously. The reason for removing it are: * generally it's not really useful/used IMHO; * it has potentially confusing side effects (e.g. x = y = 0 is the same as x = 0; y = 0, but

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-05-19 Thread Florent Xicluna
New submission from Florent Xicluna: Trying to parse the W3C sample, it fails in 3.3 (while it passes on 2.7). http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4 (last example) Content-Type: multipart/form-data; boundary=AaB03x --AaB03x Content-Disposition: form-data;

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-05-19 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18013 ___

[issue15535] Fix pickling efficiency of named tuples in 2.7.3

2013-05-19 Thread Anselm Kruis
Anselm Kruis added the comment: why the different fix for 3.3 I reverted the 2.7.4 addition of __dict__ rather than introduce more differences between point releases with possible unintended effects. __dict__ was a 2.7.3 addition (changeset 26d5f022eb1a). Now unpickling of named tuples

[issue18003] New lzma crazy slow with line-oriented reading.

2013-05-19 Thread Nadeem Vawda
Nadeem Vawda added the comment: I agree that making lzma.open() wrap its return value in a BufferedReader (or BufferedWriter, as appropriate) is the way to go. I'm currently travelling and don't have my SSH key with me - Serhiy, can you make the change? I'll put together a documentation patch

[issue18014] Problem compiling on Windows, VC++Express 2010

2013-05-19 Thread Terry J. Reedy
New submission from Terry J. Reedy: 64-bit Win 7 Professional, using default F7 debug build -- F7 Running as normal user, not admin. 3.4: built Thursday, Saturday; failed Wednesday, Friday, today Sunday. 7 cl.exe -c -D_WIN32 -DUSE_DL_EXPORT -D_WINDOWS -DWIN32 -D_WINDLL -D_DEBUG -MDd

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-05-19 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18013 ___ ___

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-05-19 Thread Florent Xicluna
Florent Xicluna added the comment: At first glance it seems related to rev d864328a74e4 , issue 4953 The check on self.bytes_read = self.length returns True because length == -1. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-05-19 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18013 ___ ___

[issue18015] python 2.7.5 fails to unpickle namedtuple pickled by 2.7.3 or 2.7.4

2013-05-19 Thread Anselm Kruis
New submission from Anselm Kruis: Change 18303391b981 breaks unpickling named tuples pickled by 2.7.3 and 2.7.4. See closed issue #15535 for the full story. Unfortunately Raymond was wrong, when he wrote that the addition of __dict__ was a 2.7.4 change. It was added by changeset 26d5f022eb1a

[issue16805] when building docs on Debian 7 -- ERROR: Error in note directive

2013-05-19 Thread Éric Araujo
Éric Araujo added the comment: An additional reason is that docs of branches in security mode are not rebuilt and published, so changes would be useless. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16805

[issue18003] New lzma crazy slow with line-oriented reading.

2013-05-19 Thread Nadeem Vawda
Nadeem Vawda added the comment: I agree that making lzma.open() wrap its return value in a BufferedReader (or BufferedWriter, as appropriate) is the way to go. On second thoughts, there's no need to change the behavior for mode='wb'. We can just return a BufferedReader for mode='rb', and

[issue4470] smtplib SMTP_SSL not working.

2013-05-19 Thread R. David Murray
R. David Murray added the comment: Lorenzo, any chance you could supply a unit test that fails without smtplib_05_shutdown_socket.diff applied? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4470

[issue18013] cgi.FieldStorage does not parse W3C sample

2013-05-19 Thread Florent Xicluna
Florent Xicluna added the comment: This seems to fix it. -- stage: needs patch - patch review Added file: http://bugs.python.org/file30314/patch_multipart_w3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18013

[issue4470] smtplib SMTP_SSL not working.

2013-05-19 Thread Lorenzo M. Catucci
Lorenzo M. Catucci added the comment: On Sun, 19 May 2013, R. David Murray wrote: RDM RDM R. David Murray added the comment: RDM RDM Lorenzo, any chance you could supply a unit test that fails without RDM smtplib_05_shutdown_socket.diff applied? RDM It would really be a functional test,

[issue7146] [PATCH] platform.uname()[4] returns 'amd64' on Windows and 'x86-64' on Linux

2013-05-19 Thread Mark Lawrence
Mark Lawrence added the comment: It appears from previous comments that this is not needed so can be closed. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7146 ___

[issue7262] codecs.open() + eol (windows)

2013-05-19 Thread Mark Lawrence
Mark Lawrence added the comment: The docs still read the same. Would someone in the know like to propose a doc patch please. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7262

[issue17973] FAQ entry for: '+=' on a list inside tuple both succeeds and raises an exception

2013-05-19 Thread R. David Murray
R. David Murray added the comment: Mark, I rather like your suggestion. Do you think Guido will go for it? :) In the meantime, I've attached a rewritten version of Ronald's FAQ entry. I think the FAQ is why it fails when the extend succeeds, not why assigning to a tuple raises an error, so

[issue7146] platform.uname()[4] returns 'amd64' on Windows and 'x86-64' on Linux

2013-05-19 Thread R. David Murray
R. David Murray added the comment: Right, Marc-Andre indicates that cross-platform consistency is not a goal of the platform uname. If someone wants to propose a patch for the possible enhancement to platform that Marc-Andre talked about, they can open a new issue. -- nosy:

[issue18016] subprocess should open stdin in mode w+b on windows

2013-05-19 Thread Jason Gross
New submission from Jason Gross: Files opened on Windows in mode 'wb' have a limit on the number of characters that can be written to them (at once?); attempting to write too many bytes gives the confusing error “IOError: [Errno 22] Invalid argument”. See

[issue15392] Create a unittest framework for IDLE

2013-05-19 Thread Guilherme Simões
Changes by Guilherme Simões gdsimoe...@gmail.com: -- nosy: +Guilherme.Simões ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15392 ___ ___

[issue17989] ElementTree.Element broken attribute setting

2013-05-19 Thread Joe Stuart
Joe Stuart added the comment: Looks like a typo in arbitrary. AttributeError: Can't set arbitraty attributes on Element -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17989 ___

[issue13657] IDLE doesn't support sys.ps1 and sys.ps2.

2013-05-19 Thread Alejandro Rodas
Alejandro Rodas added the comment: I have reviewed the patch, and apart from setting the promt, I think it would be possible to set it at the beginning with the same approach: def getprompt(self): self.interp.runcommand(textwrap.dedent(\ try: print(sys.ps1,

[issue17989] ElementTree.Element broken attribute setting

2013-05-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- resolution: fixed - stage: committed/rejected - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17989

[issue15535] Fix pickling efficiency of named tuples in 2.7.3

2013-05-19 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- priority: release blocker - normal resolution: fixed - status: closed - open versions: -Python 3.2, Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue18003] New lzma crazy slow with line-oriented reading.

2013-05-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18003 ___

[issue18015] python 2.7.5 fails to unpickle namedtuple pickled by 2.7.3 or 2.7.4

2013-05-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18015 ___

[issue15392] Create a unittest framework for IDLE

2013-05-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was really sure that 'python_d -m test' worked a week ago, in the sense that test_idle was run without incident in its proper alphabetical sequence, before I said so and uploaded the patch. Now, there are (different) error messages with both 'python_d -m

[issue18015] python 2.7.5 fails to unpickle namedtuple pickled by 2.7.3 or 2.7.4

2013-05-19 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18015 ___ ___

[issue17989] ElementTree.Element broken attribute setting

2013-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 65680e3a7f07 by Eli Bendersky in branch '3.3': Issue #17989: fix typo in error message http://hg.python.org/cpython/rev/65680e3a7f07 New changeset 19767536ce84 by Eli Bendersky in branch 'default': Issue #17989: fix typo in error message

[issue17989] ElementTree.Element broken attribute setting

2013-05-19 Thread Eli Bendersky
Changes by Eli Bendersky eli...@gmail.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17989 ___

[issue18017] ctypes.PyDLL documentation

2013-05-19 Thread Marc Brünink
New submission from Marc Brünink: The documentation for is not very clear regarding the usage of CDLL and PyDLL. Especially it is not obvious that you should use PyDLL whenever you call any function of the Python/C API. Since calling a Python/C API function without owning the GIL will most

[issue18018] SystemError: Parent module '' not loaded, cannot perform relative import

2013-05-19 Thread Florent Xicluna
New submission from Florent Xicluna: When executing a submodule, there's a SystemError in 3.3 where we used to receive a ValueError. mkdir marsu touch marsu/__init__.py echo from .houba import bi marsu/pilami.py ./python marsu/pilami.py Traceback (most recent call last): File

[issue14097] Improve the introduction page of the tutorial

2013-05-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: Please add the x = y = z = 0 example back. It doesn't improve the tutorial to dumb it down or to leave out basic knowledge. You may not like the feature but it is a long standing part of the core language. --

[issue18019] dictionary views lead to segmentation fault

2013-05-19 Thread Marcin Szamotulski
New submission from Marcin Szamotulski: This simple snipet will crash python: d={} v=d.viewvalues() k=d.viewkeys() d[v]=k k Segmentation fault I am using python2.7. Python3.2 does not have views while .keys() and .values() methods raise RuntimeError: maximum recursion depth exceeded,

[issue14097] Improve the introduction page of the tutorial

2013-05-19 Thread Ezio Melotti
Ezio Melotti added the comment: Is it OK if I add it back to the next page, when I explain object identity? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14097 ___

[issue18015] python 2.7.5 fails to unpickle namedtuple pickled by 2.7.3 or 2.7.4

2013-05-19 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file30316/nt_pickle_fix.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18015

[issue14097] Improve the introduction page of the tutorial

2013-05-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: Is it OK if I add it back to the next page, when I explain object identity? Yes. That would work. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14097

[issue18019] dictionary views lead to segmentation fault

2013-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3568f8f1ccac by Benjamin Peterson in branch '2.7': add missing NULL check (closes #18019) http://hg.python.org/cpython/rev/3568f8f1ccac -- nosy: +python-dev resolution: - fixed stage: - committed/rejected status: open - closed

[issue18018] SystemError: Parent module '' not loaded, cannot perform relative import

2013-05-19 Thread Nick Coghlan
Nick Coghlan added the comment: For the specific case given, both error messages are misleading anyway - the problem is attempting to directly execute a module inside a package instead of using -m. However, for the case of attempting a relative import from a top level module, the old message

[issue18018] SystemError: Parent module '' not loaded, cannot perform relative import

2013-05-19 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18018 ___

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2013-05-19 Thread Greg Couch
Greg Couch added the comment: We still apply that patch to the Python that we embed in our application and have for the last 10 years :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue734176

[issue14097] Improve the introduction page of the tutorial

2013-05-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset 796d1371605d by Ezio Melotti in branch '3.3': #14097: improve the introduction page of the tutorial. http://hg.python.org/cpython/rev/796d1371605d New changeset 42dda22a6f8c by Ezio Melotti in branch 'default': #14097: merge with 3.3.

[issue9951] introduce bytes.hex method

2013-05-19 Thread Martin Panter
Changes by Martin Panter vadmium...@gmail.com: -- nosy: +vadmium ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9951 ___ ___ Python-bugs-list