[issue6470] Tkinter import fails when running Python.exe from a network share

2010-06-02 Thread Christoph Gohlke
Christoph Gohlke cgoh...@uci.edu added the comment: Any chance to get this fixed in 2.7? On Windows, the bug prevents some popular applications and packages, such as pymol and matplotlib, to be used when installed on network shares, as is common practice in computer labs. --

[issue8881] socket.getaddrinfo() should return named tuples

2010-06-02 Thread Giampaolo Rodola'
New submission from Giampaolo Rodola' g.rod...@gmail.com: As of right now socket.getaddrinfo() returns a sequence of 5-tuples reflecting family, type, protocol, canonname, and address of a socket: socket.getaddrinfo(None, 0) [(10, 1, 6, '', ('::1', 0, 0, 0)), (10, 2, 17, '', ('::1', 0, 0,

[issue8866] socket.getaddrinfo() should support keyword arguments

2010-06-02 Thread Giampaolo Rodola'
Giampaolo Rodola' g.rod...@gmail.com added the comment: Created issue 8881 to treat the named tuples issue separately. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8866 ___

[issue8880] ConfigParser.set does not convert non-string values

2010-06-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Use SafeConfigParser instead, then you can't make the mistake of passing non-strings to set. We really should update the docs so that ConfigParser is doced only in a 'deprecated' section. But that's a different issue. (Care to open

[issue8879] Implement os.link on Windows

2010-06-02 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8879 ___ ___

[issue8881] socket.getaddrinfo() should return named tuples

2010-06-02 Thread Eric Smith
Eric Smith e...@trueblade.com added the comment: Keep in mind this isn't an entirely backwards compatible change. See issue 8413, for example. -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8881

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2010-06-02 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Wed, Jun 2, 2010 at 5:24 PM, Brett Cannon rep...@bugs.python.org wrote: .. 1. Call it FixedTimezone or something (remember it has to be CapWords). I thought consistency within module trumps PEP 8 naming standards. The

[issue6470] Tkinter import fails when running Python.exe from a network share

2010-06-02 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Can somebody please explain how the test and the reported bug are related? The patch seems to deal with paths that have UNC in them; and the test seems not to. -- ___ Python tracker

[issue6470] Tkinter import fails when running Python.exe from a network share

2010-06-02 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Also, cgohlke, can you please provide complete, detailed instructions on how to reproduce this issue? How do I get python.exe into \\Server\Share in the first place? And why did you not map a network drive letter? --

[issue5094] datetime lacks concrete tzinfo impl. for UTC

2010-06-02 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Forgot about datetime breaking the PEP 8 rules. You're right, consistency wins. As for fixedtimezone being odd, that's why my mind went with FixedOffsetTimezone to start, but that doesn't go with the naming of the module, and

[issue1368247] unicode in email.MIMEText and email/Charset.py

2010-06-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Committed to 2.7 in r81658 and 2.6 in r81659. I'm leaving this open for the moment because while py3 doesn't have this problem, the tests should still pass and they don't. -- stage: patch review - committed/rejected versions:

[issue6560] socket sendmsg(), recvmsg() methods

2010-06-02 Thread David Watson
David Watson bai...@users.sourceforge.net added the comment: OK. I don't like creating/using a Google account, but here it is: http://codereview.appspot.com/1487041/show -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6560

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2010-06-02 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1820 ___ ___

[issue6470] Tkinter import fails when running Python.exe from a network share

2010-06-02 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: to reproduce: on Vista, start \\%COMPUTERNAME%\c$\python26\python.exe -c import Tkinter; print Tkinter In this case, the path returned by GetFinalPathNameByHandle starts with \\?\UNC\. --

[issue6470] Tkinter import fails when running Python.exe from a network share

2010-06-02 Thread Christoph Gohlke
Christoph Gohlke cgoh...@uci.edu added the comment: Btw, this bug is also present in Python 3.1, of course when using tkinter instead of Tkinter. Here is how to reproduce the bug on your local system: Install python-2.7b2.msi into C:\Python27. Then open a command prompt with administrator

[issue6470] Tkinter import fails when running Python.exe from a network share

2010-06-02 Thread Christoph Gohlke
Christoph Gohlke cgoh...@uci.edu added the comment: The patch seems to deal with paths that have UNC in them; and the test seems not to. The UNCW path is a result of the call to ctypes.windll.kernel32.GetFinalPathNameByHandleW() in FixTk.py, which translates \\Server\Share\File paths to

[issue5423] Exception raised when attempting to call set_charset on an email.mime.multipart once sub-parts have been attached

2010-06-02 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - r.david.murray nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5423 ___

[issue8882] socketmodule.c`getsockaddrarg() should not check the length of sun_path

2010-06-02 Thread Edward Pilatowicz
New submission from Edward Pilatowicz edward.pilatow...@oracle.com: recently i was writing some python code that attempted to bind a unix domain socket to a long filesystem path. this code was failing and telling me that the path name was too long. tracing python i saw that it wasn't event

[issue1368247] unicode in email.MIMEText and email/Charset.py

2010-06-02 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: OK, py3k now passes all but one of the tests, and I've disabled that one pending email6 since fixing it would break backward compatibility within the 3.x series. The fix is different, doing the encoding to output_charset just before

<    1   2