New submission from Evan :
(I'm brand new to Python.org, apologies in advance if this has been
recorded elsewhere or is not a bug)
I've a simple script which fetching a url using httplib/urllib2 and then
simply searches the HTML for a string. Works on every URL I've tried
apa
Evan Driscoll added the comment:
Hah, I totally forgot about this thing.
I'd suggest a change to the proposed patch. The patched version says:
"In nearly all cases, ``join(head, tail)`` returns a location
equivalent to *path* (the only exception being when there were
multip
Evan Dandrea added the comment:
David,
Thanks for the pointers. I've updated the patch hopefully adequately addressing
your concerns.
--
components: +Interpreter Core -Library (Lib)
type: behavior ->
Added file:
http://bugs.python.org/file21277/tarfile-fix-multiple-exce
Changes by Evan Dandrea :
Removed file:
http://bugs.python.org/file21223/tarfile-fix-multiple-exception-on-enoent.patch
___
Python tracker
<http://bugs.python.org/issue11
New submission from Evan Dandrea :
I've expanded the coverage of the posixpath test. The following scenarios have
been added:
- lexists with a non-existent file.
- ismount with binary data.
- ismount with a directory that is not a mountpoint.
- ismount with a non-existent file.
- is
Changes by Evan Dandrea :
--
nosy: +michael.foord
___
Python tracker
<http://bugs.python.org/issue11503>
___
___
Python-bugs-list mailing list
Unsubscribe:
Evan Dandrea added the comment:
Fixed a typo in the previous patch.
--
Added file: http://bugs.python.org/file21124/test_posixpath.patch
___
Python tracker
<http://bugs.python.org/issue11
Evan Dandrea added the comment:
Added an updated patch that includes testing whether ismount would succeed by
faking path being on a different device from its parent.
--
Added file:
http://bugs.python.org/file21125/test_posixpath_with_same_device.patch
Evan Dandrea added the comment:
It's probably best to give the fake stats inode numbers, so if the code does
fail to check the st_dev fields, it will fail the test. I've updated the patch
with this.
--
Added file:
http://bugs.python.org
New submission from Evan Dandrea :
Using Python tip from Sunday, I noticed that tarfile does not elegantly handle
ENOENT by raising a single exception:
>>> tarfile.TarFile.gzopen('fdsfd', 'r')
Traceback (most recent call last):
File "/home/evan/hg/cpyt
New submission from Evan Dandrea :
Passing the format keyword parameter to shutil.unpack_archive triggers an
exception:
Traceback (most recent call last):
File "Lib/test/test_shutil.py", line 650, in test_unpack_archive
unpack_archive(filename, tmpdir2, format=format)
File &
Evan Dandrea added the comment:
Updated the patch to address Michael's concerns.
--
Added file:
http://bugs.python.org/file21221/test_posixpath_with_same_device.patch
___
Python tracker
<http://bugs.python.org/is
Evan Dandrea added the comment:
I've looked at the sameopenfile code, and can see no reason why it would not
work on Windows. I've asked Brian to verify this.
--
___
Python tracker
<http://bugs.python.o
Evan Dandrea added the comment:
I haven't used addCleanup here, but have noted it for the future. In this
case, using it would require adding another function to handle the
reassignment, which I think is a bit more messy than the extra bit of
indent
Evan Dandrea added the comment:
*facepalm* Indeed, thanks for pointing that out and nice catch on the race
condition. Attached is a patch to fix the issue as you've suggested, and adds
a test case for it.
--
keywords: +patch
Added file:
http://bugs.python.org/file21222/tarfil
Changes by Evan Dandrea :
Added file:
http://bugs.python.org/file21223/tarfile-fix-multiple-exception-on-enoent.patch
___
Python tracker
<http://bugs.python.org/issue11
Changes by Evan Dandrea :
Removed file:
http://bugs.python.org/file21222/tarfile-fix-multiple-exception-on-enoent.patch
___
Python tracker
<http://bugs.python.org/issue11
Changes by Evan Dandrea :
Added file: http://bugs.python.org/file21228/fix_unpack_with_format.patch
___
Python tracker
<http://bugs.python.org/issue11548>
___
___
Pytho
Changes by Evan Dandrea :
Removed file: http://bugs.python.org/file21196/fix_unpack_with_format.patch
___
Python tracker
<http://bugs.python.org/issue11548>
___
___
Pytho
New submission from Evan Dandrea :
The attached patch increases the coverage in shutil. It makes the following
changes:
- Tests the code paths for file and directory copies across filesystems by
mocking out rename.
- Adds a test for shutil.copy.
- Adds a test for shutil.copy2.
- Tests
Changes by Evan Jones :
--
nosy: +evanj
___
Python tracker
<http://bugs.python.org/issue1043134>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Evan Jones :
--
nosy: +evanj
___
Python tracker
<http://bugs.python.org/issue4696>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
New submission from Evan Jones :
tarfile.open() with an empty tar archive fails with a ReadError
exception. GNU tar refuses to create empty archives, but tarfile allows
it. See the following code which reproduces the error. I used the
version of tarfile.py from subversion (revision 72458) with
Changes by Evan Jones :
--
title: tarfile: -> tarfile: opening an empty tar file fails
___
Python tracker
<http://bugs.python.org/issue6123>
___
___
Python-
Changes by Evan Behar :
--
nosy: +ebehar
___
Python tracker
<http://bugs.python.org/issue6081>
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.pyth
Evan Behar added the comment:
I think I've found the problem.
In configure:
13830 if test "${ac_cv_lib_intl_textdomain+set}" = set; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 else
13833 ac_check_lib_save_LIBS=$LIBS
13834 LIBS="-li
Evan Behar added the comment:
I applied Benjamin's new patch to the original files, but I receive the
same error, and the LIBS in the Makefile still only has -ldl and not -lintl.
--
___
Python tracker
<http://bugs.python.org/i
Evan Behar added the comment:
It works fine for my framework build on 10.4.11
--
___
Python tracker
<http://bugs.python.org/issue6154>
___
___
Python-bugs-list m
Evan Behar added the comment:
Nevermind, my bad. With Brett's patch, the build does not work with
--enable-framework
It appears that configure.in makes no assignment to FRAMEWORKLINK or
AC_SUBST call with it, and so it is deposited in the final Makefile
verbatim as @FRAMEWORKLINK
Evan Behar added the comment:
Curiously, if I define --with-pydebug I get
ld: Undefined symbols:
___eprintf
If I don't define --with-pydebug but I do use --enable-universalsdk I
get a whole different problem:
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-fno-s
Evan Behar added the comment:
I haven't got any library issues using --enable-universalsdk, it won't
get to the linking stage becaue it doesn't find libintl.h
And with --with-pydebug still doesn't build because it won't find
___eprintf, whatever that is.
The only
New submission from Evan Fosmark :
Right now, it seems impossible to use cgi.FieldStorage in 3.0 if you're
giving it environ['wsgi.input'] like so:
post_data = cgi.FieldStorage(
fp=environ["wsgi.input"],
environ=environ,
keep_blank_values=
New submission from Evan Driscoll :
The documentation for os.path.split says, in part:
"In nearly all cases, join(head, tail) equals path (the only
exception being when there were multiple slashes separating head
from tail)."
But this is not quite true: that's not the *
Evan Klitzke added the comment:
I'm also interested in seeing this fixed. In the current behavior, the
following code doesn't work:
<<< start code
from functools import wraps
def magic(func):
@wraps(func)
def even_more_magic(*args):
Evan Klitzke added the comment:
New patch included, with a test case.
I had wanted to check the classmethod __module__ thing directly, but that
proved to be elusive, since the classmethod gets the __module__ attribute if
the module is '__main__', and you can't delete that att
New submission from Evan Teran :
I have encountered an issue where python will do a request even when built
without IPv6. This becomes an issue because on some configurations this seems
to cause a 5 second delay on DNS lookups (that is a separate issue of course).
Basically here is what
New submission from Evan Greensmith :
In python 3.0 and 3.1, attempting to access a local variable from within
a list comprehension in a string passed to eval() causes a NameError.
Doesn't seem to be a problem in python 2.6
I have attempted to run the attached test cases (test_eval_co
37 matches
Mail list logo