Nir Aides n...@winpdb.org added the comment:
On Thu, Apr 29, 2010 at 2:03 AM, David Beazley wrote:
Wow, that is a *really* intriguing performance result with radically
different behavior than Unix. Do you have any ideas of what might be causing
it?
Instrument the code and I'll send you a
Andrew Straw ast...@users.sourceforge.net added the comment:
Barry, stdeb does much of what you're describing. (Try the python setup.py
sdist_dsc command.)
I'm not particularly pleased with the stdeb codebase as it stands, but it does
work reasonably well, and I'd like to see progress in this
Florent Xicluna florent.xicl...@gmail.com added the comment:
+1 to force -bb on buildbots
-1 to hack regrtest.
IMHO it should be added to ./Makefile.pre.in and PCbuild/rt.bat, like other
warning switches ( -Wd -tt -3).
--
nosy: +flox
type: - feature request
STINNER Victor victor.stin...@haypocalc.com added the comment:
+1 to force -bb on buildbots
I think that it's already enabled, but I'm not sure.
-1 to hack regrtest
Does someone use runtests.sh? We should maybe improve this script instead of
regrtest.py.
--
Tarek Ziadé ziade.ta...@gmail.com added the comment:
The whole error handling in rmtree strikes me as something that cannot be used
efficiently. (see also #7969).
How can you decide in an isolated function, that can be called anywhere in the
tree you want to remove, the proper thing to do ?
Antoine Pitrou pit...@free.fr added the comment:
Committed in r80610. Thanks!
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7834
New submission from Mark Dickinson dicki...@gmail.com:
http://speleotrove.com/decimal/daexcep.html specifies a precedence for decimal
exceptional conditions (scroll right to the bottom of the page):
The Clamped, Inexact, Rounded, and Subnormal conditions can coincide with
each other or with
Changes by Mark Dickinson dicki...@gmail.com:
--
nosy: +facundobatista, rhettinger, skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8567
___
New submission from Mark Dickinson dicki...@gmail.com:
Test issue: I just got a 'there was a problem with your submission: tracker
maintainers informed' message when submitting issue 8567, though it looks as
though the submission succeeded.
Here's a test issue to try to reproduce.
Steps
Changes by Mark Dickinson dicki...@gmail.com:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8568
___
R. David Murray rdmur...@bitdance.com added the comment:
Some committers have been using 'resolution: accepted' as a way to mark issues
that are definitely going to be fixed/enhancement added. For a critical bug I
think this is a bit redundant (it is more useful for feature requests), but I'm
R. David Murray rdmur...@bitdance.com added the comment:
Seems reasonable.
--
nosy: +r.david.murray
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4186
___
R. David Murray rdmur...@bitdance.com added the comment:
How much would increasing the loop count slow down the test? Since if the bug
isn't present the loop will run to the end every time, if it is non-trivial it
would probably be better to keep it shorter, since Brian said it failed one way
rubenlm ru...@libhertz.com added the comment:
Do you really need the global status? I wrote an onerror that seems to works
fine after I modified rmtree with the return suggested by r.david.murray. It
assumes that:
if os.listdir fails: the user doesn't have read permissions in the dir;
if
Barry A. Warsaw ba...@python.org added the comment:
Hi Andrew,
Yes, I've played with sdist_dsc, and it's nice in that it takes a
non-Debianized source tree and turns it into a source package that can be
uploaded. What I'm looking for is something that can take a non-Debianized
source tree
Ronald Oussoren ronaldousso...@mac.com added the comment:
I'd prefer to have this resolved before the next 2.7 beta.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8084
___
Changes by Mark Dickinson dicki...@gmail.com:
--
stage: - unit test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8567
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
/1 seems ok to me but to make use of the global status it provides
the user must write a somewhat complex recovery code.
The onerror() code you did is as complex as a global function working with a
sequence returned by rmtree, since it is
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8084
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Yes I used 'accepted' to mark this issue as something I am working on.
I am confused about the resolution flag, I think it is a bit overlapping with
the status flag, and overcomplex.
Maybe we should replace closed with various flags like:
Mark Dickinson dicki...@gmail.com added the comment:
Regarding the flags that should be set, the relevant portion of the
specification is at the top of the page mentioned above:
For each condition, the corresponding signal in the context is given, along
with the defined result. The value of
Mark Dickinson dicki...@gmail.com added the comment:
Raising priority: I'd like to get the precedence fix into 2.7.
--
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8567
New submission from Antoine Pitrou pit...@free.fr:
I don't know how official installers are built, but the standard build
procedure with the Visual Studio files uses a custom checkout of OpenSSL
0.9.8l. OpenSSL is now at version 1.0.x, which adds security fixes and
improvements.
I'd suggest
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
http://www.openssl.org/news/secadv_20100324.txt
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3555
New Windows builds of any versions of CPython which are still receiving
security updates should be released.
--
Ronald Oussoren ronaldousso...@mac.com added the comment:
test failures have been fixed a while back.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7852
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
In the updated patch I uploaded yesterday, I increased the loop count from 100
to 1000 and it still runs virtually instantly. I also added a comment stating
that the test is trying to trigger a race condition.
--
Ronald Oussoren ronaldousso...@mac.com added the comment:
The patch looks good, I will apply it over the weekend.
Thanks for looking into this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8476
Matthias Klose d...@debian.org added the comment:
You don't need to add source in case of
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[]])] ..
when the the test is ..main() { return 0 ;} ...
is there a version of the cross configure patch for 3.x?
--
Stefan Krah stefan-use...@bytereef.org added the comment:
Mark,
I'm very short of time today, so I hope I don't miss anything that you
wrote.
The model of decNumber (and libmpdec) is to accumulate any status
(flags) that occurs in a function, regardless of whether a signal
is trapped or not.
Mark Dickinson dicki...@gmail.com added the comment:
Thanks, Stefan. The cdecimal and decnumber behaviour sounds like the ideal one
to me.
I'm not sure how easy it would be to adopt this behaviour for decimal: it could
require some significant rewriting, so we may have to leave decimal as it
Stefan Krah stefan-use...@bytereef.org added the comment:
Were you thinking of any deviations in particular?
More or less a commentary on what is listed here:
http://speleotrove.com/decimal/dascope.html
== Restrictions
I only have a draft of IEEE754, but for instance I can't find a power
Marc-Andre Lemburg m...@egenix.com added the comment:
Matthias Klose wrote:
Matthias Klose d...@debian.org added the comment:
It's probably better to just pass OPT to the linker instead.
not enough, because -fno-strict-aliasing might be passed in BASE_CFLAGS.
Shouldn't
Nick Coghlan ncogh...@gmail.com added the comment:
OK, reassessing with brain fully engaged this time: the current patch is
incorrect, and this request is more complicated than one might initially think
:)
It appears that since the patch was originally tried out only on Windows, a
Changes by Nick Coghlan ncogh...@gmail.com:
--
stage: needs patch -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1644818
___
___
Nick Coghlan ncogh...@gmail.com added the comment:
Unassigning - this idea needs a lot more specification work to be done before
actually implementing it becomes a good idea.
(e.g. IronPython and Jython should be looked at to see how they handle the
naming schemes in the standard libraries
R. David Murray rdmur...@bitdance.com added the comment:
Well, I don't think removing the current onerror support is a viable option for
backward compatibility reasons, so we might as well fix it.
I agree that (2) sounds tricky to get reliably right, while I don't see how (1)
is an
rubenlm ru...@libhertz.com added the comment:
Here is my current error handler:
def handleRmtreeError(func, path, exc):
excvalue = exc[1]
if excvalue.errno == errno.EACCES:
if func in (os.rmdir, os.remove):
parentpath = path.rpartition('/')[0]
os.chmod(parentpath,
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
I cannot reproduce this behavior on my MacBook running OSX 10.6.2.
$ ./python.exe Lib/test/test_distutils.py
...
--
Ran 168 tests in 3.850s
OK (skipped=4)
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Well, I don't think removing the current onerror support is a viable
option for backward compatibility reasons,
so we might as well fix it.
The options could be deprecated since the new behavior would *return* errors.
Do you have
Ronald Oussoren ronaldousso...@mac.com added the comment:
There were some other build problems at the time, I haven't verified yet if the
fixes for those problems also fixed this issue. I will do so over the weekend.
--
___
Python tracker
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Looking at your example rubenlm, it appears like a case that is missing in
rmtree().
You are trying to chmod your tree if a file in there cannot be removed because
of the permissions. This sounds like something we need to add in rmtree()
Michael Foord mich...@voidspace.org.uk added the comment:
Looks like a good addition to the documentation to me.
--
nosy: +michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8564
Brian Curtin cur...@acm.org added the comment:
Tools/buildbot/external-common.bat does the checkout of OpenSSL 0.9.8l from
svn.python.org/projects/external. What does it take to put a new 1.x version
out there?
--
___
Python tracker
Bill Janssen bill.jans...@gmail.com added the comment:
Another bit of info. It's the frequent commits that seem to fix the problem;
when I comment those out of the __del__ method, it fails as before. I also
notice that the finished installer is about twice the size of the two data
files in
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
The patch looks fine. I verified that the new tests pass on trunk and py3k. I
am attaching a patch for py3k with a forward port of set opereations and repr
tests.
--
nosy: +Alexander.Belopolsky
Added file:
New submission from rom16384 rom16...@yahoo.com:
The attached file crashes 2to3 with traceback:
Traceback (most recent call last):
File /usr/bin/2to3, line 6, in module
sys.exit(main(lib2to3.fixes))
File /usr/lib/python2.6/lib2to3/main.py, line 129, in main
rt.refactor(args,
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
I am not sure fixing this quirk of %-formatting is worth the trouble given that
one simply use new style {}-formatting:
$ python-c 'import sys; print({}.{}.{}-{}-{}.format(*sys.version_info))'
3.2.0-alpha-0
or a
Matthias Klose d...@debian.org added the comment:
my understanding is that the builder is allowed to overwrite OPT, but not
BASE_CFLAGS.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8535
Antoine Pitrou pit...@free.fr added the comment:
Well, the problem is that it's a regression from 2.6.
It also shows why these fancy structs aren't necessarily a good idea.
I agree fixing in py3k is less important, though it would be nice too.
--
nosy: +pitrou
New submission from Denis Dmitriev dmitr...@deshaw.com:
There's a bug in python's zlibmodule.c that makes it raise SystemError whenever
it tries to decompress a chunk larger than 1GB is size. Here's an example of
this in action:
dmitr...@...:~/moo/zlib_bug cat zlib_bug.py
import zlib
def
Eric Smith e...@trueblade.com added the comment:
The other thing to do would be to convince PyTuple_Check that PyStructSequences
are tuples, but that would no doubt come with its own set of regressions.
Since this problem is 1) hard to fix and 2) probably of minimal impact, I think
the best
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
The recommended way to check that an object is an instance of a namedtuple is
to check for the _fields attribute. See issue7796, msg99869.
--
___
Python tracker
Eric Smith e...@trueblade.com added the comment:
Yes, but sys.version_info isn't a namedtuple (which are in fact tuples), it's
the (sort-of) C equivalent, which isn't a real tuple.
from collections import namedtuple
x = namedtuple('x', 'a b c')
'%s %s %s' % x(1, 2, 3)
'1 2 3'
Hmm, but
Lars Gustäbel l...@gustaebel.de added the comment:
I applied the patch and added a test case (see r80616-r80619). Thanks for the
report.
--
resolution: - accepted
stage: - committed/rejected
status: open - closed
___
Python tracker
R. David Murray rdmur...@bitdance.com added the comment:
Changing the default value of shell is not an option anyway.
The behavior you describe is exactly what one should expect: the environment in
which the executable is located is the environment of the process calling
Popen, not the
Barry A. Warsaw ba...@python.org added the comment:
Thanks for finding this bug. I'm not sure about the second chunk of your diff
(the one that removes __pycache__). In the future, it would help to include a
unittest case that illustrates the problem. Here's a patch that includes a
test
Changes by Barry A. Warsaw ba...@python.org:
--
assignee: - barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8563
___
___
Python-bugs-list
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
IIRC, there is an open ticket to make structseq inherit from tuple to avoid
just this kind of problem.
--
___
Python tracker rep...@bugs.python.org
Eric Smith e...@trueblade.com added the comment:
Looks like that's issue 1820.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8413
___
___
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
On Thu, Apr 29, 2010 at 11:52 AM, Raymond Hettinger
rep...@bugs.python.org wrote:
..
IIRC, there is an open ticket to make structseq inherit from tuple to avoid
just this kind of problem.
Indeed, see issue1820.
New submission from Walter Woods woodswal...@gmail.com:
Calling HTTPResponse.getheader('Testabnew', 'Default') throws an exception
rather than returning default, python 3.1.2. Problem code appears to be line
601 of client.py:
def getheader(self, name, default=None):
if
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
Here's an example, which shows that an empty __pycache__ has been created:
$ mkdir test
$ echo : test/file.py
$ tree test
test
└── file.py
0 directories, 1 file
$ python3.2 -c 'import compileall;
Changes by Walter Woods woodswal...@gmail.com:
--
title: httplib getheader() does not work as documented - httplib getheader()
throws error instead of default
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8572
R. David Murray rdmur...@bitdance.com added the comment:
-1
IMO it just makes the output messier and less readable, and I personally am
fine with judging the progress by the filenames.
--
nosy: +r.david.murray
___
Python tracker
R. David Murray rdmur...@bitdance.com added the comment:
I think the issue is still open waiting for a unit test. On the other hand,
how likely is it that someone is going to write one at this point? If someone
doesn't speak up soon I think you can close it.
--
nosy: +r.david.murray
R. David Murray rdmur...@bitdance.com added the comment:
There are currently (at least) two places where regrtest is invoked by the
buildbots, one for unix and one for windows. The flags used are not always in
sync, but probably should be.
I think it is probably better to not hack regrtest
Denis Dmitriev dmitr...@deshaw.com added the comment:
Alright, I think this is caused by the following:
static PyObject *
PyZlib_objdecompress(compobject *self, PyObject *args)
{
int err, inplen, old_length, length = DEFAULTALLOC;
int max_length = 0;
The problem is that inplen, length,
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:
Removed file: http://bugs.python.org/file15076/fileobject.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7079
___
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:
Removed file: http://bugs.python.org/file15077/crash.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7079
___
R. David Murray rdmur...@bitdance.com added the comment:
Since you want it before the next beta, I'm promoting it to release blocker.
Benjamin can reduce it if needed when we get down to the wire.
--
nosy: +r.david.murray
priority: high - release blocker
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:
Added file: http://bugs.python.org/file17130/file_close_test.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7079
___
Changes by Daniel Stutzbach dan...@stutzbachenterprises.com:
Added file: http://bugs.python.org/file17131/file_close.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7079
___
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
I reworked my test script into a unit test. Thanks for pointing me to
test_file2k.py. I leveraged the infrastructure that was already there.
I've also uploaded a new patch that uses tabs instead of spaces, to match the
rest
Bill Janssen bill.jans...@gmail.com added the comment:
Ah, found the size problem -- I was measuring something in 512 blocks not 1KB
blocks. Never mind.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8552
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +benjamin.peterson
type: crash - behavior
versions: +Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8570
Daniel Stutzbach dan...@stutzbachenterprises.com added the comment:
How do I write a unit test to check that socket.__del__ doesn't refer to any
globals?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue808164
Changes by Eric Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1820
___
___
Python-bugs-list mailing
Terry J. Reedy tjre...@udel.edu added the comment:
I would close this, but I am not sure what the resolution should be.
--
nosy: +tjreedy
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2715
Terry J. Reedy tjre...@udel.edu added the comment:
Can this be closed as either out-of-date or rejected?
--
nosy: +tjreedy
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue770280
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3328
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3536
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3957
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4262
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3433
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
In the absence of further complaints, this appears to really be fixed. Should
it be closed as such?
--
nosy: +tjreedy
status: pending - open
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
I think this is superseded by issue 7332, which is now fixed in trunk (but not
in 2.6).
--
nosy: +mark.dickinson, pitrou
resolution: remind - out of date
status: open - closed
superseder: - python script segment fault at
Terry J. Reedy tjre...@udel.edu added the comment:
Closing this pending 2.4 Irix issue as out of date.
Martin, reopen if you object.
--
nosy: +tjreedy
resolution: - out of date
status: pending - closed
___
Python tracker rep...@bugs.python.org
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5407
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5494
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue785031
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1004810
___
___
Changes by Mark Dickinson dicki...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2715
___
___
Python-bugs-list
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1473979
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue658693
___
___
Terry J. Reedy tjre...@udel.edu added the comment:
Is everything fixed, so this can be closed?
--
nosy: +tjreedy
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2016
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1367628
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1027
___
___
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8570
___
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6788
___
___
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8569
___
___
1 - 100 of 176 matches
Mail list logo