[issue10756] Error in atexit._run_exitfuncs [...] Exception expected for value, str found

2010-12-21 Thread kai zhu
New submission from kai zhu : pub...@colinux 3 ~: python3.2 Python 3.2b2 (py3k, Dec 22 2010, 02:38:55) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import atexit; atexit.register(lambda:1/0) at 0xb7c7e12c> >>> exit() Error in atexit._run_exitf

[issue8732] Should urrllib2.urlopen send an Accept-Encoding header?

2010-12-21 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue10755] Add posix.fdlistdir

2010-12-21 Thread Ross Lagerwall
New submission from Ross Lagerwall : Along with #4761, the *at wrappers, it would be nice to have a patch adding the use of fdopendir. This patch adds a function fdlistdir, a unittest and documentation. -- components: Extension Modules files: i_fdlistdir.patch keywords: patch messages:

[issue10754] os.path.isfile doesn't work with some greek characters

2010-12-21 Thread Martin v . Löwis
Martin v. Löwis added the comment: On Windows, using the bytes APIs for filenames is unreliable and fails for characters that are not in the ANSI code page. So you should use import os for i in os.listdir(u'.'): print os.path.isfile(i), '\t', i instead. -- nosy: +loewis

[issue4761] create Python wrappers for openat() and others

2010-12-21 Thread Ross Lagerwall
Ross Lagerwall added the comment: Ok, attached is a patch with the documentation updated as per recommendation. -- Added file: http://bugs.python.org/file20135/i4761_v3.patch ___ Python tracker

[issue2275] urllib2 header capitalization

2010-12-21 Thread Senthil Kumaran
Senthil Kumaran added the comment: I think, we need to move forward with this. It is one of the earliest i worked on. I shall look at John's patch and look through it's inclusion in the code. -- assignee: facundobatista -> orsenthil ___ Python track

[issue10754] os.path.isfile doesn't work with some greek characters

2010-12-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Just a random thought (no, I don't know anything about Windows): there are two "mu" characters: GREEK SMALL LETTER MU (μ) and MICRO SIGN (µ). Normalization turns one into the other: >>> from unicodedata import * >>> name(normalize('NFKC', '\N{MICRO SIG

[issue4369] Error building to a nonstandard prefix (with patch)

2010-12-21 Thread R. David Murray
R. David Murray added the comment: I'm not sure what "compiling using a user prefix" means. I've certainly specified a prefix containing my home directory and had things work just fine. There isn't enough information here to know what is actually going wrong. Since this issue is two years o

[issue10754] os.path.isfile doesn't work with some greek characters

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Since the os functions tend to be small wrappers around system functions, this sounds like it is probably a platform issue and not a Python issue. I'm adding our windows experts as nosy, they can reopen the issue if they disagree. -- nosy: +brian.cu

[issue4322] function with modified __name__ uses original name when there's an arg error

2010-12-21 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue10754] os.path.isfile doesn't work with some greek characters

2010-12-21 Thread Wang Yanjin
Wang Yanjin added the comment: I encoutered this problem on Winxp sp3. I have retested it on the win7, and it could return the correct value as it did on linux. -- ___ Python tracker

[issue2494] Can't round-trip datetimes<->timestamps prior to 1970 on Windows

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Indeed, the time module is documented as not handling timestamps before the epoch. -- nosy: +r.david.murray resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker

[issue4264] Patch: optimize code to use LIST_APPEND instead of calling list.append

2010-12-21 Thread R. David Murray
Changes by R. David Murray : -- type: -> feature request versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue2275] urllib2 header capitalization

2010-12-21 Thread R. David Murray
R. David Murray added the comment: No idea if this is even still valid (I skimmed the issue, I did not try to understand it in detail), but I agree that a change like this is more feature than bug fix, so I'm updating the issue settings accordingly. -- nosy: +r.david.murray type: beha

[issue10475] hardcoded compilers for LDSHARED/LDCXXSHARED on NetBSD

2010-12-21 Thread OBATA Akio
OBATA Akio added the comment: CC and CXX will be set in configure script if not set. -- versions: +Python 2.5, Python 2.6 ___ Python tracker ___

[issue4078] asyncore fixes are not backwards compatible

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Looks like Josiah just forgot to close this bug, so I'm closing it. -- nosy: +r.david.murray stage: -> committed/rejected status: open -> closed ___ Python tracker __

[issue3500] unbound methods of different classes compare equal

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Since 2.7 has been released and this behaviour could not be changed in a point release even if agreement that it was a good change was reached, and since it is meaningless in 3.x, I'm closing this issue. -- nosy: +r.david.murray resolution: -> rejec

[issue3405] Add support for the new data option supported by event generate (Tk 8.5)

2010-12-21 Thread R. David Murray
Changes by R. David Murray : -- stage: -> patch review type: -> feature request versions: +Python 3.3 -Python 2.6, Python 3.0 ___ Python tracker ___

[issue10754] os.path.isfile doesn't work with some greek characters

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Oh, yes, and it is likely to be important to know what OS you are on. I tested on linux. -- ___ Python tracker ___ _

[issue10754] os.path.isfile doesn't work with some greek characters

2010-12-21 Thread R. David Murray
R. David Murray added the comment: I am unable to reproduce this on any python from py3k trunk down to 2.6.6. Can you provide a complete test program that demonstrates the failure? (That is, it creates the file and then fails to detect it as a file with isfile.) -- nosy: +r.david.mu

[issue8275] callback function on win64 results in bad behavior. mem corruption?

2010-12-21 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Attaching a patch for the configuration changes mentioned in msg102544 -- keywords: +patch nosy: +srid Added file: http://bugs.python.org/file20134/issue8275_win64_ctypes_no_optimization.patch ___ Python tracker

[issue10754] os.path.isfile doesn't work with some greek characters

2010-12-21 Thread Wang Yanjin
New submission from Wang Yanjin : There is a file named "µTorrent.lnk" in the folder. Here is the code: #encoding=utf-8 import os for i in os.listdir('.'): print os.path.isfile(i), '\t', i a = input() and the output: True3.py False aμ汉字.txt TrueuTorrent.lnk False μTorrent.ln

[issue4489] shutil.rmtree is vulnerable to a symlink attack

2010-12-21 Thread K Richard Pixley
K Richard Pixley added the comment: How does "rm -rf" address this issue? Or does it? shutils.rmtree should probably do the same thing. -- nosy: +teamnoir ___ Python tracker __

[issue10724] socket.close close telnet with RST

2010-12-21 Thread sean216
Changes by sean216 : Removed file: http://bugs.python.org/file20090/telnet_unnormal RST.pcap ___ Python tracker ___ ___ Python-bugs-list maili

[issue10724] socket.close close telnet with RST

2010-12-21 Thread sean216
Changes by sean216 : Removed file: http://bugs.python.org/file20091/normal RST and fin.pcap ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10475] hardcoded compilers for LDSHARED/LDCXXSHARED on NetBSD

2010-12-21 Thread Nicolas Joly
Nicolas Joly added the comment: I do not tested it extensively, but seems so. nj...@petaure [temp/python27]> ./python Python 2.7.1+ (release27-maint:87432M, Dec 22 2010, 01:10:26) [GCC 4.1.3 20080704 prerelease (NetBSD nb2 20081120)] on netbsd5 Type "help", "copyright", "credits" or "license"

[issue8754] ImportError: quote bad module name in message

2010-12-21 Thread Éric Araujo
Éric Araujo added the comment: I set LANG and LC_ALL to C and tried to import a module with a non-ASCII name: $ ./python -m échec™♥ python: No module named '\udcc3\udca9chec\udce2\udc84\udca2\udce2\udc99\udca5' Is that a good enough test? I guess the “__main__ changes” you’re talking a

[issue10753] request_uri method of wsgiref module does not support RFC1808 params.

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Presumably all that is needed is to add ';' to 'safe' in the call that encodes PATH_INFO? -- nosy: +orsenthil, pje, r.david.murray versions: -Python 3.3 ___ Python tracker

[issue10753] request_uri method of wsgiref module does not support RFC1808 params.

2010-12-21 Thread Timothy Gates
New submission from Timothy Gates : Consider the URL making use of the RFC1808 param syntax... http://www/path;cookie=1234 The entire section '/path;cookie=1234' is passed in as PATH_INFO and so under the request_uri implementation it will be quoted > import wsgiref > wsgiref.request_uri({'ws

[issue10747] Include version info in Windows shortcuts

2010-12-21 Thread Sridhar Ratnakumar
Changes by Sridhar Ratnakumar : -- nosy: +srid ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10752] build_ssl.py is relying on unreliable behaviour of os.popen

2010-12-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: -> ocean-city nosy: +loewis, ocean-city ___ Python tracker ___ ___ Python-bugs-list mailing

[issue10752] build_ssl.py is relying on unreliable behaviour of os.popen

2010-12-21 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : I noticed that despite ActivePerl being installed, `os.popen(...).close()` returned 1 (see find_working_perl in build_ssl.py), while in actuality that command executed successfully with return code 0; I verified this by using the subprocess module. Her

[issue10751] WSGIREF - REMOTE_USER and REMOTE-USER collision

2010-12-21 Thread R. David Murray
Changes by R. David Murray : -- nosy: +pje ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10751] WSGIREF - REMOTE_USER and REMOTE-USER collision

2010-12-21 Thread Alex Raitz
New submission from Alex Raitz : Clients can overwrite 'REMOTE_USER' header variable value with an arbitrary 'Remote-User' value by specifying the later after the former. This has tricky implications when a proxy server is being used, namely that if the proxy passes a re-written REMOTE_USER bu

[issue10694] zipfile.py end of central directory detection not robust

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Xuanji: thanks for taking a crack at the test. Rather than adding another data file to the test directory, how about creating a zipfile using the zipfile module in the test, closing it, opening it as a file, writing the /r/n to it, and then opening it back u

[issue9285] A decorator for cProfile and profile modules

2010-12-21 Thread Lukas Lueg
Lukas Lueg added the comment: +1 -- nosy: +ebfe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue4871] zipfile can't decrypt

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Committed in r87430 (with message word order change), backported to 3.1 in r87431. Making the parallel change to 2.7 would be likely to break working code, IMO. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> clos

[issue9584] Allow curly brace expansion

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Nope, you've got it. After the final release of Python 3.2, please post to the issue to remind us about it, and someone will commit the patch. (For future Python releases we expect that the delays in our ability to commit feature patches will be much short

[issue9584] Allow curly brace expansion

2010-12-21 Thread Mathieu Bridon
Mathieu Bridon added the comment: > Thanks for the research and the updated patch. Unfortunately as > a feature request this is going to have to wait for 3.3 since we > missed the pre-beta window. Ok. This is my first patch to Python, so I'm not sure what I should do to get this in. Is keep

[issue4871] zipfile can't decrypt

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Thinking about this some more, it seems like the chance that someone is using bytearray to pass a password to zipfile is vanishingly small, especially since in non-optimized mode setpassword would have rejected it. So I think that this should go in. --

[issue9584] Allow curly brace expansion

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Thanks for the research and the updated patch. Unfortunately as a feature request this is going to have to wait for 3.3 since we missed the pre-beta window. -- versions: +Python 3.3 -Python 3.2 ___ Python tracker

[issue10750] "raw" attribute of buffered IO objects is assignable

2010-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you, committed in r87427 (3.2), r87428 (3.1) and r87429 (2.7). -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker _

[issue4761] create Python wrappers for openat() and others

2010-12-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: The docs shouldn't use "[" to denote optional args. Rather, optional arguments can just be shown by their defaults. -- nosy: +benjamin.peterson ___ Python tracker _

[issue10750] "raw" attribute of buffered IO objects is assignable

2010-12-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: Ah, I see. LGTM then. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10750] "raw" attribute of buffered IO objects is assignable

2010-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le mardi 21 décembre 2010 à 20:36 +, Benjamin Peterson a écrit : > Benjamin Peterson added the comment: > > 2010/12/21 Antoine Pitrou : > > > > Antoine Pitrou added the comment: > > > > Here is a patch. > > I assume you can put test_readonly_attributes i

[issue10750] "raw" attribute of buffered IO objects is assignable

2010-12-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/12/21 Antoine Pitrou : > > Antoine Pitrou added the comment: > > Here is a patch. I assume you can put test_readonly_attributes in CommonBufferTests? -- ___ Python tracker

[issue4761] create Python wrappers for openat() and others

2010-12-21 Thread Ross Lagerwall
Ross Lagerwall added the comment: Attached is an updated patch which: - fixes badly indented C code - uses support.unlink consistently - cleans up tests better using finally -- Added file: http://bugs.python.org/file20133/i4761_v2.patch ___ Python tr

[issue10750] "raw" attribute of buffered IO objects is assignable

2010-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file20132/io_roattrs.patch ___ Python tracker __

[issue10750] "raw" attribute of buffered IO objects is assignable

2010-12-21 Thread Antoine Pitrou
New submission from Antoine Pitrou : This really looks backwards: >>> f = open("LICENSE", "rb") >>> f.name = "bar" Traceback (most recent call last): File "", line 1, in AttributeError: attribute 'name' of '_io.BufferedReader' objects is not writable >>> f.raw = None __main__:1: ResourceWarni

[issue10746] ctypes c_long & c_bool have incorrect PEP-3118 type codes

2010-12-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue10254] unicodedata.normalize('NFC', s) regression

2010-12-21 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: In the new patch, issue10254b.diff, I've added a test that would crash unpatched code: >>> unicodedata.normalize('NFC', 'C̸C̸C̸C̸C̸C̸C̸C̸C̸C̸C̸C̸C̸C̸C̸C̸C̸C̸C̸C̸Ç') Segmentation fault Martin, I still feel uneasy about the fixed size of the skipped buffe

[issue10746] ctypes c_long & c_bool have incorrect PEP-3118 type codes

2010-12-21 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10694] zipfile.py end of central directory detection not robust

2010-12-21 Thread Georg Brandl
Georg Brandl added the comment: "High" is not near high enough to get noticed before the release :) -- nosy: +georg.brandl priority: high -> deferred blocker ___ Python tracker

[issue10735] platform.architecture() gives misleading results for OS X multi-architecture executables

2010-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm committing a doc update in r87421 with a suggestion to use sys.maxsize. I'll let Marc-André decide how to deal with the rest of the patch. -- ___ Python tracker _

[issue10744] ctypes arrays have incorrect buffer information (PEP-3118)

2010-12-21 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10749] lots of warnings when generating logging docs

2010-12-21 Thread Georg Brandl
Georg Brandl added the comment: Will vanish after a full rebuild; the duplicate detection is a bit buggy in Sphinx when the documents are read in the wrong order. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed ___ Python trac

[issue10749] lots of warnings when generating logging docs

2010-12-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10749] lots of warnings when generating logging docs

2010-12-21 Thread Antoine Pitrou
New submission from Antoine Pitrou : "make html" in the Doc directory and then: [...] /home/antoine/py3k/__svn__/Doc/howto/logging.rst:507: WARNING: duplicate object description of logging.logging.Formatter.__init__, other instance in /home/antoine/py3k/__svn__/Doc/library/logging.rst, use :no

[issue10735] platform.architecture() gives misleading results for OS X multi-architecture executables

2010-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Adding a warning sounds like a good idea. Is it reasonable to include > a recommended cross-platform approach in the platform doc, like either > the sys.maxsize test or the struct.calsize("P") test (which is used as > a default fallback in platform.architectu

[issue10744] ctypes arrays have incorrect buffer information (PEP-3118)

2010-12-21 Thread R. David Murray
Changes by R. David Murray : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue4761] create Python wrappers for openat() and others

2010-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the patch. A couple of comments: - the C code is misindented in some places (using 8 spaces rather than 4) - you should use support.unlink consistently in the tests (rather than sometimes os.unlink or posix.unlink) - when cleaning up in tests (throug

[issue1243654] Faster output if message already has a boundary

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Committed test and fix in r87415, r87416, r87417. -- status: open -> closed ___ Python tracker ___ _

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-21 Thread Tarek Ziadé
Tarek Ziadé added the comment: Will do tonight -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-21 Thread Georg Brandl
Georg Brandl added the comment: OK, let's make this one. Tarek to the rescue! -- priority: deferred blocker -> release blocker ___ Python tracker ___ __

[issue10748] zipfile does not write empty ZIP structure if close() called after __init__() as doc suggests

2010-12-21 Thread Georg Brandl
Georg Brandl added the comment: We usually don't do this for bugfixes, but here it makes sense I guess. r87414. -- ___ Python tracker ___ ___

[issue10742] memoryview.readonly attribute is not documented

2010-12-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +mark.dickinson, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4761] create Python wrappers for openat() and others

2010-12-21 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: unit test needed -> patch review versions: +Python 3.3 -Python 3.2 ___ Python tracker ___ ___ Pyt

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed it should probably be a release blocker. I guess it has to do with (not) following symlinks, right? -- nosy: +pitrou ___ Python tracker ___

[issue10475] hardcoded compilers for LDSHARED/LDCXXSHARED on NetBSD

2010-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Does it work properly if CC and CXX are not defined by the user? (probably a naïve question, sorry) -- nosy: +pitrou stage: -> patch review type: -> behavior versions: +Python 3.1, Python 3.2 ___ Python tracker

[issue10733] plistlib rejects strings containing control characters

2010-12-21 Thread Ronald Oussoren
Ronald Oussoren added the comment: I agree with Martin that this is a tricky one. The file is problematic because it is invalid XML[1], however Apple's tools are perfectly happy to proces the file and as Mitchell notes plistlib exists to interoperate with Apple's plist files. I'm therefore

[issue10748] zipfile does not write empty ZIP structure if close() called after __init__() as doc suggests

2010-12-21 Thread Ian Stevens
Ian Stevens added the comment: Yes, I'm using 2.6. If this is not the expected behaviour in 2.6, the doc should reflect that with a "New in version 2.7" note. -- ___ Python tracker _

[issue10748] zipfile does not write empty ZIP structure if close() called after __init__() as doc suggests

2010-12-21 Thread Georg Brandl
Georg Brandl added the comment: This has been fixed in Python 2.7.1 (which the online docs refer to). I assume that you're using 2.6 or an earlier version. As for the code in SVN, the "trunk" is currently not in use; development happens in the "release27-maint", "release31-maint" and "py3k"

[issue10724] socket.close close telnet with RST

2010-12-21 Thread R. David Murray
R. David Murray added the comment: Regardless, Python doesn't generate the tcp/ip sequence numbers, the OS socket library does, so this is not a bug in Python. If you follow the code link I posted you will see that, other than Python internal bookkeeping, the only thing socket.close does is

[issue10748] zipfile does not write empty ZIP structure if close() called after __init__() as doc suggests

2010-12-21 Thread Ian Stevens
New submission from Ian Stevens : The zipfile documentation (http://docs.python.org/library/zipfile.html) states: "If the file is created with mode 'a' or 'w' and then close()d without adding any files to the archive, the appropriate ZIP structures for an empty archive will be written to the f

[issue4761] create Python wrappers for openat() and others

2010-12-21 Thread Ross Lagerwall
Ross Lagerwall added the comment: Attached is a patch that adds: faccessat, fchmodat, fchownat, fstatat, futimesat, linkat, mkdirat, mknodat, openat, readlinkat, renameat, symlinkat, unlinkat, utimensat and mkfifoat. Each function has documentation and a unit test and is conditionally included

[issue5879] multiprocessing - example "pool of http servers " fails on windows "socket has no attribute fromfd"

2010-12-21 Thread Mher Movsisyan
Mher Movsisyan added the comment: py3k does support socket.fromfd on Windows (#1378) -- nosy: +mher ___ Python tracker ___ ___ Python-

[issue10242] unittest's assertItemsEqual() method makes too many assumptions about its input

2010-12-21 Thread Michael Foord
Michael Foord added the comment: This is committed to 2.7 and 3.2 (using the old name assertItemsEqual in 2.7). As we're well into the beta cycle I don't think we can change the name in 3.2. The current failure output is very nice for comparing sequences like [1, 2, 3] vs [1, 2, 4]: Assertio

[issue10715] Command name missing from exception in subprocess.Popen

2010-12-21 Thread Eric Smith
Eric Smith added the comment: That change was just a tweak. The real change was in r86593. It references issue 4925, of which this is a duplicate. I'm closing this, if you want to follow the issue add yourself to 4925. -- resolution: -> duplicate stage: needs patch -> committed/rejec

[issue10715] Command name missing from exception in subprocess.Popen

2010-12-21 Thread Eric Smith
Eric Smith added the comment: This has already been fixed in 3.2: Python 3.2b2 (py3k:87413, Dec 21 2010, 07:09:13) [GCC 4.1.2 20070626 (Red Hat 4.1.2-13)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import subprocess >>> subprocess.Popen(['foo']) Traceb

[issue10747] Include version info in Windows shortcuts

2010-12-21 Thread Nick Coghlan
New submission from Nick Coghlan : This issue is to propose specific wording to Martin for inclusion of version details in the Windows shortcuts. This is to make the shortcuts easier to use when the hierarchical menu information is lost for any reason (e.g frequently used program list, searchi

[issue10475] hardcoded compilers for LDSHARED/LDCXXSHARED on NetBSD

2010-12-21 Thread OBATA Akio
OBATA Akio added the comment: This patch is also required for DragonFly, or libpython will not linked against libpthread and broken library. -- nosy: +obache ___ Python tracker ___

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2010-12-21 Thread Steven Bethard
Steven Bethard added the comment: Yep, I believe that fix should work. Now to find the time to write some tests... -- nosy: +bethard stage: -> unit test needed versions: -Python 3.1 ___ Python tracker __

[issue9355] argparse add_mutually_exclusive_group more than once has incorrectly formatted help

2010-12-21 Thread Steven Bethard
Changes by Steven Bethard : -- stage: needs patch -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue10724] socket.close close telnet with RST

2010-12-21 Thread sean216
sean216 added the comment: > Note that in your sample capture, I don't see any invalid sequence/ack number. please check telnet_unnormal RST.pcap in No. 1600-1602,the 1602 RST meseage is the invalid sequence/ack number 172. -- status: closed -> open __

[issue9584] Allow curly brace expansion

2010-12-21 Thread Mathieu Bridon
Mathieu Bridon added the comment: This is the right patch, sorry for all the mail spam. :-/ -- Added file: http://bugs.python.org/file20129/0001-Curly-brace-expansion-in-glob.patch ___ Python tracker _

[issue9584] Allow curly brace expansion

2010-12-21 Thread Mathieu Bridon
Changes by Mathieu Bridon : Removed file: http://bugs.python.org/file20128/0001-Curly-brace-expansion-in-glob.patch.old ___ Python tracker ___ ___

[issue9584] Allow curly brace expansion

2010-12-21 Thread Mathieu Bridon
Mathieu Bridon added the comment: Same patch, but rebased to the current trunk so it still applies. -- Added file: http://bugs.python.org/file20128/0001-Curly-brace-expansion-in-glob.patch.old ___ Python tracker _

[issue9584] Allow curly brace expansion

2010-12-21 Thread Mathieu Bridon
Changes by Mathieu Bridon : Removed file: http://bugs.python.org/file19451/0001-Curly-brace-expansion-in-glob.patch ___ Python tracker ___ ___

[issue10715] Command name missing from exception in subprocess.Popen

2010-12-21 Thread Eric Smith
Changes by Eric Smith : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10715] Command name missing from exception in subprocess.Popen

2010-12-21 Thread Eric Smith
Changes by Eric Smith : -- title: uninformative error message -> Command name missing from exception in subprocess.Popen ___ Python tracker ___ _

[issue10715] uninformative error message

2010-12-21 Thread Eric Smith
Eric Smith added the comment: Here's a code snippet that shows the problem: >>> import subprocess >>> subprocess.Popen(['foo']) Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.5/subprocess.py", line 593, in __init__ errread, errwrite) File "/usr/lib/pyth

[issue10715] uninformative error message

2010-12-21 Thread Eric Smith
Eric Smith added the comment: Because you're sending email as HTML, the message shows up both as plain text and as an attachment. It's the attachments that are being removed. If you could, please stop sending HTML email. -- ___ Python tracker

[issue10715] uninformative error message

2010-12-21 Thread Eric Smith
Changes by Eric Smith : Removed file: http://bugs.python.org/file20126/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue10694] zipfile.py end of central directory detection not robust

2010-12-21 Thread Xuanji Li
Xuanji Li added the comment: Sorry, forgot to add: README.zip should have a \r\n at the end. Actually I just zipped up README, ran echo "\r\n" >> README.zip and put it in Lib/test. -- ___ Python tracker _

[issue10694] zipfile.py end of central directory detection not robust

2010-12-21 Thread Xuanji Li
Xuanji Li added the comment: Hi KevinH, sorry if I gave the wrong impression that you must submit a patch before anyone will look at the bug. I thought you wanted to provide a patch for this. If you only want to report a bug that is ok, thanks for that. I have confirmed your bug on the py3k b