Mike pyt...@amadron.com added the comment:
Fair point. Agree that this is a feature request. Perhaps something like:
logging.config.fileConfig(path, strict=False)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6399
Tarek Ziadé ziade.ta...@gmail.com added the comment:
yes, the problem is that this option (string) is also used as an
attribute (compiler object).
But Python itself uses as an attribute..
I have to check its type at this spot, and deprecate the usage of
compiler as an attribute.
--
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Related to #6365. I've added a test to make sure twisted builds with
'build' and 'build_ext -i'.
Fixed in r73790 and propagated in 2.6/3.1/3.2.
Thanks for the feeback !
(I am also adding twisted in my buildbot to make sure trunk creates a
New submission from Floris Bruynooghe floris.bruynoo...@gmail.com:
There are redundant redeclarations for PyGetSetDescr_Type and
PyMemberDescr_Type in descrobject.h. This is an issue when compiling an
extension module with the -Wredundant-decls flag:
In file included from
New submission from Alejandro Santos alej...@alejolp.com:
Using the -j switch of the 2to3 tool shiped with Python 3.1 final i'm
getting:
Traceback (most recent call last):
File /home/alejo/apps/local/bin/2to3, line 6, in module
sys.exit(main(lib2to3.fixes))
File
Senthil orsent...@gmail.com added the comment:
I verified the library reference pdf files from the trunk and I
don't see this problem. Should we close the issue then?
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
Benjamin Peterson benja...@python.org added the comment:
And that's what we get for not having unittests for the accursed
feature... Fixed in r73805.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker
Benjamin Peterson benja...@python.org added the comment:
Thanks for the patch. Applied in r738067.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2775
___
New submission from Matthew Leon Grinshpun vertesp...@gmail.com:
Multiprocessing's Pool class __init__ method is written in a way that
makes it very difficult for a subclass to modify self._taskqueue. There
are very good reasons for wanting to do this - ie, making the taskqueue
block when it
Benjamin Peterson benja...@python.org added the comment:
Fixed in r73809.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6405
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - jnoller
nosy: +jnoller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6407
___
Alejandro Santos alej...@alejolp.com added the comment:
Thanks!!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6406
___
___
Python-bugs-list
New submission from Alejandro Santos alej...@alejolp.com:
The 2to3 tool shipped with Python 3.1 final doesn't handle correctly a
local package import (fixer fix_import). Test case:
$ find . -name '*.py'
./__init__.py
./a.py
./b/__init__.py
./b/m.py
$ 2to3 a.py
RefactoringTool: Skipping
Jesse Noller jnol...@gmail.com added the comment:
I'm not against this; new features will only be committed to the 2.7 and
3.1.x branches however.
Something to help speed this up would be an actual patch with docs/tests
for the module made against python trunk. That way I could review and
Benjamin Peterson benja...@python.org added the comment:
Fixed in r73811.
--
nosy: +benjamin.peterson
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6408
Alejandro Santos alej...@alejolp.com added the comment:
Nice, Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6408
___
___
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
How about this patch? I haven't tested so intensely, but testcase seems
working.
--
nosy: +ocean-city
Added file: http://bugs.python.org/file14438/array_long_long.patch
___
Python
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The port to py3k has an error, see
http://mail.python.org/pipermail/python-checkins/2009-July/084734.html
Indexing is no more allowed on exception objects. it may be replaced
with e.args[0], or better, with e.errno.
--
nosy:
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
Added file: http://bugs.python.org/file14439/array_long_long.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1172711
___
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
Removed file: http://bugs.python.org/file14438/array_long_long.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1172711
___
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
Maybe this patch should be updated because os.path functions changed
their behaviors for UNC in py3k. (#5799)
--
dependencies: +Change ntpath functions to implicitly support UNC paths
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
--
versions: +Python 3.2 -Python 3.0
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5117
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Here is a refreshed patch against trunk.
Since the previous one did not provide any context, I hope I copied the
lines in the right locations.
--
keywords: +needs review
nosy: +amaury.forgeotdarc
Added file:
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I still fail to see how 'splitall' would be useful.
How is it a problem that str.split is incompatible with os.path.join ?
--
nosy: +amaury.forgeotdarc
___
Python tracker
New submission from Jean-Paul Calderone exar...@divmod.com:
I ran 2to3 over Twisted r27084 like this:
time ~/Projects/python/trunk/python
/home/exarkun/Projects/python/trunk/Tools/scripts/2to3 -j 4 twisted/
2to3.patch
Visual inspection revealed some curious defects, and attempting to apply
it
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
You seem to use the 'parallel' option. Some flush() or synchronization
missing?
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6409
Elvis Pranskevichus elpr...@gmail.com added the comment:
Please don't provide a wrapper around ptrctrl
prctl is not portable. I always thought that the premise of stdlib is to
provide portable interfaces. BSD, for example, uses setprocname instead
of prctl. Also, prctl does not modify the
Matthew Leon Grinshpun vertesp...@gmail.com added the comment:
I have attached a patch. All I did was shift the one line from __init__
to _setup_queues.
That's it.
You could take advantage of the change in the following way:
class BlockingPool(pool.Pool):
def _setup_queues(self):
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
I'm not sure that this is a valid feature request. As R. David Murray
has said, it's sort of an unwritten rule of ConfigParser-based
applications that they look for specific entries, but don't care what
else is there in the file - sort of in
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2977
___
R. David Murray rdmur...@bitdance.com added the comment:
I think the OP meant os.path.split, not str.split, but I don't
understand what incompatibility he is referring to. This seems to work
fine:
ntpath.join(*ntpath.split(Z:/xyz))
'Z:/xyz'
That said, I'd like to note that I was surprised
Jesse Noller jnol...@gmail.com added the comment:
Thanks Matthew - I agree, it's simple. But fixing the code is 1/3 of the
patch. I'll need to add tests/update the ones there as well as modify the
.rst documentation.
--
___
Python tracker
Terry J. Reedy tjre...@udel.edu added the comment:
Pierre, before submitting doc issues, you can check the 'in-development'
version of the docs at
http://docs.python.org/dev/py3k/
to see if an issue has been fixed. This is currently labeled Python
v3.2a0 documentation
--
nosy: +tjreedy
Mark Dickinson dicki...@gmail.com added the comment:
ezio.melotti: do you mean r73658? (which was committed after
delroth submitted the report :-).
--
nosy: +marketdickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6353
Ezio Melotti ezio.melo...@gmail.com added the comment:
Yes, I was looking at the diff between the two and I probably picked up
the wrong one.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6353
New submission from Michael W. hotdog...@gmail.com:
Summary:
Dictionaries should support being added to other dictionaries instead of
using update(). This should be a relatively easy fix and would make the
language more pythonic.
How to reproduce:
$ python
Python 2.6.2 (release26-maint, Apr 19
Martin v. Löwis mar...@v.loewis.de added the comment:
What would you do in case of duplicate keys?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6410
___
New submission from corban element.eff...@gmail.com:
After downloading v. 3.1, I couldnt get it to perform even the most
simple functions. I am somewhat new to the programming so I dont know
if there is something simple that I am missing or if it is a possible
bug with the system.
--
Alexandre Vassalotti alexan...@peadrop.com added the comment:
Could you elaborate on what is problem exactly? Please include any error
message you are getting. Also, what operating system are you using?
--
nosy: +alexandre.vassalotti
stage: - test needed
corban element.eff...@gmail.com added the comment:
I am using windows xp. I dont have the exact error message because I've
already uninstalled in and went with v/ 2.6.2 (which seems to be
working fine.) But it was telling me to be a syntax error and would
always highlight the blank space
Ezio Melotti ezio.melo...@gmail.com added the comment:
Maybe you used print foo instead of print(foo). In Python3 print is
a function and if you don't use the () you get this:
print foo
File stdin, line 1
print foo
^
SyntaxError: invalid syntax
--
nosy: +ezio.melotti
corban element.eff...@gmail.com added the comment:
Are there many changes like this with functions because what little
I've learned is from v. 2.6.2 and most lessons seem to be based around
that style as well. Im trying to teach myself and need to know which
version would be better.
Alexandre Vassalotti alexan...@peadrop.com added the comment:
I am against adding __add__ to dict, since merging dictionaries is not a
commutative operation.
If a short syntax is desired for merging dictionaries, the just define a
function. For example:
def merge_dicts(*args):
result = {}
Ezio Melotti ezio.melo...@gmail.com added the comment:
If you want to know what changed in Python 3 you can read
http://docs.python.org/3.0/whatsnew/3.0.html
If you are learning Python and you need help you can ask on
comp.lang.python or on #python (server: irc.freenode.net).
Closing as invalid.
corban element.eff...@gmail.com added the comment:
From what I can see, the older version of python may be easier to learn
for a programming novice. It seems to be a little less complicated
overall.
--
___
Python tracker rep...@bugs.python.org
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Clearly some platforms automatically set the shutdown state, and we need
to catch that error.
--
nosy: +krisvale
___
Python tracker rep...@bugs.python.org
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Commited revision 73819
Please test on gentoo
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6381
___
New submission from Christoph Burgmer cburg...@ira.uka.de:
Titlecase, i.e. istitle() and title(), is buggy when the string
includes combining diacritical marks.
u'H\u0301ngh'.istitle()
False
u'H\u0301ngh'.title()
u'H\u0301Ngh'
The string given already is in titlecase so that the following
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
priority: - normal
stage: - needs patch
type: - behavior
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6412
Christoph Burgmer cburg...@ira.uka.de added the comment:
Adding a incomplete patch in need of a function
Py_UNICODE_ISCASEIGNORABLE defining the case-ignorable class.
I don't want to touch capitalize() as I don't fully understand the
semantics, where it is different to title(). It seems though
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Fixed exception handling in
revision 73820
and
revision 73821 and revision 73822
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6267
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
I've submitted a fix to 6381 in the trunk. 6382 is less clear to me, I
must take a closer look.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6267
Eric Devolder eric.devol...@gmail.com added the comment:
problem fixed under final 3.1
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5960
___
Adam Ginsburg keflav...@gmail.com added the comment:
Although this is an old closed error, I'm still running in to it.
I am trying to compile install 64 bit python with Tk/Tcl support on
Mac OS X 10.5.7.
I have installed 64-bit Tcl/Tk:
$ file /Library/Frameworks/Tk.framework/Versions/8.5/Tk
Ezio Melotti ezio.melo...@gmail.com added the comment:
At the beginning of the page[1] there's a note that says: All functions
accepting path or file names accept both bytes and string objects, and
result in an object of the same type, if a path or file name is returned.
This applies to
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed in r73823 (py3k) and r73824 (trunk).
Thanks!
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 3.0
___
Python tracker rep...@bugs.python.org
Gregory P. Smith g...@krypto.org added the comment:
Your patch looks pretty good. I cleaned up a few things in it and added
a unittest (the existing test suite is run with both select and poll).
Committed to trunk in r73825.
I am leaving the issue open until this is ported and merged into
New submission from Tarek Ziadé ziade.ta...@gmail.com:
The correct level should be INFO
--
assignee: tarek
messages: 90095
nosy: tarek
priority: normal
severity: normal
status: open
title: incorrect log level in distutlis.dist for announce
type: behavior
versions: Python 2.7, Python
Tarek Ziadé ziade.ta...@gmail.com added the comment:
done in r73827, r73828 and r73830
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6413
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
Now it's too late for 2.5 and probably for 2.6 too. If there are no news
this can probably be closed.
--
nosy: +ezio.melotti
status: open - pending
versions: +Python 2.7 -Python 2.4
___
Python
Ezio Melotti ezio.melo...@gmail.com added the comment:
In Python3 the code for httplib changed:
Py3:
http://svn.python.org/view/python/branches/py3k/Lib/http/client.py?view=markup#send
Py2: http://svn.python.org/view/python/trunk/Lib/httplib.py?view=markup#send
Does this still need to be fixed
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +patch
stage: - test needed
type: - behavior
versions: +Python 2.7 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1710703
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - needs patch
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue777884
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - georg.brandl
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1921
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - test needed
versions: +Python 2.7 -Python 2.3, Python 2.4, Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1025395
___
Gregory P. Smith g...@krypto.org added the comment:
Merged to py3k in r73833.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3392
___
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
I can't reproduce this with Python 2.6 (final) on Windows and Python
2.6.2 on Linux. I guess that this was fixed before the final release.
Closing as fixed.
--
nosy: +ezio.melotti
resolution: - fixed
status: open - closed
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - benjamin.peterson
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6409
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
This seems to work fine with Py 3.0 and 3.1 on Linux, it still fails
with Py 2.6 and 2.7.
--
nosy: +ezio.melotti
priority: - normal
versions: +Python 2.6, Python 2.7 -Python 2.4, Python 2.5, Python 3.0
Ezio Melotti ezio.melo...@gmail.com added the comment:
If there's no obviously best way to handle overflow, can this be closed?
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3250
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
priority: - normal
versions: +Python 2.7 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3077
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
priority: - normal
stage: - patch review
versions: +Python 2.7 -Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3151
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
Ping?
--
nosy: +ezio.melotti
priority: - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3056
___
Russ Gibson ru...@rnstech.com added the comment:
What is needed is separate quoting for the command and the argument.
Right now, test_popen only surrounds the entire command line with quotes:
c:\Program Files\Python2.6\Python.exe -u c:\Documents and Settings\Russ
Gibson\cgi-bin\cgi.py
It
Russ Gibson ru...@rnstech.com added the comment:
(Same comment I added to 1559298:)
What is needed is separate quoting for the command and the argument.
Right now, test_popen only surrounds the entire command line with quotes:
c:\Program Files\Python2.6\Python.exe -u c:\Documents and
R. David Murray rdmur...@bitdance.com added the comment:
Test passes consistently now on trunk in Gentoo.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6381
___
76 matches
Mail list logo