[issue12522] Implement `os.startfile` under Linux and Mac

2011-07-11 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12531] documentation index entries for * and **

2011-07-11 Thread Eli Bendersky
Changes by Eli Bendersky : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12434] Strengthen 2.7 io types warning

2011-07-11 Thread Eli Bendersky
Eli Bendersky added the comment: In my opinion, it's the error messages and docstrings that should be changed, not the documentation. This module was introduced in 2.6 and moves on to 2.7, and there's no reason to have it throw confusing errors for the sake of easier back-patching from 3.x H

[issue4376] Nested ctypes 'BigEndianStructure' fails

2011-07-11 Thread Vlad Riscutia
Vlad Riscutia added the comment: Also added diff for fix: - Implemented proposed issubclass(typ, Structure) solution - Refactored _other_endian function because we used to getattr, catch exception, then check if type is array/structure. I believe exception throwing should not be on normal cod

[issue12434] Strengthen 2.7 io types warning

2011-07-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: My original suggestion is a minimal change suggestion. I do not have much opinion on what the maximum change 'should' be. It would obviously be nice from a user viewpoint if the error message were backported to say "unicode argument expected, got 'str'". Then

[issue12485] textwrap.wrap: new argument for more pleasing output

2011-07-11 Thread Tyler Romeo
Changes by Tyler Romeo : Removed file: http://bugs.python.org/file22573/textwrap.py-new-algorithm-2011-07-04_22-45-53_r71219+.diff ___ Python tracker ___ ___

[issue12485] textwrap.wrap: new argument for more pleasing output

2011-07-11 Thread Tyler Romeo
Tyler Romeo added the comment: OK, sorry to get back so late, but here's the updated patch without xrange. I saw the version change but forgot that I used xrange in the function (old habits I guess). -- Added file: http://bugs.python.org/file22626/textwrap.py-beautiful-2011-07-11_22-

[issue12279] Add build_distinfo command to packaging

2011-07-11 Thread Carl Meyer
Carl Meyer added the comment: You guys are more familiar with the codebase than I am, but it seems to me that the RECORD file should clearly either be not present or empty when metadata has been built but not yet installed. I don't really think the "invalid PEP 376" issue is a problem: PEP 37

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-11 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file22625/115c0c10b3ba.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-11 Thread Thomas Holmes
Changes by Thomas Holmes : Removed file: http://bugs.python.org/file22624/7c61eba07f3f.diff ___ Python tracker ___ ___ Python-bugs-list mailin

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-11 Thread Thomas Holmes
Changes by Thomas Holmes : Added file: http://bugs.python.org/file22624/7c61eba07f3f.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-11 Thread Thomas Holmes
Thomas Holmes added the comment: I have added a test and made some additional modifications. I had to modify the very simple MyCmd object in test_command_cmd.py so that it would have some user options with default values and support finalization. -- __

[issue4376] Nested ctypes 'BigEndianStructure' fails

2011-07-11 Thread Vlad Riscutia
Vlad Riscutia added the comment: Added unit test to reproduce the issue (covers both big endian and little endian structures so _other_endian function is hit on any machine). Test currently fails without fix and passes with proposed fix in place. -- keywords: +patch nosy: +vladris Add

[issue8668] Packaging: add a 'develop' command

2011-07-11 Thread Michael Mulich
Michael Mulich added the comment: On Mon, Jul 11, 2011 at 1:14 PM, Carl Meyer wrote: >> * Cases 2, 3, 5 and 6 are strongly related. > I don't know. I don't consider case 3 useful, because I don't consider > "I don't want to use a virtualenv" (without some clearer technical > justification) to b

[issue12539] multiprocessing.Event.wait(n) doesn't time out properly

2011-07-11 Thread mokrates
New submission from mokrates : Following is my problem: I have two processes, connected via multiprocessing.Event The one waits for the other with .wait(300). After 300 seconds it should look if there's work, even if it has not been awoken by the other process. So. This runs on my Laptop, and wh

[issue11561] "coverage" of Python regrtest cannot see initial import of libs

2011-07-11 Thread Brett Cannon
Brett Cannon added the comment: Which I have not forgotten about. Just waiting until I have the time to get to this. On Mon, Jul 11, 2011 at 08:50, Éric Araujo wrote: > > Éric Araujo added the comment: > > Thanks for your work on this. I made some minor comments on Rietveld (you > should

[issue12537] mailbox's _become_message is very fragile

2011-07-11 Thread José María Ruiz Aguilera
José María Ruiz Aguilera added the comment: Hi, I will be working on this issue. This is the first time I will work on a issue in Python so please patient. -- nosy: +josemaria ___ Python tracker _

[issue12538] Extending int class

2011-07-11 Thread R. David Murray
R. David Murray added the comment: To set the value of an immutable type you must use the __new__ method. By the time __init__ is called the value has already be established, and in the case of int it defaults to 0. -- nosy: +r.david.murray resolution: -> invalid stage: -> committe

[issue12538] Extending int class

2011-07-11 Thread João Bernardo
New submission from João Bernardo : I'm having trouble subclassing the int type and I think this behavior is a bug... (Python 3.2) >>> class One(int): def __init__(self): super().__init__(1) >>> one = One() >>> one + 2 2 >>> one == 0 True I know `int` objects are immut

[issue12535] Chained tracebacks are confusing because the first traceback is minimal

2011-07-11 Thread R. David Murray
R. David Murray added the comment: One can argue that it is necessary to read the traceback in reverse order, so that reading the chain in reverse order is a logical extension of that. So I guess I have no serious objection to this being rejected. --

[issue12535] Chained tracebacks are confusing because the first traceback is minimal

2011-07-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: There _is_ no full traceback for the first exception. It stops as soon as it's handled. -- nosy: +benjamin.peterson ___ Python tracker ___

[issue12535] Chained tracebacks are confusing because the first traceback is minimal

2011-07-11 Thread R. David Murray
R. David Murray added the comment: I think the reason the chained tracebacks look backward to me is twofold: I'm used to the last one in the list being the *only* one I get (in python2), and the last one in the list is often the one I want to deal with first. This is especially true if my tr

[issue12537] mailbox's _become_message is very fragile

2011-07-11 Thread Thomas Holmes
Changes by Thomas Holmes : -- nosy: +thomas.holmes ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12537] mailbox's _become_message is very fragile

2011-07-11 Thread R. David Murray
New submission from R. David Murray : The mailbox module has a method _become_message that copies attributes from an object that is an email.message.Message subclass to the calling object (which is also a subclass of email.message.Message). This method is very fragile in the face of any chang

[issue12167] test_packaging reference leak

2011-07-11 Thread Vinay Sajip
Vinay Sajip added the comment: I've created #12536 to cover the lib2to3 issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12536] lib2to3 BaseFix class creates un-needed loggers leading to refleaks

2011-07-11 Thread Vinay Sajip
New submission from Vinay Sajip : See #12167 for background. The BaseFix class creates a logger named with the filename when the set_filename method is called. This logger appears to never be used, but since set_filename could be called any number of times and loggers are effectively singleto

[issue12535] Chained tracebacks are confusing because the first traceback is minimal

2011-07-11 Thread Eric Snow
Changes by Eric Snow : -- nosy: +ericsnow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-07-11 Thread Eric Snow
Changes by Eric Snow : -- nosy: +ericsnow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-07-11 Thread Collin Winter
Changes by Collin Winter : -- nosy: -collinwinter ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-07-11 Thread Alec Koumjian
Alec Koumjian added the comment: Thanks, Matthew. I did not realize I could access either of those. I should be able to build a helper function now to do what I want. -- ___ Python tracker

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-07-11 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12535] Chained tracebacks are confusing because the first traceback is minimal

2011-07-11 Thread R. David Murray
New submission from R. David Murray : Consider the following traceback: Traceback (most recent call last): File "/home/rdmurray/python/email6/Lib/email/message.py", line 466, in __getattr__ return getattr(self._headers, key) AttributeError: '_Header_List' object has no attribute 'header_f

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2011-07-11 Thread Matthew Barnett
Matthew Barnett added the comment: The new regex imlementation is hosted here: https://code.google.com/p/mrab-regex-hg/ The span of m['a_thing'] is m.span('a_thing'), if that helps. The named groups are listed on the pattern object, which can be accessed via m.re: >>> m.re <_regex.Pattern o

[issue8668] Packaging: add a 'develop' command

2011-07-11 Thread Carl Meyer
Carl Meyer added the comment: On 07/11/2011 09:17 AM, Michael Mulich wrote: > * Cases 2, 3, 5 and 6 are strongly related. I'd suggest you condense them > into a single use case. I agree with case 2 and 6 most, but have questions: > ** Why wouldn't one simply use a virtualenv? I don't know. I

[issue12534] Tkinter doesn't support property attributes

2011-07-11 Thread R. David Murray
R. David Murray added the comment: This is not a bug fix, but a feature request. In Python3 the classes are of course new style. So there's nothing to do here, sorry. -- nosy: +r.david.murray resolution: -> out of date stage: -> committed/rejected status: open -> closed __

[issue12534] Tkinter doesn't support property attributes

2011-07-11 Thread Aaron Stevens
Aaron Stevens added the comment: I forgot add that this is a problem only when inheriting from a Tkinter widget, such as a Frame. -- ___ Python tracker ___

[issue12534] Tkinter doesn't support property attributes

2011-07-11 Thread Aaron Stevens
New submission from Aaron Stevens : When using Tkinter in Python 2.6.6, it is impossible to use the new-style properties, as the base classes (Misc, Pack, Place, and Grid) do not use the new style classes. It is easily fixed by changing the class declarations, i.e.: class Misc: becomes cl

[issue8668] Packaging: add a 'develop' command

2011-07-11 Thread Alexis Metaireau
Alexis Metaireau added the comment: Carl, I believe that's this one: http://wiki.python.org/moin/UsecasesOfDevelop -- ___ Python tracker ___ _

[issue8668] Packaging: add a 'develop' command

2011-07-11 Thread Carl Meyer
Carl Meyer added the comment: Can someone post a link here to the page of use cases that Michael just reviewed? I think the link came through on the Fellowship mailing list, but I'm not quickly finding it... -- ___ Python tracker

[issue12279] Add build_distinfo command to packaging

2011-07-11 Thread Michael Mulich
Michael Mulich added the comment: On Mon, Jul 11, 2011 at 11:43 AM, Éric Araujo wrote: > What do you mean with context?  Wouldn’t all three commands just make install_distinfo generate files in the build dir? Right, my context comment is invalid. > I think that option 4 is the most inelegan

[issue11561] "coverage" of Python regrtest cannot see initial import of libs

2011-07-11 Thread Eric Snow
Changes by Eric Snow : -- nosy: +ericsnow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue12509] test_gdb fails on debug build when builddir != srcdir

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: About 2.7: Can you please test? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue12509] test_gdb fails on debug build when builddir != srcdir

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: Patch LGTM. -- components: +Tests -None nosy: +eric.araujo versions: +Python 2.7, Python 3.3 -Python 3.1 ___ Python tracker ___ __

[issue12379] build outside source fail in head

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: FTR: > Out-of-tree configure also fails because of missing .o files. The solution is to remove the .o files. Then one can run configure in a subdir, and later make. This allows me to build in shared mode in a subdir, and have a regular build in the top level.

[issue12436] Provide reference to detailed installation instructions

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: > Goal #1: set up Python I believe http://docs.python.org/dev/using/ covers this. > Goal #2: prepare a text editor This is missing from our docs. (My first thought was that it was out of scope, but for complete beginners, it would be nice to give a few pointers.

[issue12533] python-celementtree prevents me from running python develop.py to compile Imprudence Viewer

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: If there is a bug with distutils, xml.etree or CPython, then we need instructions on how to reproduce it. If the bug can only happen with third-party ElementTree release, setuptools or Imprudence, then I’ll suggest you to go to the setuptools bug trackers (there

[issue12533] python-celementtree prevents me from running python develop.py to compile Imprudence Viewer

2011-07-11 Thread Kristoffer Grundström
Kristoffer Grundström added the comment: Well, I didn't know what do choose when I reported. What more info do you need to help me put it in the right place? -- ___ Python tracker _

[issue12434] Strengthen 2.7 io types warning

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: Do you think the docstrings and error messages should be improved as well as the docs? -- nosy: +eric.araujo ___ Python tracker ___ _

[issue12533] python-celementtree prevents me from running python develop.py to compile Imprudence Viewer

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: setuptools bug are reported to these trackers: http://bugs.python.org/setuptools/ and https://bitbucket.org/tarek/distribute/issues If a setuptools bugs comes from the underlying standard module, distutils, then this bug tracker is the right place, otherwise we

[issue12418] python should inherit the library search path from the compiler for stdlib extensions

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: > But maybe it would be enough to special case GCC as a unix compiler? > At least there are already autoconf checks trying to detect gcc. Yes, we could try that. Steve, would you like to propose a patch? -- nosy: +barry versions: +Python 3.3 ___

[issue11561] "coverage" of Python regrtest cannot see initial import of libs

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: Thanks for your work on this. I made some minor comments on Rietveld (you should get an email), waiting for the real import experts to comment on the meat of the patch. -- nosy: +eric.araujo ___ Python tracker

[issue12279] Add build_distinfo command to packaging

2011-07-11 Thread Michael Mulich
Changes by Michael Mulich : -- nosy: -michael.mulich2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue12279] Add build_distinfo command to packaging

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: (It was probably the Roundup quotes bug.) > The action needs to be called with an install, develop or test > context, so I think item four is our best option. What do you mean with context? Wouldn’t all three commands just make install_distinfo generate files i

[issue12279] Add build_distinfo command to packaging

2011-07-11 Thread michael mulich
michael mulich added the comment: Gmail decided to strip the quotes... Grr... > So, what do we do? > 1) don’t generate RECORD at all → invalid PEP 376 We have to generate a RECORD, otherwise resource lookups in development and testing modes will fail or at least should fail. > 2) generat

[issue11510] Peephole breaks set unpacking

2011-07-11 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12279] Add build_distinfo command to packaging

2011-07-11 Thread michael mulich
michael mulich added the comment: We have to generate a RECORD, otherwise resource lookups in development and testing modes will fail or at least should fail. Yes, but that's not all. > 4) don’t add a build_distinfo command, just run install_distinfo to the build > dir from the test and devel

[issue3561] Windows installer should add Python and Scripts directories to the PATH environment variable

2011-07-11 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue12420] distutils tests fail if PATH is not defined

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: Sorry, I don’t want to monkey-patch find_executable during tests. We want the tests to work with the real code, with the same behavior and errors as real setup.py calls. If a test does not work with python -E, then it should be skipped. (Implementation idea:

[issue10403] Use "member" consistently

2011-07-11 Thread Éric Araujo
Changes by Éric Araujo : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: > The patch I attached does not violate the style guidelines that you > indicate in the comments. Then it’s good. I was hurrying for my train, so I didn’t check your patch but wanted to reference my comments somewhere before I forgot them. -- _

[issue12449] Add accelerator "F" to button "Finish" in all MSI installers made by bdist_msi

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: > Apparently -m packaging.run and pysetup3 run don't perform > identically, but that isn't relevant for this bug. That’s very surprising, given that they have the same one-line code. Please file that bug. > Regarding bdist, I got bdist_wininst to work but I had

[issue8668] Packaging: add a 'develop' command

2011-07-11 Thread Michael Mulich
Michael Mulich added the comment: After looking over the use cases, these are my findings and questions: * Cases 2, 3, 5 and 6 are strongly related. I'd suggest you condense them into a single use case. I agree with case 2 and 6 most, but have questions: ** Why wouldn't one simply use a virtua

[issue12533] python-celementtree prevents me from running python develop.py to compile Imprudence Viewer

2011-07-11 Thread Kristoffer Grundström
Kristoffer Grundström added the comment: This is valid in Mageia, a fork of Mandriva. Using 2.6.38.8-desktop-4.mga as kernel. Arch is x86_64 The link to the imprudence wiki is here: http://wiki.kokuaviewer.org/wiki/Imprudence:Compiling Get the latest code for Imprudence here: git clone git:/

[issue12533] python-celementtree prevents me from running python develop.py to compile Imprudence Viewer

2011-07-11 Thread Kristoffer Grundström
New submission from Kristoffer Grundström : I went to the wiki of Imprudence Viewer & then I went to the Compiling-part. Then I downloaded latest code from git. I installed everything needed. Then I went into Desktop/imprudence/linden/indra & wrote python develop.py & that resulted in this: ht

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-11 Thread Thomas Holmes
Thomas Holmes added the comment: > See also three comments about style on > http://bugs.python.org/review/8668/diff2/2845:3011/7845 I'm not sure I follow? The patch I attached does not violate the style guidelines that you indicate in the comments. The only failing I see is that get_reinitia

[issue12449] Add accelerator "F" to button "Finish" in all MSI installers made by bdist_msi

2011-07-11 Thread Thomas Holmes
Thomas Holmes added the comment: I was having a separate difficulty with bdist. Apparently -m packaging.run and pysetup3 run don't perform identically, but that isn't relevant for this bug. Regarding bdist, I got bdist_wininst to work but I had to modify the code in place, it did not work by

[issue12518] In string.Template it's impossible to transform delimiter in the derived class

2011-07-11 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I don't know that anybody relies on the current behavior and computers are now a bazillion times faster than they were in 2004, so who needs that micro optimization any more? -- ___ Python tracker

[issue12344] Add **kwargs to get_reinitialized_command

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: > In Distributions.get_reinitialized_command should the > reinitialization of the subcommands also get passed the kwargs? Yes, the kwargs need to be passed all the way. > Unfortunately my understanding of the (sub)command flow is not rock > solid. Some methods on

[issue12167] test_packaging reference leak

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: Let me clarify my position: I think there is a bug in lib2to3 that should be fixed, after what the refleak would go. (I’ll report it soon if nobody does it before.) If Benjamin rejects the bug, then I’ll agree with the monkey-patch. -- assignee: tarek

[issue12452] deprecation process in plistlib

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: Let’s keep one report per bug. Please open another one for sysconfig, with Mac and distutils maintainers as nosy. -- nosy: +eric.araujo resolution: -> fixed stage: -> committed/rejected status: open -> closed title: reuse plistlib in sysconfig; depreca

[issue12449] Add accelerator "F" to button "Finish" in all MSI installers made by bdist_msi

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: What do you mean with disabled? There is a bdist_wininst command in packaging. Use “pysetup run bdist_wininst” to call it. -- ___ Python tracker __

[issue12518] In string.Template it's impossible to transform delimiter in the derived class

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: See 629200d880ea for answers. -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailin

[issue5996] abstract class instantiable when subclassing dict

2011-07-11 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12532] PyPI server index names with '/' in them

2011-07-11 Thread Michael Mulich
Changes by Michael Mulich : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue12532] PyPI server index names with '/' in them

2011-07-11 Thread Michael Mulich
New submission from Michael Mulich : Forward slashes show up in a project's (packaging.pypi.dist.ReleaseList) name when using a crawler (packaging.pypi.simple.Crawler) against, say and Apache index page. The packaging.tests:/pypiserver/foo_bar_baz directory is a perfect example of this type of

[issue11435] Links to source code should now point to hg repo

2011-07-11 Thread Éric Araujo
Éric Araujo added the comment: Patch to fix links in the 3.2 docs. -- Added file: http://bugs.python.org/file22620/docs-source-link-3.2.diff ___ Python tracker ___ _

[issue11682] PEP 380 reference implementation for 3.3

2011-07-11 Thread Nick Coghlan
Nick Coghlan added the comment: I moved my personal sandbox from hg.python.org to bitbucket, so it should be easier for folks to build off the work in progress. (And fixed the typo in Renaud's name - I at least had it right in ACKS. I also reworded the draft attribution text in What's New) I

[issue5996] abstract class instantiable when subclassing dict

2011-07-11 Thread Eugene Toder
Eugene Toder added the comment: They are, when there's a most specific metaclass -- the one which is a subclass of all others (described here http://www.python.org/download/releases/2.2.3/descrintro/#metaclasses, implemented here http://hg.python.org/cpython/file/ab162f925761/Objects/typeobj

[issue12517] Large file support on Windows: sizeof(off_t) is 32 bits

2011-07-11 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- nosy: +rosslagerwall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue12494] subprocess: check_output() doesn't close pipes on error

2011-07-11 Thread Ross Lagerwall
Changes by Ross Lagerwall : -- nosy: +rosslagerwall ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue12531] documentation index entries for * and **

2011-07-11 Thread Peter Eisentraut
New submission from Peter Eisentraut : The existing documentation index entries for * and ** only point to their use in function definitions but not to their use in function calls. I was looking for the latter, and it was difficult to find without this. Here is a small patch to add the addit

[issue8639] Allow callable objects in inspect.getfullargspec

2011-07-11 Thread Michael Foord
Michael Foord added the comment: I can produce a patch w/ tests and documentation for you to review Nick. -- ___ Python tracker ___ __

[issue8639] Allow callable objects in inspect.getfullargspec

2011-07-11 Thread Nick Coghlan
Nick Coghlan added the comment: This API has changed around a bit in 3.x, so it is actually inspect.getfullargspec that needs to change (getargspec will inherit the new behaviour though, since it uses getfullargspec internally) With appropriate docs and tests updates, I don't see a problem wi

[issue11682] PEP 380 reference implementation for 3.3

2011-07-11 Thread Renaud Blanch
Renaud Blanch added the comment: I can not comment on http://bugs.python.org/review/11682/, so a quick comment here: Doc/whatsnew/3.3.rst patch gives me credit together with Greg Ewing for the implementation, but I've only upgraded his patches to 3.3. So, the following line: +(Implementation b

[issue1982] Feature: extend strftime to accept milliseconds

2011-07-11 Thread R. David Murray
R. David Murray added the comment: You are better off opening a new issue as a feature request. Do add at least belopolsky as nosy on the new issue. -- nosy: +r.david.murray ___ Python tracker ___

[issue5996] abstract class instantiable when subclassing dict

2011-07-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: IIRC, classes weren't supposed to be able inherit from two classes that had different metaclasses (since differing metaclasses don't necessarily play well with one another). -- nosy: +rhettinger ___ Python track

[issue12530] cpython 3.3, __class__ missing.

2011-07-11 Thread R. David Murray
R. David Murray added the comment: Unless you can point to a place where the behavior that was fixed is actually documented, this is classed as an implementation detail that was changed (or, more likely, a bug that was fixed). If this were less obscure or had been in existence for longer, th

[issue8639] Allow callable objects in inspect.getargspec

2011-07-11 Thread Michael Foord
Michael Foord added the comment: Doesn't seem like an unreasonable request. Nick / Benjamin, what do you think? -- ___ Python tracker ___

[issue9329] freeze tool cannot handle JSON module properly

2011-07-11 Thread Elazar Leibovich
Elazar Leibovich added the comment: Similar problem occurs if you do not specify from encodings import ascii You can get LookupError: unknown encoding: ascii -- nosy: +Elazar.Leibovich status: pending -> open ___ Python tracker

[issue12523] 'str' object has no attribute 'more' [/usr/lib/python3.2/asynchat.py|initiate_send|245]

2011-07-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Actually, the error is that in Python 3 you should use bytes objects when transmitting/receiving data over the network, not (unicode) strings. That is, replace '\r\n' with b'\r\n', etc. Of course, the error message should be made less obscure. -- nosy