Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8453
___
David Bolen db3l@gmail.com added the comment:
The buildbot user's shell is also bash, so not entirely sure yet why it's
behaving differently in my environment. I had completely forgotten about bash
having a default path.
I do agree that explicitly setting a minimal path is a good idea.
Ned Deily n...@acm.org added the comment:
+1. Thanks, all.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8453
___
___
Python-bugs-list mailing
STINNER Victor victor.stin...@haypocalc.com added the comment:
I'm not sure I understand the issue that this patch is supposed
to fix
It should fix all test_gdb errors :-)
in any case, I can report that it doesn't fix *this* issue.
I'm still getting the very same failures after applying
Senthil Kumaran orsent...@gmail.com added the comment:
Committed revision 80236 in the trunk. The build-bots should not hang now.
Shall merge to other branches too.
--
assignee: - orsenthil
resolution: - accepted
___
Python tracker
Lars Gustäbel l...@gustaebel.de added the comment:
0666 is the right mode and the patch is correct.
@Tarek: Why does shutil.make_archive() use mode w|... instead of w:...?
IMHO that is not necessary, because it works on regular files only.
--
___
Changes by Alexandre Conrad alexandre.con...@gmail.com:
--
nosy: +aconrad
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8190
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
So, here's what I am planing to do after a little thought:
When a dangling symlink occurs and symlinks=false, copytree() will just emit a
warning, unless the onerror option (new option) is set to a callable. In that
case it will receive the
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6547
___
___
Python-bugs-list mailing list
Stefan Krah stefan-use...@bytereef.org added the comment:
Committed fix (with the freebsd6 skips intact) in r80238, r80239, r80240
and r80241.
David, is it intentional that py3k doesn't have the freebsd6 fixes?
--
assignee: - skrah
resolution: - accepted
status: open - pending
Ronald Oussoren ronaldousso...@mac.com added the comment:
I've committed my proposed fix in r80243 (trunk)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8095
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Added in r80244. This new option willl be available in the next 3.2 release.
Until 3.2 is released, what you can do is catch the errors
and re-raise the ones that are not due to dangling symlinks:
(not tested)
from shutil import copytree,
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I agree with all your points.
The copystat error can be fixed right away and applied for 2.6 to 3.x
For other points, I'll change the way the Error works but this will require an
heavy deprecation process.
In the meantime I can document
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Mart,
I took over the maintenance of shutil, if you are interested in contributing a
bullet-proof version of rmtree, please drop a line at python-ideas, and let's
see what we can do in a new function maybe.
I'll be happy to review and
New submission from Anthon van der Neut ant...@mnt.org:
if you execute the following code from
cStringIO import StringIO
x = StringIO()
x.get_value()
you will see that the AttributeError line has a typo
it displays 'cStringIO.StringO' instead of 'cStringIO.StringIO'
this error is in line
Tarek Ziadé ziade.ta...@gmail.com added the comment:
That's because there's no simple, portable way to copy all metadata.
If you need to copy all of them you will need to use OS-specific APIs
--
assignee: - tarek
nosy: +tarek
resolution: - wont fix
status: open - closed
STINNER Victor victor.stin...@haypocalc.com added the comment:
Don't you port the fix to py3k?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8460
___
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
nosy: +tarek
resolution: - accepted
versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 3.0
___
Python tracker rep...@bugs.python.org
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: - tarek
nosy: +tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1666318
___
___
Senthil Kumaran orsent...@gmail.com added the comment:
Yes, definitely it needs to be ported. I realized that, py3k was in a bad shape
at moment.
File Lib/test/test_urllib2net.py, line 151, in _test_urls
import logging
File /home/senthil/python/py3k/Lib/logging/__init__.py, line 43, in
Eric Smith e...@trueblade.com added the comment:
From issue 8121:
That name is actually correct. cStringIO features two different types,
depending on whether you call cStringIO.StringIO() with or without an argument.
One is called StringI, the other StringO.
--
nosy: +eric.smith
Senthil Kumaran orsent...@gmail.com added the comment:
make distclean erased the problem. :) merged to py3k in r80256 and
release31-maint in r80257. Had merged to release26-maint in r80237
--
resolution: accepted - fixed
stage: - committed/rejected
status: open - closed
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
dependencies: +utf8, backslashreplace and surrogates
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8242
___
Mark Dickinson dicki...@gmail.com added the comment:
Stefan, you move too fast! I was going to review that second patch, honest!
I'm not 100% sure (David can probably confirm), but I think your
sys.stdout.write should be a sys.stderr.write.
--
status: pending - open
New submission from STINNER Victor victor.stin...@haypocalc.com:
On a non-Windows OS where _posixsubprocess is missing (subprocess uses the pure
Python implementation), if the child fails with a Python exception and the
exception message contains a surrogate character, message.encode() fails
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
components: +Unicode
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8467
___
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
dependencies: +subprocess: surrogates of the error message (Python
implementation on non-Windows)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8242
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
dependencies: +bz2: support surrogates in filename, and bytes/bytearray filename
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8242
STINNER Victor victor.stin...@haypocalc.com added the comment:
I haven't reviewed the patch in detail yet, but it seems to me that
it fixes independent issues.
Right. First I only wanted to fix import machinery, but then I fixed a lot of
indenpendent issues to test the patch on import. All
New submission from Mads Kiilerich m...@kiilerich.com:
The struct module is often used (at least by me) to implement protocols and
binary formats. That makes the exact sizes (number of bits/bytes) of the
different types very important.
Please add the sizes to for example the table on
Julian Andres Klode j...@jak-linux.org added the comment:
This bug still exists in Python 3.1.2.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6483
___
Stefan Krah stefan-use...@bytereef.org added the comment:
The Tiger buildbot triggers the message in build #31:
test_signal
test_itimer_virtual: timeout: likely cause: machine too slow or load too high.
But build #23 is ok.
--
___
Python tracker
Matthias Klose d...@debian.org added the comment:
Does Ubuntu use a small stack size?
it's 8192 on all architectures.
--
nosy: +doko
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7332
___
Matthias Klose d...@debian.org added the comment:
I'm told it's 10240 on Fedora 12, x86 and x86_64
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7332
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Allocate more than 16 bytes on the stack is never a good idea. Eg. Linux does
never resize the size automatically, and the only way to catch allocatation
failed error is to handle the SIGSEGV signal...
Remove buf allocated on the
Antoine Pitrou pit...@free.fr added the comment:
A 16KB stack buffer is tiny compared to a 8MB stack. I'm not sure removing that
buffer would really fix the problems.
Perhaps other threads get a smaller stack?
--
___
Python tracker
Eric Smith e...@trueblade.com added the comment:
A couple of points:
Didn't we decide that instead of using:
openlog(ident[, logopt[, facility]])
we'd use:
openlog(ident, logopt=None, facility=None)
(or whatever the defaults are)? I can't find a reference, but the argument was
that it's
Antoine Pitrou pit...@free.fr added the comment:
What's the value of MAXPATHLEN and PATH_MAX on those systems?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7332
___
Charles-Francois Natali neolo...@free.fr added the comment:
The problem is highlighted with recursive imports:
a module which imports another module, which imports another module, etc.
PyMarshal_ReadLastObjectFromFile is not the only function to use
stack-allocated buffers, there are also
Charles-Francois Natali neolo...@free.fr added the comment:
It really looks like a broken compiler: if you want to convince yourself,
perform a disassembly of the crashing code.
I'd suggest to close this one.
--
nosy: +neologix
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
The problem is highlighted with recursive imports:
a module which imports another module, which imports another module,
etc. PyMarshal_ReadLastObjectFromFile is not the only function to use
stack-allocated buffers, there are also
STINNER Victor victor.stin...@haypocalc.com added the comment:
Another solution: disable call to PyErr_CheckSignals() in mywrite().
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8124
___
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
It is very easy to generate the size table programmatically:
for c in xcbB?hHiIlLqQfdspP:
... print(c, struct.calcsize(c))
...
x 1
c 1
b 1
B 1
? 1
h 2
H 2
i 4
I 4
l 8
L 8
q 8
Q 8
f 4
d 8
s 1
p 1
P 8
However, all
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I have just added this feature yesterday, see #1540112.
Thanks!
--
resolution: - duplicate
status: open - closed
superseder: - Allow choice of copy function in shutil.copytree
___
Python tracker
Timothee Besset tt...@idsoftware.com added the comment:
Good stuff. Didn't occur to me that the operation could have successfully
completed before raising the exception
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6547
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Thanks for your work on Quake btw ;)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6547
___
resc thomat...@gmail.com added the comment:
Hi,
I'm working on reproducing this again, but it's always been a very
sporadic bug, and I haven't gotten a bingo yet.
- return the result of ulimit -s on their box
8192
- return the result of ltrace -e pthread_attr_setstacksize command
used to start
Timothee Besset tt...@idsoftware.com added the comment:
My pleasure! We do use a lot of python.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6547
___
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
My patch includes unit tests and I tested it on Mac OS X. Anand, what kind of
testing do you have in mind?
--
versions: +Python 2.7, Python 3.2, Python 3.3
___
Python tracker
Matthias Klose d...@debian.org added the comment:
PATH_MAX/MAXPATHLEN is 4096
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7332
___
___
Mark Dickinson dicki...@gmail.com added the comment:
As Alexander says, *all* the sizes except those for bytes are
platform-dependent: there are platforms where sizeof(short) isn't 2, for
example, or where sizeof(int) isn't 4.
It would be possible to add the 'standard' sizes to that table
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
resolution: - accepted
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8295
___
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
On Tue, Apr 20, 2010 at 10:30 AM, Mark Dickinson rep...@bugs.python.org wrote:
..
It would be possible to add the 'standard' sizes to that table (i.e. the
sizes that you get when using '', '', etc.); would that be
R. David Murray rdmur...@bitdance.com added the comment:
I don't think bash itself has a default path, I think the default path is set
by the system bash profile, and is therefore system dependant. I could be
wrong, though.
--
nosy: +r.david.murray
R. David Murray rdmur...@bitdance.com added the comment:
The only reason the freebsd6 skips aren't in py3k is that I wanted to make sure
they worked first, and then I was on vacation and haven't gotten to the merge
yet. If you want to merge your patch before I get to it, feel free to merge
R. David Murray rdmur...@bitdance.com added the comment:
The argument documentation style change was made for py3k. The old convention
is still used in the 2.x docs.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
This is certainly not a bug, so I don't think targeting 2.7 is appropriate. I
have explained in a comment on issue2706 (see msg75917) why I believe true
division of timedelta by int should not be supported. In short, true
New submission from phep patrice.pil...@teletopie.net:
Since cmd.cmdloop() says:
# ...
self.stdout.write(str(self.intro)+\n)
#
one cannot use unicode characters in cmd.cmd.intro, for example the copyright
(©) character (u'\xa9').
TIA
--
messages: 103726
nosy: phep
severity:
Aaron Sherman a...@ajs.com added the comment:
Matthew, thank you for replying. I still think the primary issue is the
potential for confusion between single digit escapes and backreferences, and
the ease with which they could be addressed, but to cover what you said:
Quote: the normal way to
New submission from Lennart Regebro rege...@gmail.com:
If we return unicode, SpoofOut's buf variable becomes automagically converted
to unicode. This means all subsequent output becomes converted to unicode, and
if the output contains non-ascii characters that fails.
That means that
Changes by Éric Araujo mer...@netwok.org:
--
components: +Distutils2 -Distutils
versions: +Python 2.5, Python 3.1, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5243
___
Alexandre Conrad alexandre.con...@gmail.com added the comment:
worksforme:
test_run (distutils2.tests.test_build_clib.BuildCLibTestCase) ... ok
Python 2.6.2 on Ubuntu 9.04
--
nosy: +aconrad
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Hello
Tarek, could you briefly explain the arguments that convinced you?
If MANIFEST.in is removed, perhaps we could use convention instead of
configuration to categorize files, like what DistutilsExtra does:
Changes by Matthias Klose d...@debian.org:
--
nosy: +doko
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8437
___
___
Python-bugs-list mailing list
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
I am +1 for adding these features and I have only one comment on the code:
It is documented in time.strptime() documentation that
The default values used to fill in any missing data when more accurate values
cannot be
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
BTW, it does not bother me that date.strptime()
seems a bit odd, given that it cannot accept a time part. To me time in
strptime means time specification that may include date, time or even just
month. If parsed
New submission from Alexander Myodov amyo...@gmail.com:
The documentation (eg at
http://docs.python.org/release/2.6.5/library/functions.html#filter) tells that
there should be an itertools.filterfalse() function complementary to builtin
filter() function, that returns the list of elements
Facundo Batista facu...@taniquetil.com.ar added the comment:
I'm ok with the proposed changes from Sidnei (yes, a patch is needed).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4079
___
New submission from Lennart Regebro rege...@gmail.com:
If the doctest file has both Windows and unix lineendings you get an error.
Yeah, I know, it's not a serious bug, but it's also easy to fix.
Attached patch with test. Seems to not be an issue on Python 3.
--
components: Extension
Changes by Alexander Myodov amyo...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8472
___
___
Python-bugs-list
Changes by Andres Moreira elkpich...@gmail.com:
--
nosy: +andrix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7946
___
___
Python-bugs-list
Ezio Melotti ezio.melo...@gmail.com added the comment:
That line has been added first on py3k where the function is called
'itertools.filterfalse' and then ported to 2.x. Most likely the 'i' has been
forgotten.
A new filterfalse function can't be added to 2.7 because it's already in beta.
I
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file:
http://bugs.python.org/file16997/add-conditions-for-gdb.Frame.select-to-trunk.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8437
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file16998/test_gdb-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8437
___
Éric Araujo mer...@netwok.org added the comment:
This has been done in Distutils2, see
http://hg.python.org/distutils2/rev/18dc3dba4075 and
http://hg.python.org/distutils2/rev/98b70f92bf0a
Changing component and closing the bug, please reopen if I’m wrong :)
Regards
--
resolution:
Alexander Myodov amyo...@gmail.com added the comment:
In this case, I'd suggest to rephrase it to See :func:`itertools.ifilterfalse`
for the complementary function that returns the iterator over the elements of
*iterable* for which *function* returns false., or even remove this line at
all
New submission from Shashwat Anand anand.shash...@gmail.com:
In trunk/Lib/email/test/test_email.py, test_default_cte() is repeated twice,
one being the subset of other. Attached patch resolve the duplicity.
--
components: Library (Lib)
files: test_email.patch
keywords: patch
messages:
Changes by Noufal nou...@nibrahim.net.in:
--
nosy: +noufal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3132
___
___
Python-bugs-list mailing
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Suggestion for Py2.x:
See :func:`itertools.ifilter` and :func:`itertools.ifilterfalse`
for iterator versions of this function, including a variation that filters for
elements where the *function* returns *False*).
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8092
___
___
Python-bugs-list mailing
STINNER Victor victor.stin...@haypocalc.com added the comment:
New version without the hardcoded limit: don't use goto encodeUCS4;, chain if
to limit indentation depth: it only costs one copy of the UCS4 (5 lines are
duplicated).
The buffer is now reallocated each time a surrogate escape is
Martin v. Löwis mar...@v.loewis.de added the comment:
I'm attaching the full output. It's the same as the one in the original report
(msg103442) still.
--
Added file: http://bugs.python.org/file17011/test_gdb.txt
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
Bill, I think we should move forward with this. Do you agree that removing the
timeout dance is the right solution?
--
nosy: +pitrou
priority: - high
versions: +Python 2.7
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
I had never seen this issue but committed almost exactly the same feature in
r80151. The parameters is named ciphers rather than cipher_list and allows
you to override the allowed ciphers when creating an SSL object. It will be
available in
Martin v. Löwis mar...@v.loewis.de added the comment:
Amaury, I fail to see how the error you get on Windows is related to this
issue. AFAICT, neither the issue nor the patch affects Windows at all.
Closing the issue as fixed.
If you think there is also an issue on Windows, please submit a
Martin v. Löwis mar...@v.loewis.de added the comment:
Amaury, I'm closing this for the same reason I explained in msg103745
--
nosy: +loewis
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Stefan Krah stefan-use...@bytereef.org added the comment:
Confirmed on FreeBSD-6.4/py3k. Threading causes the problem, the skip
works here, too.
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8263
Antoine Pitrou pit...@free.fr added the comment:
Too late for 2.7 now, but looks like a good idea.
--
nosy: +pitrou
priority: - normal
stage: - patch review
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
The new ciphers argument in trunk and py3k should do the trick, shouldn't it?
Do note that starting with OpenSSL 1.0.0, SSLv2 is disabled by default when
using the SSLv23 client method (you can re-enable it by specifying ALL for
the cipher
Antoine Pitrou pit...@free.fr added the comment:
Probably a duplicate of issue5238.
--
nosy: +pitrou
resolution: - duplicate
status: open - closed
superseder: - ssl makefile never closes socket
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +giampaolo.rodola
versions: +Python 3.2 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5238
___
Antoine Pitrou pit...@free.fr added the comment:
Duplicate of issue5639.
--
nosy: +pitrou
resolution: - duplicate
status: open - closed
superseder: - Support TLS SNI extension in ssl module
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
Removed file: http://bugs.python.org/file9298/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1926
___
___
Changes by Antoine Pitrou pit...@free.fr:
Removed file: http://bugs.python.org/file9309/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1926
___
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
I've fixed this issue in all branches and can now do clean builds.
BTW. Builds with the 10.4u SDK on OSX fail at the moment for 2.7 and 3.2,
that's due to issue 7724, I've attached a patch to that issue that should fix
it (for the
Changes by Antoine Pitrou pit...@free.fr:
--
versions: +Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4470
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
The attached patch (for the trunk) fixes this issue on my machine.
The patch also fixes issue 8444.
I wouldn't mind some review of the patch, it does affect core bits of setup.py.
--
keywords: +needs review
stage: needs patch -
Senthil Kumaran orsent...@gmail.com added the comment:
I added an additional invalid test which David pointed out and made changes to
invalid url checking code. I moved it more higher level.
- The reason for doing this is, invalid url test code (which is very specific
for '[' enclosed ']'
Ronald Oussoren ronaldousso...@mac.com added the comment:
I've attached a patch that fixes this issue to issue 7724.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8444
___
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: accepted -
versions: +Python 3.2 -Python 2.6, Python 2.7, Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4870
1 - 100 of 154 matches
Mail list logo