[issue9665] Buid issues on Cygwin - _curses, _curses_panel, and _io

2012-05-29 Thread Arif Widi Nugroho
Changes by Arif Widi Nugroho a...@sainsmograf.com: -- nosy: +arifwn ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9665 ___ ___ Python-bugs-list

[issue3177] Add shutil.open

2012-05-29 Thread Hobs
Hobs hobsonl...@gmail.com 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. --

[issue14835] plistlib: output empty elements correctly

2012-05-29 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx 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? -- ___

[issue14930] Make memoryview weakrefable

2012-05-29 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14930 ___

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

2012-05-29 Thread Richard Oudkerk
Richard Oudkerk shibt...@gmail.com 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

[issue1079] decode_header does not follow RFC 2047

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

[issue14939] Usage documentation for pyvenv

2012-05-29 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk 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

[issue14835] plistlib: output empty elements correctly

2012-05-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14835] plistlib: output empty elements correctly

2012-05-29 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx 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

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

2012-05-29 Thread Alexis Metaireau
Alexis Metaireau ale...@notmyidea.org 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

[issue14948] setup.cfg - rename home_page to homepage

2012-05-29 Thread Alexis Metaireau
Alexis Metaireau ale...@notmyidea.org 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

[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 ale...@notmyidea.org: 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:

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

2012-05-29 Thread Alexis Metaireau
New submission from Alexis Metaireau ale...@notmyidea.org: 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

[issue12355] Crawler doesn't follow redirection

2012-05-29 Thread Alexis Metaireau
Alexis Metaireau ale...@notmyidea.org added the comment: Did someone changed anything in the codebase regarding this (or did it solved itself magically?) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12355

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

2012-05-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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 --

[issue14939] Usage documentation for pyvenv

2012-05-29 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Done in ace7c340d95d. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14939

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

2012-05-29 Thread Damien Cassou
New submission from Damien Cassou damien.cas...@gmail.com: 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

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

2012-05-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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 --

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

2012-05-29 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Did you read Misc/README.valgrind? Did you compile Python using ./configure --with-valgrind? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14951

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

2012-05-29 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com 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

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

2012-05-29 Thread Damien Cassou
Damien Cassou damien.cas...@gmail.com 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

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

2012-05-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-05-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue8537] Add ConfigureAction to argparse

2012-05-29 Thread devurandom
Changes by devurandom devuran...@gmx.net: -- nosy: +devurandom ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8537 ___ ___ Python-bugs-list mailing

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

2012-05-29 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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. --

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

2012-05-29 Thread Hynek Schlawack
Hynek Schlawack h...@ox.cx 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

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

2012-05-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue14948] setup.cfg - rename home_page to homepage

2012-05-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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: -

[issue12779] Update packaging documentation

2012-05-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- dependencies: +Usage documentation for pysetup ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12779 ___

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

2012-05-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2012-05-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See also #13160. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14949 ___ ___ Python-bugs-list

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

2012-05-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2012-05-29 Thread Alexis Metaireau
Alexis Metaireau ale...@notmyidea.org added the comment: That would be helpful yep. I can add this in the docs if you've not done it already. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14949

[issue13160] Rename install_dist to install

2012-05-29 Thread Alexis Metaireau
Alexis Metaireau ale...@notmyidea.org 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

[issue13160] Rename install_dist to install

2012-05-29 Thread Alexis Metaireau
Changes by Alexis Metaireau ale...@notmyidea.org: -- stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13160 ___ ___

[issue12779] Update packaging documentation

2012-05-29 Thread Alexis Metaireau
Alexis Metaireau ale...@notmyidea.org 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.

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

2012-05-29 Thread Brett Cannon
Brett Cannon br...@python.org 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 rep...@bugs.python.org http://bugs.python.org/issue14938

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

2012-05-29 Thread Chris Jerdonek
Chris Jerdonek chris.jerdo...@gmail.com 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 rep...@bugs.python.org

[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 krist...@ccpgames.com: Running the regression tests from the build directory no longer works for Amd64/debug, windows build. D:\pydev\hg\cpython2PCbuild\amd64\python_d.exe -m test.regrtest Traceback (most recent call last): File

[issue14953] Reimplement subset of multiprocessing.sharedctypes using memoryview

2012-05-29 Thread Richard Oudkerk
New submission from Richard Oudkerk shibt...@gmail.com: 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

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

2012-05-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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. -- ___

[issue14835] plistlib: output empty elements correctly

2012-05-29 Thread Sidney San Martín
Sidney San Martín s...@sidneysm.com added the comment: Thanks Hynek, awesome! It looks like it’s in now. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14835 ___

[issue14954] weakref doc clarification

2012-05-29 Thread Ethan Furman
New submission from Ethan Furman et...@stoneleaf.us: 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:

[issue12779] Update packaging documentation

2012-05-29 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12779 ___ ___ Python-bugs-list

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

2012-05-29 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org 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,

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

2012-05-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-05-29 Thread Jon Oberheide
New submission from Jon Oberheide j...@oberheide.org: 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.

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

2012-05-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

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

2012-05-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14796] Calendar module test coverage improved

2012-05-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14796] Calendar module test coverage improved

2012-05-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Thanks, Oleg. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14796

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

2012-05-29 Thread Rene Dudfield
Rene Dudfield ill...@users.sourceforge.net 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

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

2012-05-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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':

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

2012-05-29 Thread Ned Deily
Ned Deily n...@acm.org 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 rep...@bugs.python.org http://bugs.python.org/issue10997

[issue14956] custom PYTHONPATH breaks Python-embedded apps

2012-05-29 Thread Jan Kratochvil
New submission from Jan Kratochvil jan.kratoch...@redhat.com: 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: $

[issue14956] custom PYTHONPATH breaks Python-embedded apps

2012-05-29 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +brett.cannon, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14956 ___ ___

[issue14956] custom PYTHONPATH breaks Python-embedded apps

2012-05-29 Thread Jan Kratochvil
Jan Kratochvil jan.kratoch...@redhat.com 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
Éric Araujo mer...@netwok.org 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

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- title: custom PYTHONPATH breaks Python-embedded apps - custom PYTHONPATH may break apps embedding Python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14956

[issue8548] Building on CygWin 1.7: PATH_MAX redefined

2012-05-29 Thread Nicholas DiPiazza
Nicholas DiPiazza nicholas.dipia...@gmail.com 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 windows.h #ifdef HAVE_FCNTL_H #include fcntl.h #endif #ifndef HAVE_FCNTL_H #define PATH_MAX

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread Jan Kratochvil
Jan Kratochvil jan.kratoch...@redhat.com 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,

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2012-05-29 Thread Ronan Lamy
Ronan Lamy ronan.l...@gmail.com 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

[issue14943] winreg OpenKey doesn't work as documented

2012-05-29 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14943 ___ ___

[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 rdmur...@bitdance.com: -- components: +email -Library (Lib) nosy: +barry, r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14922 ___

[issue14957] Improve docs for str.splitlines

2012-05-29 Thread Nick Coghlan
New submission from Nick Coghlan ncogh...@gmail.com: 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

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

2012-05-29 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com 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

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

2012-05-29 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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. --

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue14956

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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)

[issue14956] custom PYTHONPATH may break apps embedding Python

2012-05-29 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14956 ___ ___ Python-bugs-list

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

2012-05-29 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14744 ___

[issue14943] winreg OpenKey doesn't work as documented

2012-05-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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

[issue14943] winreg OpenKey doesn't work as documented

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

[issue14958] IDLE 3 and PEP414 - highlighting unicode literals

2012-05-29 Thread Roger Serwy
New submission from Roger Serwy roger.se...@gmail.com: 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

[issue14443] Distutils test_bdist_rpm failure

2012-05-29 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com 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

[issue14959] ttk.Scrollbar in Notebook widget freezes

2012-05-29 Thread David Beck
New submission from David Beck db...@ualberta.ca: 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

[issue14959] ttk.Scrollbar in Notebook widget freezes

2012-05-29 Thread Ned Deily
Ned Deily n...@acm.org 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

[issue14443] Distutils test_bdist_rpm failure

2012-05-29 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com 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

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

2012-05-29 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com 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:

[issue14958] IDLE 3 and PEP414 - highlighting unicode literals

2012-05-29 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za 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