Xuanji Li xua...@gmail.com 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
Xuanji Li xua...@gmail.com 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 rep...@bugs.python.org
Changes by Eric Smith e...@trueblade.com:
Removed file: http://bugs.python.org/file20126/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10715
___
Eric Smith e...@trueblade.com 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.
--
___
Eric Smith e...@trueblade.com added the comment:
Here's a code snippet that shows the problem:
import subprocess
subprocess.Popen(['foo'])
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python2.5/subprocess.py, line 593, in __init__
errread, errwrite)
Changes by Eric Smith e...@trueblade.com:
--
title: uninformative error message - Command name missing from exception in
subprocess.Popen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10715
Changes by Eric Smith e...@trueblade.com:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10715
___
___
Python-bugs-list
Changes by Mathieu Bridon boche...@fedoraproject.org:
Removed file:
http://bugs.python.org/file19451/0001-Curly-brace-expansion-in-glob.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9584
___
Mathieu Bridon boche...@fedoraproject.org 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
Mathieu Bridon boche...@fedoraproject.org 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 rep...@bugs.python.org
sean216 taoyuan-...@163.com 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
Changes by Steven Bethard steven.beth...@gmail.com:
--
stage: needs patch - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9355
___
Steven Bethard steven.beth...@gmail.com 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 rep...@bugs.python.org
OBATA Akio ob...@lins.jp added the comment:
This patch is also required for DragonFly, or libpython will not linked against
libpthread and broken library.
--
nosy: +obache
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10475
New submission from Nick Coghlan ncogh...@gmail.com:
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
Eric Smith e...@trueblade.com 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'])
Eric Smith e...@trueblade.com 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
Michael Foord mich...@voidspace.org.uk 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]
Mher Movsisyan mher.movsis...@gmail.com added the comment:
py3k does support socket.fromfd on Windows (#1378)
--
nosy: +mher
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5879
___
Ross Lagerwall rosslagerw...@gmail.com 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
New submission from Ian Stevens iancstev...@gmail.com:
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
R. David Murray rdmur...@bitdance.com 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
Georg Brandl ge...@python.org 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
Ian Stevens iancstev...@gmail.com 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 rep...@bugs.python.org
Ronald Oussoren ronaldousso...@mac.com 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
Antoine Pitrou pit...@free.fr 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
___
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org
http://bugs.python.org/issue10743
Changes by Antoine Pitrou pit...@free.fr:
--
stage: unit test needed - patch review
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4761
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +mark.dickinson, ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10742
___
___
Georg Brandl ge...@python.org added the comment:
We usually don't do this for bugfixes, but here it makes sense I guess. r87414.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10748
___
Georg Brandl ge...@python.org added the comment:
OK, let's make this one. Tarek to the rescue!
--
priority: deferred blocker - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10743
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Will do tonight
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10743
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Committed test and fix in r87415, r87416, r87417.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1243654
___
Antoine Pitrou pit...@free.fr 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
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10744
___
___
Antoine Pitrou pit...@free.fr 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
New submission from Antoine Pitrou pit...@free.fr:
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
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +d...@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10749
___
___
Python-bugs-list
Georg Brandl ge...@python.org 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
Changes by Georg Brandl ge...@python.org:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10744
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
High is not near high enough to get noticed before the release :)
--
nosy: +georg.brandl
priority: high - deferred blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10694
Changes by Georg Brandl ge...@python.org:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10746
___
___
Python-bugs-list mailing
Alexander Belopolsky belopol...@users.sourceforge.net 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
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10746
___
___
Python-bugs-list
New submission from Antoine Pitrou pit...@free.fr:
This really looks backwards:
f = open(LICENSE, rb)
f.name = bar
Traceback (most recent call last):
File stdin, line 1, in module
AttributeError: attribute 'name' of '_io.BufferedReader' objects is not writable
f.raw = None
__main__:1:
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org
Ross Lagerwall rosslagerw...@gmail.com 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
Benjamin Peterson benja...@python.org added the comment:
2010/12/21 Antoine Pitrou rep...@bugs.python.org:
Antoine Pitrou pit...@free.fr added the comment:
Here is a patch.
I assume you can put test_readonly_attributes in CommonBufferTests?
--
Antoine Pitrou pit...@free.fr added the comment:
Le mardi 21 décembre 2010 à 20:36 +, Benjamin Peterson a écrit :
Benjamin Peterson benja...@python.org added the comment:
2010/12/21 Antoine Pitrou rep...@bugs.python.org:
Antoine Pitrou pit...@free.fr added the comment:
Here is a
Benjamin Peterson benja...@python.org added the comment:
Ah, I see. LGTM then.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10750
___
___
Benjamin Peterson benja...@python.org 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 rep...@bugs.python.org
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com 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
R. David Murray rdmur...@bitdance.com 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
Mathieu Bridon boche...@fedoraproject.org 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
R. David Murray rdmur...@bitdance.com 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
R. David Murray rdmur...@bitdance.com 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
Lukas Lueg lukas.l...@gmail.com added the comment:
+1
--
nosy: +ebfe
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9285
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com 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
New submission from Alex Raitz alex.ra...@gmail.com:
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
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +pje
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10751
___
___
Python-bugs-list
New submission from Sridhar Ratnakumar sridh...@activestate.com:
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
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - ocean-city
nosy: +loewis, ocean-city
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10752
___
Changes by Sridhar Ratnakumar sridh...@activestate.com:
--
nosy: +srid
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10747
___
___
New submission from Timothy Gates tim.ga...@gmail.com:
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
R. David Murray rdmur...@bitdance.com 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
Éric Araujo mer...@netwok.org 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__
Nicolas Joly nj...@pasteur.fr 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
Changes by sean216 taoyuan-...@163.com:
Removed file: http://bugs.python.org/file20091/normal RST and fin.pcap
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10724
___
Changes by sean216 taoyuan-...@163.com:
Removed file: http://bugs.python.org/file20090/telnet_unnormal RST.pcap
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10724
___
K Richard Pixley r...@noir.com 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 rep...@bugs.python.org
http://bugs.python.org/issue4489
New submission from Wang Yanjin wyj1...@gmail.com:
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
Sridhar Ratnakumar sridh...@activestate.com 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
R. David Murray rdmur...@bitdance.com 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.)
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org
http://bugs.python.org/issue10754
Changes by R. David Murray rdmur...@bitdance.com:
--
stage: - patch review
type: - feature request
versions: +Python 3.3 -Python 2.6, Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3405
R. David Murray rdmur...@bitdance.com 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
R. David Murray rdmur...@bitdance.com 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 rep...@bugs.python.org
OBATA Akio ob...@lins.jp added the comment:
CC and CXX will be set in configure script if not set.
--
versions: +Python 2.5, Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10475
R. David Murray rdmur...@bitdance.com 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:
Changes by R. David Murray rdmur...@bitdance.com:
--
type: - feature request
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4264
___
R. David Murray rdmur...@bitdance.com 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
Wang Yanjin wyj1...@gmail.com 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 rep...@bugs.python.org
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4322
___
R. David Murray rdmur...@bitdance.com 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.
R. David Murray rdmur...@bitdance.com 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
Alexander Belopolsky belopol...@users.sourceforge.net 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 *
Senthil Kumaran orsent...@gmail.com 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
Ross Lagerwall rosslagerw...@gmail.com 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 rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de 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.
--
New submission from Ross Lagerwall rosslagerw...@gmail.com:
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
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8732
___
___
New submission from kai zhu kaizhu...@gmail.com:
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)
function lambda at 0xb7c7e12c
exit()
Error
94 matches
Mail list logo