Martin v. Löwis mar...@v.loewis.de added the comment:
No, it's not logical that there should be an exception. The result looks
right to me.
You are incorrectly assuming that it would always invoke __getitem__ in
this case, which is not true:
py a string with a single placeholder: %s % c
'a
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
First, I checked that the API does exist on Window 2000. And python does
not have any never fail guarantee, specially in low memory conditions.
Then, some remarks:
- If Process32First or Process32Next fail for any reason, return
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
test_zipfile and test_zipimport should be enabled when zlib is not
available: a zip file can store data uncompressed, and does not need
zlib in this case.
Only disable tests that require compression.
--
nosy: +amaury.forgeotdarc
Ezio Melotti ezio.melo...@gmail.com added the comment:
I'm working on a patch.
There a few more tests that need to be skipped in test_zipfile when zlib
is not available. test_gzip has to be skipped entirely if zlib is not
available. I still have to look at test_zipimport and test_distutils.
Colin Watson cjwat...@users.sourceforge.net added the comment:
Is there anything more I can do to move this along? Thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1652
___
chkneo chk...@gmail.com added the comment:
As per the RFC 2732 host header should be wrapped with []. I am
attaching patch for this too which is applied on trunk(2.7)
--
keywords: +patch
nosy: +chkneo
type: - behavior
Added file: http://bugs.python.org/file14424/5111.diff
chkneo chk...@gmail.com added the comment:
RFC 2732 Section three have the following details.
host = hostname | IPv4address | IPv6reference
ipv6reference = [ IPv6address ]
The patch contains check for : and adding the brackets
--
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: georg.brandl - ezio.melotti
nosy: +ezio.melotti
priority: - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6398
___
Changes by chkneo chk...@gmail.com:
Removed file: http://bugs.python.org/file14424/5111.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5111
___
___
Changes by chkneo chk...@gmail.com:
Added file: http://bugs.python.org/file14425/5111.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5111
___
___
New submission from Mike pyt...@amadron.com:
Hi,
I had a logging.conf file with the following logger def in it:
[logger_Builder]
level=DEBUG
handlers=consoleStderr
qualname=Builder
propogate=0
And I couldn't understand why all my log messages were coming out twice.
It took me four hours :-\
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
If A is a simple class (old or new style):
class A: pass
Why is there a difference between:
% object()
and
% A()
?
--
nosy: +amaury.forgeotdarc
___
Python tracker
Changes by Andreas Kloeckner inf...@tiker.net:
--
nosy: +inducer
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1652
___
___
Python-bugs-list
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
IMO, the *_FromFormat functions are wrong to decide whether the args
object is a mapping. the code is:
if (Py_TYPE(args)-tp_as_mapping !PyTuple_Check(args)
!PyObject_TypeCheck(args, PyBaseString_Type))
dict = args;
New submission from Alejandro alej...@alejolp.com:
I'm porting a project to Py3k wich contains a commands.py script on
the project's module.
Inside a.py there is an import commands statement:
/mymodule/commands.py
/mymodule/a.py
The 2to3 tool replaces the import commands and all the commands
Benjamin Peterson benja...@python.org added the comment:
The class doesn't hold any references to the module, so naturally it
will be collected if you don't.
--
nosy: +benjamin.peterson
resolution: - invalid
status: open - closed
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
This is a quirk of module finalization semantics. You've got to consider
the following facts:
- a class doesn't hold a reference to the module it is defined it,
because it doesn't need to (the __module__ attribute is a string)
- a function (and a
Benjamin Peterson benja...@python.org added the comment:
What version of 2to3 are you using?
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6400
___
Antoine Pitrou pit...@free.fr added the comment:
Thanks for the patch. It would be better if you also added a test to
Lib/test/test_httplib.py (unless for some reason it's technically
impossible to do so).
--
nosy: +pitrou
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2
New submission from j_pok pyst...@gmail.com:
This code does not behave as I expected. Removing module from
sys.modules and from local variable causes garbage collection (?) of
module in spite of there is an instance of a class from this module.
Instance method test() from TestClass returns
Jon Anglin jang...@fortresgrand.com added the comment:
Just some information, on Windows:
- process ids are re-used.
- parent process id is set at process creation time and never updated.
(Windows Internal 4th Ed. by Russinovich and Solomon).
Thus, I would say that a long running process can
Alejandro alej...@alejolp.com added the comment:
The one included on Python 3.1-rc2.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6400
___
___
Benjamin Peterson benja...@python.org added the comment:
Oh, I see the problem. mymodule/ isn't a package. If it has __init__.py,
this should work.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6400
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Do these same issues exist on Unix systems?
No. When the parent exits, the child process is attached to the 'init'
process and getppid() returns 1.
And collisions are not rare at all. Actually it seems that you get the
same pid if you
Alejandro Santos alej...@alejolp.com added the comment:
Sorry. Yes, there is an __init__.py script on the same level as the
commands.py. I forgot to mention it.
/mymodule/commands.py
/mymodule/a.py
/mymodule/__init__.py
This is the real repository:
Benjamin Peterson benja...@python.org added the comment:
Thanks for the bug report! Fixed in r73771. Now when I run it on
mercurial/dispatch.py I get:
--- mercurial/dispatch.py (original)
+++ mercurial/dispatch.py (refactored)
@@ -5,11 +5,11 @@
# This software may be used and distributed
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6400
___
Alejandro Santos alej...@alejolp.com added the comment:
Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6400
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
This has been fixed as part of the big IO update in trunk. I assume
nobody really cares about making a separate patch for 2.6, please
re-open if you are interested!
--
resolution: accepted - fixed
status: open - closed
Changes by djc dirk...@ochtman.nl:
--
nosy: +djc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6119
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4753
___
___
Python-bugs-list mailing list
STINNER Victor victor.stin...@haypocalc.com added the comment:
ping
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4601
___
___
Python-bugs-list
New submission from Jan Lieskovsky ian...@seznam.cz:
Hello guys,
i am experiencing segmentation fault, when trying to set the
error indicator via the PyErr_SetString() method called from C source.
This occurs for all Python exceptions, as documented in:
Changes by Jan Lieskovsky ian...@seznam.cz:
Added file: http://bugs.python.org/file14429/core.31283.bz2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6402
___
Changes by Jan Lieskovsky ian...@seznam.cz:
--
nosy: +benjamin.peterson, gregory.p.smith, pitrou, psss
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6402
___
Benjamin Peterson benja...@python.org added the comment:
Fixed in r73774.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6119
chkneo chk...@gmail.com added the comment:
Attaching the test patch
--
Added file: http://bugs.python.org/file14430/5311_test.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5111
___
Benjamin Peterson benja...@python.org added the comment:
Fixed in r73776.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4618
Changes by Sridhar Ratnakumar sridh...@activestate.com:
Added file: http://bugs.python.org/file14431/_mbstate_t.h
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5999
___
Changes by Sridhar Ratnakumar sridh...@activestate.com:
Added file: http://bugs.python.org/file14432/test.c.preprocessed.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5999
___
Sridhar Ratnakumar sridh...@activestate.com added the comment:
I've attached the files you requested.
As a wild guess, try defining _XOPEN_SOURCE to 500,
i.e. -D_XOPEN_SOURCE=500.
Yes, this works .. the file compiles. I tried modifying the value of
_XOPEN_SOURCE to 500 in pyconfig.h
R. David Murray rdmur...@bitdance.com added the comment:
I've added the documentation of the flags defined in the stat module in
r73778, with the os.chmod references to the hyperlinked. The
descriptions are taken from the linux stat(2) page, so if anyone spots
any cross-platform inaccuracies
Changes by Sridhar Ratnakumar sridh...@activestate.com:
Added file:
http://bugs.python.org/file14433/test.c_XOPEN_SOURCE_500_preprocessed.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5999
___
Martin v. Löwis mar...@v.loewis.de added the comment:
This bug tracker is not a place to obtain help. If it is primarily help
that you are after (which it seems to be from your last question), I
recommend that we close the issue, and you ask for help elsewhere.
Most likely, the error happens at
Martin v. Löwis mar...@v.loewis.de added the comment:
Yes, this works .. the file compiles. I tried modifying the value of
_XOPEN_SOURCE to 500 in pyconfig.h (currently set to 600).
That's an HPUX bug then, please report it to HP. They should assume
that any feature present in XPG 5 is also
New submission from ivank i...@ludios.org:
When I built Twisted, I noticed that 'python2.7 setup.py build' created
_c_urlang.so in the wrong place:
$ find . | grep _c_url
./twisted/protocols/_c_urlarg.c
./build/lib.linux-x86_64-2.7/_c_urlarg.so
Changes by Jean-Paul Calderone exar...@divmod.com:
--
nosy: +exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6403
___
___
Python-bugs-list
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6402
___
Benjamin Peterson benja...@python.org added the comment:
Fixed in r73782 and r73783.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6363
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6403
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Ignoring unknown options in the configuration file is analogous to
ignoring unknown tags in html: it makes it easier to use the same config
file with multiple versions of the logger, with older versions ignoring
the options they don't
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Ok, fixed in r73788 and r73789.
--
resolution: accepted - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4601
New submission from Sridhar Ratnakumar sridh...@activestate.com:
On Thu, 02 Jul 2009 16:43:15 -0700, webmas...@python.org wrote:
On Mon, Jun 29, 2009, Sridhar Ratnakumar wrote:
From http://www.python.org/download/releases/3.1/NEWS.txt
(...)
What's New in Python 3.1 alpha 2?
Benjamin Peterson benja...@python.org added the comment:
Already fixed...
--
nosy: +benjamin.peterson
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6404
Changes by Alexandre Vassalotti alexan...@peadrop.com:
--
nosy: +alexandre.vassalotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6395
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Hmm. Looks like the patch is missing a unit test for the new feature.
--
stage: patch review - test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1652
R. David Murray rdmur...@bitdance.com added the comment:
Before r73742, test_socketserver and test_urllib2_localnet work, after
this patchset is applied there are failures. This is on Gentoo linux,
py3k. See also issue 6381 and issue 6382, which are the same problems
on trunk. (The
Henry Precheur he...@precheur.org added the comment:
I found some bsddb code left in setup.py. Patch attached.
--
nosy: +henry.precheur
Added file: http://bugs.python.org/file14434/setup.py.remove-bsddb.diff
___
Python tracker rep...@bugs.python.org
58 matches
Mail list logo