Garrett Cooper yaneg...@gmail.com added the comment:
I think some perspective is required on this enhancement request. I
originally filed this issue -- http://bugs.python.org/issue5538 --
because of the unneeded complexity involved with duplicating
teardown-related code in setUp because of a
Robert Collins robe...@robertcollins.net added the comment:
On Sun, 2009-04-05 at 07:25 +, Garrett Cooper wrote:
Garrett Cooper yaneg...@gmail.com added the comment:
I think some perspective is required on this enhancement request. I
originally filed this issue --
Georg Brandl ge...@python.org added the comment:
I don't really understand this; first, the regex doesn't have to match
the entire warning message (and I hope the important things are in the
first line, otherwise the warning message is bad) and second, it's
always possible to use ``(.|\n)``
Georg Brandl ge...@python.org added the comment:
If we support LZMA, we should do so on all platforms; it kind of
restricts usefulness to only have it on some. Maybe the LZMA code in
one of the many archival tools in existence that supports it is not LGPL'd?
--
nosy: +georg.brandl
Georg Brandl ge...@python.org added the comment:
FWIW, it works here too with 0.0 and 0.1 seconds (it's Linux x86).
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5696
Georg Brandl ge...@python.org added the comment:
This is fixed in at least 2.6 and trunk.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1742940
Antoine Pitrou pit...@free.fr added the comment:
Our experience in bzr (we use this heavily, and migrated to it
incrementally across our 17K fixture suite) is that we rarely need to
use cleanups on dependent resources, and when we need to it has been
very easy to migrate the dependent
Ismail Donmez ism...@namtrac.org added the comment:
Still fails with 3.1 alpha2:
==
ERROR: test_is_package
(importlib.test.frozen.test_loader.InspectLoaderTests)
Georg Brandl ge...@python.org added the comment:
The amount of discussion on this bug is already an indication that the
proposed change is questionable. Combine this with
backwards-compatibility concerns, and it's enough reason not to change this.
--
nosy: +georg.brandl
resolution: -
Georg Brandl ge...@python.org added the comment:
Should be covered with r71216.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1718017
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Antoine, I can't reproduce this with the current trunk and py3k branch.
how do you launch the tests ?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5694
Georg Brandl ge...@python.org added the comment:
Fixed in r71217. Thanks!
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1726172
Georg Brandl ge...@python.org added the comment:
Closing as works for me.
--
nosy: +georg.brandl
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1732662
Georg Brandl ge...@python.org added the comment:
Should be covered now in r71212.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1742837
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
The problem was caused by the logging.captureWarnings(True) call being
left outside the with warnings.catch_warnings() during Brett's change
to test_logging (r70975). Since logging.captureWarnings grabs
warnings.showwarning, in order for
Georg Brandl ge...@python.org added the comment:
Committed as r71223.
--
nosy: +georg.brandl
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5606
Georg Brandl ge...@python.org added the comment:
Agreed.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1538556
___
Georg Brandl ge...@python.org added the comment:
Which will be synced into core at some point, I guess?
--
nosy: +georg.brandl
resolution: - postponed
status: open - pending
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
Actually, it works as documented:
import os
os.makedirs(/tmp)
Traceback (most recent call last):
File stdin, line 1, in module
File /usr/lib/python2.6/os.py, line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists:
Georg Brandl ge...@python.org added the comment:
Fixed 2.6 and 3k in r71222 and r71224, respectively.
--
nosy: +georg.brandl
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5615
Georg Brandl ge...@python.org added the comment:
I don't think this is going to fly -- 1. because we don't lightly add
new syntax for every data type and 2. because it doesn't scale beyond
simple keys and values. A list of tuples is explicit and works fine.
--
nosy: +georg.brandl
Georg Brandl ge...@python.org added the comment:
Fixed in r71225.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5580
___
Georg Brandl ge...@python.org added the comment:
Note that change #1 is already implemented as of r62051.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1659410
___
Georg Brandl ge...@python.org added the comment:
You should restrict the search to the first 100 lines or so, if
possible. Many of our C files have inconsistent indentation, and using
this script with such a file, automatically relying on it to do the
right thing, will result in even more
Eric Smith e...@trueblade.com added the comment:
This isn't testing what I thought it was testing. I'd forgotten that
format(x, '') is exactly equivalent to str(x).
The better test is using a format string of '':
1e200.__format__('')
'1.0e+200'
1e200.__format__('g')
'1e+200'
So this is a
Georg Brandl ge...@python.org added the comment:
Your script is flawed in two parts:
* it doesn't filter the return value of listdir(), which leads to each
test being executed twice in the presence of .pyc files
* __import__(foo.bar) does *not* return the foo.bar submodule, but the
foo module.
Georg Brandl ge...@python.org added the comment:
Can you retry with a new Python release?
--
nosy: +georg.brandl
resolution: - out of date
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1473979
Changes by Georg Brandl ge...@python.org:
--
dependencies: -Bugfix for #1470540 (XMLGenerator cannot output UTF-16)
resolution: - duplicate
status: open - closed
superseder: - Bugfix for #1470540 (XMLGenerator cannot output UTF-16)
___
Python
Georg Brandl ge...@python.org added the comment:
This is fine in Py3k, where there is only one set of pickling exceptions
that can be raised. In 2.x it's best not to break backwards
compatibility right now.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - closed
Changes by Georg Brandl ge...@python.org:
--
dependencies: -os.renames() crashes NTFS junctions
resolution: - duplicate
status: open - closed
superseder: - os.renames() crashes NTFS junctions
___
Python tracker rep...@bugs.python.org
Changes by Georg Brandl ge...@python.org:
--
dependencies: -CGIHTTPServer doesn't handle path names with embeded space
resolution: - duplicate
status: open - closed
superseder: - CGIHTTPServer doesn't handle path names with embeded space
___
Robert Collins robe...@robertcollins.net added the comment:
On Sun, 2009-04-05 at 10:15 +, Antoine Pitrou wrote:
Antoine Pitrou pit...@free.fr added the comment:
Our experience in bzr (we use this heavily, and migrated to it
incrementally across our 17K fixture suite) is that we
Georg Brandl ge...@python.org added the comment:
Closing then.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1396258
Georg Brandl ge...@python.org added the comment:
Let's reject it then.
--
nosy: +georg.brandl
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1324770
Antoine Pitrou pit...@free.fr added the comment:
I don't understand; neither sequence works
- they are showing how any
choice [that retains the current simple proposed mechanism] cannot
interact without some failure modes with tearDown.
And I'm telling you one failure mode is more
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
--
superseder: os.renames() crashes NTFS junctions - Patch for bug 1438185:
os.renames deletes junction points
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1438185
Antoine Pitrou pit...@free.fr added the comment:
Antoine, I can't reproduce this with the current trunk and py3k branch.
how do you launch the tests ?
By doing `./python -m test.regrtest test_distutils`
Apparently it happens in test_clean.cleanTestCase.test_simple_run.
--
Georg Brandl ge...@python.org added the comment:
Fixed in trunk in r71237, 3k in r71239.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1326077
Georg Brandl ge...@python.org added the comment:
Looks like the new message is in 2.6 as well.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1283289
Changes by Georg Brandl ge...@python.org:
--
assignee: - tarek
nosy: +tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1298835
___
___
Georg Brandl ge...@python.org added the comment:
The messages are now suppressed by the temporary bump of the recursion
limit in PyErr_GivenExceptionMatches.
--
resolution: - out of date
status: open - closed
___
Python tracker
Georg Brandl ge...@python.org added the comment:
Updated docs in r71240.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5370
___
Georg Brandl ge...@python.org added the comment:
Is this still unimplemented?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5506
___
Georg Brandl ge...@python.org added the comment:
Thanks, committed in r71241.
--
nosy: +georg.brandl
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5471
Antoine Pitrou pit...@free.fr added the comment:
Yes.
I don't remember which use case I was thinking about when I suggested
this, but it may be useful to e.g. write() all the data to a file object
without actually making a copy (getvalue() does).
--
New submission from George Sakkis george.sak...@gmail.com:
According to the docs, heapq.nlargest should be equivalent to
sorted(iterable, key=key, reverse=True)[:n], and since sorted() is
stable, so should heapq.nlargest be. This is not the case:
s =[
('Mike', -1),
('John', 3),
('George',
New submission from Matthias Klose d...@debian.org:
[forwarded from http://bugs.debian.org/411524]
If you feed the output of pydoc -w [some module] to the w3 validator, it
complains about two issues:
firstly, the doctype is wrong. It should be:
!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.0
Georg Brandl ge...@python.org added the comment:
Fixed in r71242.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5453
___
Mher Movsisyan mher.movsis...@gmail.com added the comment:
Sorry for confusion. I thought a leaf directory is an intermediate-level
directory.
import os
os.makedirs(/tmp/a/b)
--
___
Python tracker rep...@bugs.python.org
New submission from Georg Brandl ge...@python.org:
If you use python -m pydoc, pydoc will not find standard modules
written in Python. This leads to a traceback for example using python
-m pydoc -k sys. Somehow, sys.path gets modified in a strange way,
which can be seen from
$ python -i -m
Changes by Georg Brandl ge...@python.org:
--
components: +Library (Lib)
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5699
___
Georg Brandl ge...@python.org added the comment:
Has been fixed in trunk for some time.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5443
___
Georg Brandl ge...@python.org added the comment:
Closing as fixed then.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5436
Georg Brandl ge...@python.org added the comment:
Fixed in r71243, thanks!
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5432
Changes by Georg Brandl ge...@python.org:
--
assignee: - georg.brandl
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5416
___
Georg Brandl ge...@python.org added the comment:
Closing as works for me.
--
nosy: +georg.brandl
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5406
Georg Brandl ge...@python.org added the comment:
It is also completely low-priority, and so it is perfectly
understandable that Martin wants to fix more important problems.
--
nosy: +georg.brandl
priority: - low
___
Python tracker
Georg Brandl ge...@python.org added the comment:
In any case, this belongs in the Sphinx tracker:
http://bitbucket.org/birkenfeld/sphinx/issue/140/
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
I still think that the section covers basic file I/O quite well, and
since this is not Python-specific at all, you'll be better served with
an introduction to programming in general if you want to know all about
working with files.
--
Georg Brandl ge...@python.org added the comment:
It seems to me that retval works quite well, provided you call it in the
frame where the return occurs:
/home/gbr/devel/python/x.py(2)f()
- return 123
(Pdb) step
--Return--
/home/gbr/devel/python/x.py(2)f()-123
- return 123
(Pdb) retval
123
Changes by Georg Brandl ge...@python.org:
--
priority: - critical
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5330
___
___
Python-bugs-list
New submission from Brian Quinlan br...@sweetapp.com:
import io
class MyIO(io.FileIO):
... def flush(self):
... print('closed:', self.closed)
...
f = MyIO('test.out', 'wb')
f.close()
closed: True
IMHO, calling flush() after the file has already been closed is
incorrect
New submission from Yngve AAdlandsvik ym...@start.no:
The attached .zip archive contains two uncompressed files (2!
SCHEME.Z64, 3!SCHEME.Z64) and two files compressed with IMPLODE (1!
SCHEME.Z64, 4!SCHEME.Z64), a compression method not currently supported
in ZipFile.
When using ZipFile.read()
George Sakkis george.sak...@gmail.com added the comment:
Posted recipe at http://code.activestate.com/recipes/576712/. You were
right, the implementation gets significantly hairier but I think it's
worth having this option. It's also faster than using sorted/bisect as
len(seq)/N increases and
Georg Brandl ge...@python.org added the comment:
Setting #4847 as superseder.
--
nosy: +georg.brandl
resolution: - duplicate
status: open - closed
superseder: - csv fails when file is opened in binary mode
___
Python tracker rep...@bugs.python.org
Changes by Georg Brandl ge...@python.org:
--
resolution: - duplicate
status: open - closed
superseder: - .chm build process on Windows doesn't use the right filename
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2421
Georg Brandl ge...@python.org added the comment:
Committed in r71249.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5444
___
Georg Brandl ge...@python.org added the comment:
Since this is not supported anyway (and never was), closing as won't fix.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Georg Brandl ge...@python.org:
--
assignee: - facundobatista
nosy: +facundobatista
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5340
___
Georg Brandl ge...@python.org added the comment:
Python 3 behavior is correct. Since HMAC operates on bytes, not text,
only bytes are accepted. In Python 2, the acceptance of Unicode strings
is more an accident than a feature.
--
nosy: +georg.brandl
resolution: - wont fix
status: open
Georg Brandl ge...@python.org added the comment:
Should be clearer as of r71251.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5298
___
Georg Brandl ge...@python.org added the comment:
I think the paragraph
Every call to :cfunc:`PyGILState_Ensure` must be matched by a call to
:cfunc:`PyGILState_Release` on the same thread.
says exactly what you want to know.
--
resolution: - works for me
status: open - closed
Georg Brandl ge...@python.org added the comment:
I don't think that it is common practice to list submodules in __all__,
only names really exported from the package. Therefore, this does not
seem like a good change to make.
--
nosy: +georg.brandl
resolution: - rejected
status: open -
Georg Brandl ge...@python.org added the comment:
Closing as won't fix. There's another issue that deals with better
documentation for slicing semantics.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - closed
___
Python tracker
Changes by Georg Brandl ge...@python.org:
--
assignee: - georg.brandl
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1249749
___
Georg Brandl ge...@python.org added the comment:
Works for me as well.
--
nosy: +georg.brandl
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1251026
Georg Brandl ge...@python.org added the comment:
This is out of date now that Python includes the documentation for those
keywords.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
See also #1265100.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1446619
___
___
Georg Brandl ge...@python.org added the comment:
There's also #1446619, so closing as a duplicate.
--
nosy: +georg.brandl
resolution: - duplicate
status: open - closed
superseder: - extended slice behavior inconsistent with docs
___
Python tracker
Georg Brandl ge...@python.org added the comment:
Setting #5330 as a superseder, which also has a patch.
--
nosy: +georg.brandl
resolution: - duplicate
status: open - closed
superseder: - profile and cProfile do not report C functions called with
keyword arguments
Changes by Georg Brandl ge...@python.org:
--
assignee: - nbastin
nosy: +nbastin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5330
___
___
Georg Brandl ge...@python.org added the comment:
I agree with Grant. There seems to be no way this can be sanely
implemented with today's infrastructure.
--
nosy: +georg.brandl
resolution: - wont fix
status: open - closed
___
Python tracker
Georg Brandl ge...@python.org added the comment:
Turns out this is caused by setting REQUEST_METHOD to 'cgi', which is
completely unmotivated. Not doing this lets the example script work fine.
--
nosy: +georg.brandl
resolution: - works for me
status: open - closed
Georg Brandl ge...@python.org added the comment:
Assigning to Matthias since he added do-while(0) to Py_DECREF in r71229.
--
assignee: - doko
nosy: +doko, georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1113244
Changes by Steven Bethard steven.beth...@gmail.com:
--
nosy: +bethard -bediviere.historic
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1446619
___
Georg Brandl ge...@python.org added the comment:
Setting it as a superseder, then.
--
dependencies: -inspect.getsource doesn't update when a module is reloaded
nosy: +georg.brandl
resolution: - duplicate
status: open - closed
superseder: - inspect.getsource doesn't update when a
Georg Brandl ge...@python.org added the comment:
+1 for duck typing.
--
nosy: +georg.brandl
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1030499
Tarek Ziadé ziade.ta...@gmail.com added the comment:
superseded by #1886
--
status: open - closed
superseder: - Permit to easily use distutils --formats=tar,gztar,bztar on
all systems
___
Python tracker rep...@bugs.python.org
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
priority: normal - high
versions: +Python 3.1 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1886
___
Changes by Guido van Rossum gu...@python.org:
--
nosy: -gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2578
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
Let's assume it is Win9x-only.
--
dependencies: -Inappropriate error received using socket timeout on Windows.
nosy: +georg.brandl
resolution: - out of date
status: open - closed
superseder: - Inappropriate error received using socket
Changes by Georg Brandl ge...@python.org:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue831574
___
___
Python-bugs-list
Barry A. Warsaw ba...@python.org added the comment:
I'm -0, but if the tests pass and Matthias wants to commit this to 2.6
and 2.7, it's fine with me.
--
assignee: - doko
nosy: +barry
resolution: - accepted
versions: +Python 2.7 -Python 2.5
___
Georg Brandl ge...@python.org added the comment:
This issue is very unspecific, and much documentation has been added
since. If something is still missing, a new issue should be opened.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
Georg Brandl ge...@python.org added the comment:
Why do you propose closing?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue809887
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
fixed in r71253 and r71254
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5694
___
Georg Brandl ge...@python.org added the comment:
Committed a similar patch in r71255.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue602893
Changes by Georg Brandl ge...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue957381
___
Georg Brandl ge...@python.org added the comment:
Closing this one as duplicate.
--
nosy: +georg.brandl
resolution: - duplicate
status: open - closed
superseder: - bdist_rpm fails when installing man pages
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
Agreed.
--
nosy: +georg.brandl
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue848910
___
1 - 100 of 168 matches
Mail list logo