[issue14960] about the slowly HTTPServer

2012-05-29 Thread Fan Li
New submission from Fan Li : first, i'm sorry about my english. when i test the HTTPServer lib local, it's fast. but when i run the test script on another PC, i found it very slow, response for a request cost about 4s. then, i walk into the source about HTTPServer and found an function which j

[issue14958] IDLE 3 and PEP414 - highlighting unicode literals

2012-05-29 Thread Ned Deily
Ned Deily added the comment: It could be. But perhaps its absence will be another incentive to move to Python 3.3. -- ___ Python tracker ___ ___

[issue14958] IDLE 3 and PEP414 - highlighting unicode literals

2012-05-29 Thread Roger Serwy
Roger Serwy added the comment: Should the patch be partially back-ported to 2.7 as well given that IDLE 2 doesn't highlight two-character prefixes? -- ___ Python tracker ___ __

[issue14958] IDLE 3 and PEP414 - highlighting unicode literals

2012-05-29 Thread Ned Deily
Changes by Ned Deily : -- versions: -Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14958] IDLE 3 and PEP414 - highlighting unicode literals

2012-05-29 Thread Ned Deily
Ned Deily added the comment: It turns out that the previous and current versions of IDLE syntax highlighting did not recognize literals with valid two-character prefixes, like "ur" or "br". Besides restoring "ur", 3.3 also added "rb" to the existing "br" prefixes. The applied patch explicit

[issue14958] IDLE 3 and PEP414 - highlighting unicode literals

2012-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 94a5bf416e50 by Ned Deily in branch 'default': Issue #14958: Change IDLE systax highlighting to recognize all string and http://hg.python.org/cpython/rev/94a5bf416e50 -- nosy: +python-dev ___ Python trac

[issue13475] Add '-p'/'--path0' command line option to override sys.path[0] initialisation

2012-05-29 Thread Eric Snow
Eric Snow added the comment: here's an updated patch with long options only. I'm only 95% confident about my changes to getopt.c...there's probably a better way to do it. However, the patch stands on its own two feet. -- Added file: http://bugs.python.org/file25759/issue13475_long_o

[issue14443] Distutils test_bdist_rpm failure

2012-05-29 Thread Nick Coghlan
Nick Coghlan added the comment: Now I'm wondering if the problem will also manifest itself on EL rebuilds like CentOS or Scientific Linux, since that will affect how specific we can get when it comes to implementing a workaround. That is, overriding __os_install_post should definitely work, b

[issue14959] ttk.Scrollbar in Notebook widget freezes

2012-05-29 Thread Ned Deily
Ned Deily added the comment: For what it's worth, I was able to reproduce the behavior you describe (also on OS X 10.7 using Python 3.3 and the latest ActiveState Tcl/Tk 8.5.11). Scrolling is a lower level GUI operation that, AFAIK, managed by Tk and OS X frameworks, and not by Python or Tki

[issue14959] ttk.Scrollbar in Notebook widget freezes

2012-05-29 Thread David Beck
New submission from David Beck : I am working on an iMac running OS 10.7, TK 8.5.11. I built a simple app containing a Notebook widget, and with Listboxes and linked tkk.Scrollbars on each of three tabs. All of the Scrollbars work the first time I manipulate them, but once the Scrollbar on thi

[issue14443] Distutils test_bdist_rpm failure

2012-05-29 Thread Dave Malcolm
Dave Malcolm added the comment: I'm able to reproduce this on a RHEL 6 box, and I did some investigating. The stray .pyc files are indeed reported by "file" as "python 2.6 byte-compiled" so yes, it's using /usr/bin/python to byte-compile them On RHEL 6, with redhat-rpm-config-9.0.3-33.el6.no

[issue14958] IDLE 3 and PEP414 - highlighting unicode literals

2012-05-29 Thread Roger Serwy
New submission from Roger Serwy : Issue8641 addressed the problem of not highlighting byte literals, but dropped Unicode literals, as it should have. This happened months before the acceptance of PEP414. IDLE 3 should now highlight u"" as well as b"", as well as valid combinations with r"".

[issue14943] winreg OpenKey doesn't work as documented

2012-05-29 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: docs@python -> brian.curtin components: +Windows resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue14943] winreg OpenKey doesn't work as documented

2012-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset fcb6c4a4ac0e by Brian Curtin in branch '3.2': Fix #14943. Update the proper default value and list the proper argument names in the explanation. http://hg.python.org/cpython/rev/fcb6c4a4ac0e New changeset 29e0f08ef065 by Brian Curtin in branch 'de

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-29 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread Nick Coghlan
Nick Coghlan added the comment: For the more general breakage due to PYTHONHOME and PYTHONPATH, yeah, global environment variables are bad, particularly when an OS relies on tools written in (or embedding) Python. That's the reason virtualenv (and 3.3's forthcoming venv) are a preferred alte

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread Nick Coghlan
Nick Coghlan added the comment: It wouldn't be a PEP, it would be an addition to the embedding docs: http://docs.python.org/extending/embedding.html -- ___ Python tracker ___ __

[issue13857] Add textwrap.indent() as counterpart to textwrap.dedent()

2012-05-29 Thread Nick Coghlan
Nick Coghlan added the comment: I created #14957 to cover improving the str.splitlines docs. For this patch, I think Chris is right that it should be using str.splitlines(True) and joining on "''" instead of "'\n'" so that Windows line endings get preserved. -- _

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-29 Thread STINNER Victor
STINNER Victor added the comment: report_windows7: Comparaison of str%args and str.format() on Windows 7. * Python 2.7 (64 bits) * Python 3.2 (64 bits), narrow (UTF-16) * Python 3.3 (*32* bits), PEP 393 The benchmark is not fair because Python 3.3 is compiled in 32 bits, but there are inter

[issue14957] Improve docs for str.splitlines

2012-05-29 Thread Nick Coghlan
New submission from Nick Coghlan : The docs for str.splitlines() should explain: 1. That it uses the universal newlines approach to splitting lines 2. That unlike str.split() a trailing empty line is *not* included in the resulting list -- assignee: docs@python components: Documentatio

[issue14922] mailbox.Maildir.get_message() may fail when Maildir dirname is a unicode string

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

[issue14943] winreg OpenKey doesn't work as documented

2012-05-29 Thread R. David Murray
Changes by R. David Murray : -- nosy: +brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-05-29 Thread Ronan Lamy
Ronan Lamy added the comment: Well, I can try. I have trouble wrapping my head around all the finders and loaders, but I'm slowly understanding what does what. What I don't know is what the expected behaviour is. Should my_pkg.__init__ be allowed to exist as a separate module (that's backward

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread R. David Murray
R. David Murray added the comment: An informational PEP sounds like exactly what I said: each application needs to decide. The PEP would provide the information on which to base that decision, and suggestions for how to do it. An informational PEP on best practices for embedding sounds like

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread Jan Kratochvil
Jan Kratochvil added the comment: I fully agree with site.py/os.py/spam.py but I find it offtopic for this Issue. I do not find too important if some unsetenv/setenv gets called by the app or by libpython. But the rules should apply for every embedded app the same, the Fedora ticket is sugge

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread R. David Murray
R. David Murray added the comment: I think it is up to each embedding application to decide if it wants to respect the environment variables or not. I don't think that's a decision that core can make. Now, if we aren't providing an easy way for an embedding application to make that decision

[issue8548] Building on CygWin 1.7: PATH_MAX redefined

2012-05-29 Thread Nicholas DiPiazza
Nicholas DiPiazza added the comment: In Python3.1.2-src/Modules/main.c I actually had to use this to get it to work: #if defined(MS_WINDOWS) || defined(__CYGWIN__) #include #ifdef HAVE_FCNTL_H #include #endif #ifndef HAVE_FCNTL_H #define PATH_MAX MAXPATHLEN #endif #endif -- nosy: +N

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread Éric Araujo
Changes by Éric Araujo : -- title: custom PYTHONPATH breaks Python-embedded apps -> custom PYTHONPATH may break apps embedding Python ___ Python tracker ___

[issue14956] custom PYTHONPATH breaks Python-embedded apps

2012-05-29 Thread Éric Araujo
Éric Araujo added the comment: > This site.py is only an example how it can happen. site is special, as it’s one of the modules imported during Python startup. Can you reproduce the bug with the same file named os.py? (I expect you can.) Can you reproduce with spam.py? (I think you can’t.)

[issue14956] custom PYTHONPATH breaks Python-embedded apps

2012-05-29 Thread Jan Kratochvil
Jan Kratochvil added the comment: This site.py is only an example how it can happen. In reality it is due to .py files intended for incompatible version of Python. I am not a Python programmer to have some appropriate incompatible code at hand. -- __

[issue14956] custom PYTHONPATH breaks Python-embedded apps

2012-05-29 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +brett.cannon, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue14956] custom PYTHONPATH breaks Python-embedded apps

2012-05-29 Thread Éric Araujo
Éric Araujo added the comment: An alternate idea would be to recommend more strongly in the doc that people should not shadow standard library module names (in your example, site). -- nosy: +eric.araujo ___ Python tracker

[issue14956] custom PYTHONPATH breaks Python-embedded apps

2012-05-29 Thread Jan Kratochvil
New submission from Jan Kratochvil : People use custom Python builds setting PYTHONHOME and PYTHONPATH to these custom builds. This may be expected to break running system Python binary but it also unexpectedly breaks various applications which also embed Python: $ echo foo >site.py; export PY

[issue10997] Duplicate entries in IDLE "Recent Files" menu item on OS X

2012-05-29 Thread Ned Deily
Ned Deily added the comment: Patch applied for 2.7.4, 3.2.4, and 3.3.0. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue10997] Duplicate entries in IDLE "Recent Files" menu item on OS X

2012-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3108331c88ec by Ned Deily in branch '2.7': Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu. http://hg.python.org/cpython/rev/3108331c88ec New changeset 64a7fae544a6 by Ned Deily in branch '3.2': Issue #10997: Prevent a duplica

[issue11685] possible SQL injection into db APIs via table names... sqlite3

2012-05-29 Thread Rene Dudfield
Rene Dudfield added the comment: Hi, Here is an article with people trying to find a solution: http://stackoverflow.com/questions/6514274/how-do-you-escape-strings-for-sqlite-table-column-names-in-python "The psycopg2 documentation explicitly recommends using normal python % or {} formatting

[issue14796] Calendar module test coverage improved

2012-05-29 Thread R. David Murray
R. David Murray added the comment: Thanks, Oleg. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue14796] Calendar module test coverage improved

2012-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 98bc9e357f74 by R David Murray in branch 'default': #14796: improve calendar test coverage. http://hg.python.org/cpython/rev/98bc9e357f74 -- nosy: +python-dev ___ Python tracker

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset df0144f68d76 by Victor Stinner in branch 'default': Issue #14744: Fix compilation on Windows (part 2) http://hg.python.org/cpython/rev/df0144f68d76 -- ___ Python tracker

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6abab1a103a6 by Victor Stinner in branch 'default': Issue #14744: Fix compilation on Windows http://hg.python.org/cpython/rev/6abab1a103a6 -- ___ Python tracker _

[issue14955] hmac.secure_compare() is not time-independent for unicode strings

2012-05-29 Thread Jon Oberheide
New submission from Jon Oberheide : Hi all, I was informed that the hmac.secure_compare() function added in 14532 is not time-independent when processing unicode values: "The function as given is probably not timing independent if the attacker can provide unicode values. This is because (in C

[issue10839] email module should not allow some header field repetitions

2012-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 08857f4e9709 by R David Murray in branch 'default': #10839: add new test file that was omitted from checkin http://hg.python.org/cpython/rev/08857f4e9709 -- ___ Python tracker

[issue11685] possible SQL injection into db APIs via table names... sqlite3

2012-05-29 Thread Petri Lehtinen
Petri Lehtinen added the comment: No SQL library that I know of provides a way to escape table names. The quoting functions are always meant to escape string parameters. This is true for sqlite3_mprintf(), too (the %q and %Q options). If you build table names from user input, your database de

[issue12779] Update packaging documentation

2012-05-29 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue14954] weakref doc clarification

2012-05-29 Thread Ethan Furman
New submission from Ethan Furman : The weak reference docs could be clearer about when weak ref'ed objects are no longer available. Attached doc patch attempts to do so. -- files: weakref_doc_updates.diff keywords: patch messages: 161895 nosy: stoneleaf priority: normal severity: norma

[issue14835] plistlib: output empty elements correctly

2012-05-29 Thread Sidney San Martín
Sidney San Martín added the comment: Thanks Hynek, awesome! It looks like it’s in now. -- ___ Python tracker ___ ___ Python-bugs-list

[issue13857] Add textwrap.indent() as counterpart to textwrap.dedent()

2012-05-29 Thread R. David Murray
R. David Murray added the comment: That's why it's a different function :) (Well, that and universal newline support). But I can see that explaining the difference between split and splitlines would be worthwhile. -- ___ Python tracker

[issue14953] Reimplement subset of multiprocessing.sharedctypes using memoryview

2012-05-29 Thread Richard Oudkerk
New submission from Richard Oudkerk : The attached patch enables creation of shared objects allocated from shared memory using memoryview objects instead of ctypes. This enables the use of shared memory on systems where ctypes is unavailable. The new functions/classes RawArray, RawValue, Array

[issue14952] Cannot run regrtest with amd64/debug on windows

2012-05-29 Thread Kristján Valur Jónsson
New submission from Kristján Valur Jónsson : Running the regression tests from the build directory no longer works for Amd64/debug, windows build. D:\pydev\hg\cpython2>PCbuild\amd64\python_d.exe -m test.regrtest Traceback (most recent call last): File "D:\pydev\hg\cpython2\lib\runpy.py", line

[issue13857] Add textwrap.indent() as counterpart to textwrap.dedent()

2012-05-29 Thread Chris Jerdonek
Chris Jerdonek added the comment: Perhaps because that's what str.split() does: >>> "a\nb".split("\n") ['a', 'b'] >>> "a\nb\n".split("\n") ['a', 'b', ''] >>> "a\nb\n\n".split("\n") ['a', 'b', '', ''] -- ___ Python tracker

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-05-29 Thread Brett Cannon
Brett Cannon added the comment: If you can come up with a patch to fix this in a way that is not messy then I will be happy to look at it. -- ___ Python tracker ___ ___

[issue12779] Update packaging documentation

2012-05-29 Thread Alexis Metaireau
Alexis Metaireau added the comment: I think it could be helpful to have this work at least somewhere so we can work on top of it. For instance if someone wants to do changes in the documentation, then only thing it would do now would be to cause potential merge conflicts. I'm okay to have sev

[issue13160] Rename install_dist to install

2012-05-29 Thread Alexis Metaireau
Changes by Alexis Metaireau : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue13160] Rename install_dist to install

2012-05-29 Thread Alexis Metaireau
Alexis Metaireau added the comment: I'm +1 on this. Having an "install" command, on a distribution, makes more sense than having an "install_dist" one, because of course the object is a distribution! -- ___ Python tracker

[issue14949] Documentation should state clearly the differences between "pysetup run install_dist" and "pysetup install"

2012-05-29 Thread Alexis Metaireau
Alexis Metaireau added the comment: That would be helpful yep. I can add this in the docs if you've not done it already. -- ___ Python tracker ___ _

[issue13857] Add textwrap.indent() as counterpart to textwrap.dedent()

2012-05-29 Thread R. David Murray
R. David Murray added the comment: Why would you expect it to? >>> 'a\nb'.splitlines() ['a', 'b'] >>> 'a\nb\n'.splitlines() ['a', 'b'] >>> 'a\nb\n\n'.splitlines() ['a', 'b', ''] That's exactly what I would intuitively expect, and I don't see how it could possibly do anything else. --

[issue14949] Documentation should state clearly the differences between "pysetup run install_dist" and "pysetup install"

2012-05-29 Thread Éric Araujo
Éric Araujo added the comment: See also #13160. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue14949] Documentation should state clearly the differences between "pysetup run install_dist" and "pysetup install"

2012-05-29 Thread Éric Araujo
Éric Araujo added the comment: That’s the difference between actions and commands, which people always understand very well when I explain it. I don’t remember if I already have written something in my big doc patch (#12779); if you want I can check tonight and tell you if I did it or if you

[issue12779] Update packaging documentation

2012-05-29 Thread Éric Araujo
Changes by Éric Araujo : -- dependencies: +Usage documentation for pysetup ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue14948] setup.cfg - rename home_page to homepage

2012-05-29 Thread Éric Araujo
Éric Araujo added the comment: Sorry, Alexis is right. The fields in setup.cfg directly come from the PEP. Tarek insisted on that. We’ve only added some fields, like description-file, but never changed the names. -- resolution: -> works for me stage: -> committed/rejected status:

[issue14946] packaging’s pysetup script should be named differently than distutils2’s pysetup

2012-05-29 Thread Éric Araujo
Éric Araujo added the comment: I’m afraid that won’t work: depending on how python3 is installed, it may install both pysetup3.3 and pysetup3, so distutils2-python3 can’t use any of these names. Note that on Debian and probably other systems, two packages really cannot use the same file path

[issue10053] Don’t close fd when FileIO.__init__ fails

2012-05-29 Thread Hynek Schlawack
Hynek Schlawack added the comment: I think this issue is still valid. However, I’d favor the attached (simpler) patch that keeps track whether self->fd is our own (i.e. a result of an open() operation) or from outside. A couple of notes: - I'm not sure why your test skipped if the Exception

[issue13857] Add textwrap.indent() as counterpart to textwrap.dedent()

2012-05-29 Thread Nick Coghlan
Nick Coghlan added the comment: Added some review comments. I'm thinking the docs for str.splitlines() could really do with an update to say explicitly that a trailing newline *doesn't* append an empty string to the result. -- ___ Python tracker <

[issue8537] Add ConfigureAction to argparse

2012-05-29 Thread devurandom
Changes by devurandom : -- nosy: +devurandom ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue10839] email module should not allow some header field repetitions

2012-05-29 Thread R. David Murray
R. David Murray added the comment: Committed. It is almost never the right thing to do to allow duplicates of unique headers, but an application that does need it can create a policy subclass and override the header_max_count method. -- resolution: -> fixed stage: test needed -> com

[issue10839] email module should not allow some header field repetitions

2012-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset d7881a371c41 by R David Murray in branch 'default': #10839: raise an error on add of duplicate unique headers in new email policies http://hg.python.org/cpython/rev/d7881a371c41 -- nosy: +python-dev ___

[issue14951] Daikon/KVasir report: Invalid read of size 4

2012-05-29 Thread Damien Cassou
Damien Cassou added the comment: I didn't read the document before. Sorry about that. The document makes it clear that what I report is not an error. This report should be closed. -- status: open -> closed ___ Python tracker

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-05-29 Thread Eli Bendersky
Eli Bendersky added the comment: I'm working on completing this issue. It will be done in stages, with each stage committed as a separate chunk of functionality. * Make TreeBuilder an actual exported type (subclassable) from _elementtree * TreeBuilder constructor should accept arguments as doc

[issue14951] Daikon/KVasir report: Invalid read of size 4

2012-05-29 Thread STINNER Victor
STINNER Victor added the comment: Did you read Misc/README.valgrind? Did you compile Python using "./configure --with-valgrind"? -- ___ Python tracker ___ __

[issue14007] xml.etree.ElementTree - XMLParser and TreeBuilder's doctype() method missing

2012-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 717632ae7b3f by Eli Bendersky in branch 'default': Issue #14007: make TreeBuilder an actual type exposed from _elementtree, and subclassable. http://hg.python.org/cpython/rev/717632ae7b3f -- ___ Python

[issue14951] Daikon/KVasir report: Invalid read of size 4

2012-05-29 Thread Damien Cassou
New submission from Damien Cassou : Hi, I've just executed a dynamic program analyzer (kvasir frontend for daikon) on the python runtime with an hello world python input. I got a lot of errors (796 errors from 61 contexts), potentially showing bugs in cpython. The following presents one such

[issue14939] Usage documentation for pyvenv

2012-05-29 Thread Vinay Sajip
Vinay Sajip added the comment: Done in ace7c340d95d. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 22b56b0b8619 by Victor Stinner in branch 'default': Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args and str.format(args) http://hg.python.org/cpython/rev/22b56b0b8619 -- ___

[issue12355] Crawler doesn't follow redirection

2012-05-29 Thread Alexis Metaireau
Alexis Metaireau added the comment: Did someone changed anything in the codebase regarding this (or did it solved itself magically?) -- ___ Python tracker ___ _

[issue14950] packaging.install does not have a clear API.

2012-05-29 Thread Alexis Metaireau
New submission from Alexis Metaireau : The "packaging.install" module doesn't have a clear API defined and it's doing a lot of indirections between all the functions to get metadata, fetch the dependencies and install what's need to be installed. We might be able to come with a better solution

[issue14949] Documentation should state clearly the differences between "pysetup run install_dist" and "pysetup install"

2012-05-29 Thread Alexis Metaireau
New submission from Alexis Metaireau : The packaging tutorial currently talks about "pysetup run install_dist" and "pysetup install" which aren't doing the same thing: one fetches the dependencies while the other doesn't. This should be stated clearly. -- assignee: eric.araujo compone

[issue14948] setup.cfg - rename home_page to homepage

2012-05-29 Thread Alexis Metaireau
Alexis Metaireau added the comment: While I kind of agree with you, this field is proposed by the PEP 345 and had been approved as it is. It seems probably better to stick with what's defined there mainly because any change to the PEP is a heavy process and we won't have time to go trough it

[issue14946] packaging’s pysetup script should be named differently than distutils2’s pysetup

2012-05-29 Thread Alexis Metaireau
Alexis Metaireau added the comment: Good catch, One solution would be to have the pysetup script name suffixed by the version of python is comes with. For instance, for python 3.3 it would be "pysetup3.3" (that's how it is atm). This means that "pysetup" would point to "pysetup3.3" after a f

[issue14835] plistlib: output empty elements correctly

2012-05-29 Thread Hynek Schlawack
Hynek Schlawack added the comment: Thank you for your contribution! But please help Pam to work out your contribution form. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker

[issue14835] plistlib: output empty elements correctly

2012-05-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9e64084f9980 by Hynek Schlawack in branch 'default': #14835: Make plistlib output empty arrays & dicts like OS X http://hg.python.org/cpython/rev/9e64084f9980 -- nosy: +python-dev ___ Python tracker

[issue14939] Usage documentation for pyvenv

2012-05-29 Thread Vinay Sajip
Vinay Sajip added the comment: The "Using" section has 4 sub-sections: one on the Python command line, + 3 on Python usage on Windows, Linux and OS X. I propose to add a fourth sub-section "Additional Tools and Scripts" (feel free to suggest an alternative title) and under that, add a section

[issue1079] decode_header does not follow RFC 2047

2012-05-29 Thread Ralf Schlatterbeck
Ralf Schlatterbeck added the comment: On Mon, May 28, 2012 at 08:15:05PM +, R. David Murray wrote: > > R. David Murray added the comment: > > Ralf, thanks very much for this patch. I'm considering applying it. > Given that the current code breaks on parsing various legitimate > construct

[issue8323] buffer objects are picklable but result is not unpicklable

2012-05-29 Thread Richard Oudkerk
Richard Oudkerk added the comment: It seems the real issue here is that buffer objects are picklable (depending on protocol) but the resulting string is not unpicklable. There are probably lots of other examples where this happens: for instance Exception subclasses which do not set self.args

[issue14930] Make memoryview weakrefable

2012-05-29 Thread Richard Oudkerk
Changes by Richard Oudkerk : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue14835] plistlib: output empty elements correctly

2012-05-29 Thread Hynek Schlawack
Hynek Schlawack added the comment: The patch LGTM, but Pam seemed to have problems to find your account (http://mail.python.org/pipermail/python-committers/2012-May/002037.html) – did you get the reply and followed up on that? -- ___ Python tracker

[issue3177] Add shutil.open

2012-05-29 Thread Hobs
Hobs added the comment: shutil.whatever with os.startfile(..., 'edit'). That's why I thought an 'auto' option might be useful--to allow the caller to indicate that they want to respect the OS settings for open/run, if possible. -- ___ Python tracker