New submission from Frank Rene Schaefer fsch...@gmail.com:
The union operation fails in the following use case
Python 2.6.4 (r264:75706, Jan 30 2010, 22:50:05)
[GCC 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]] on linux2
def func():
... a = set([0])
... a.pop()
...
Matthias Klose d...@debian.org added the comment:
jcea: yes, but we want _dbm be able to build with 4.8.x as well.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6949
___
Ronald Oussoren ronaldousso...@mac.com added the comment:
On 15 Mar, 2010, at 16:22, Tom Loredo wrote:
Tom Loredo lor...@astro.cornell.edu added the comment:
Ned-
I *did* run make install; everything I reported was about the situation
*after* running make install. In particular, I
Ezio Melotti ezio.melo...@gmail.com added the comment:
set.union doesn't change the first set (i.e. a), but returns a new sets (i.e.
c):
def func():
... a = set([0])
... a.pop()
... print 'a:', a
... b = set([1, 2])
... c = a.union(b)
... print 'a:', a
... return c
...
func()
a:
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment:
What about this example?
from xml.dom import minidom
doc = minidom.Document()
el = doc.createElement(Test)
el.setAttribute(with space, False)
doc.appendChild(el)
DOM Element: Test at 0xba1440
#nahhh
...
Matthias Klose d...@debian.org added the comment:
the patch works for me with tcl8.5
--
nosy: +doko
stage: test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4961
___
Matthias Klose d...@debian.org added the comment:
fixed for 2.7, 3.1, 3.2, commit pending for 2.6 until after the 2.6.5 release
--
resolution: - fixed
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4961
Martin v. Löwis mar...@v.loewis.de added the comment:
Merged last commit to py3k, as r78991.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6716
___
New submission from Matthias Klose d...@debian.org:
calling os.execlp('true') with the wrong number of arguments (missing 2nd arg),
the interpreter crashes. fixed in 3.x, this is a backport of the patch to 2.x
--
components: Extension Modules
files: p.diff
keywords: patch
messages:
Eric Devolder eric.devol...@gmail.com added the comment:
Same problem on 3.1.2rc1.
--
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2698
___
New submission from Nick Coghlan ncogh...@gmail.com:
A bug report for the incompatibility I was trying to explain on the checkins
list. The test_support module is the only part of the regression test suite
that is officially documented, so we can't go changing behaviour that is
visible to
Changes by Nick Coghlan ncogh...@gmail.com:
--
title: Incompoatible change to test.test_support.check_warnings behaviour -
Incompatible change to test.test_support.check_warnings behaviour
___
Python tracker rep...@bugs.python.org
Jesús Cea Avión j...@jcea.es added the comment:
I have problem getting your changes working in python 3.x. Yes, pybsddb
supports py3k.
The problem is line sys.exc_traceback = sys.last_traceback = None, that
throws the following error under python 3.x:
File
New submission from Jesús Cea Avión j...@jcea.es:
This issue tracks the progress of integration of pybsddb 4.8.3+ and centralize
related discussion.
I have integrated all bsddb related patches until r78988, in pybsddb 4.8.3+,
with the following caveats:
- The new code supports BDB 4.8, but
Mark Dickinson dicki...@gmail.com added the comment:
I see that you already closed this; but just for completeness:
This is expected behaviour: in 2.x, the '/' operator does floor division
unless you've done a 'from __future__ import division', in which case it does
true division.
In 3.x,
Martin v. Löwis mar...@v.loewis.de added the comment:
Problem 2 is resolved as of r78992
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6716
___
Changes by Eric Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8155
___
___
Python-bugs-list mailing
Changes by Gerhard Häring g...@ghaering.de:
--
nosy: +ghaering
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8145
___
___
Python-bugs-list mailing
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Moving the target to Distutils2, as Distutils is now feature frozen.
--
components: +Distutils2 -Distutils
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3621
New submission from Martin Ducár duca...@gmail.com:
During python regrtest.py i have found that doctest test module does not count
with expected output when using testfile test_doctest.txt. Example output of
the test:
-
File
Tom Loredo lor...@astro.cornell.edu added the comment:
the python-32 executable has never been linked into /usr/local/bin.
What I meant by the version pointed to is: The python command
in 2.6.4 produced by an intel universal build (whether in the
framework or the install prefix) executed as
, and the report is
attached.
--
Added file: http://bugs.python.org/file16563/regex_test-20100316
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2636
Martin v. Löwis mar...@v.loewis.de added the comment:
Problem 3 is now fixed in r78994.
Leaving this report open for backporting the changes to 2.6/3.1
--
versions: +Python 2.6
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
This is a duplicate of issue 1729305.
--
nosy: +r.david.murray
priority: - normal
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - test_doctest fails when run in verbose mode
Cherniavsky Beni c...@users.sf.net added the comment:
Editing a block of code from inside the config dialog (and storing it in the
config file?) seems a bad idea because you lose all the power of the normal
IDLE editor.
Instead, you should edit the startup code in the editor, save it to a
Cherniavsky Beni c...@users.sf.net added the comment:
(Another point I forgot to mention is that you must also run idle with the -s
command-line option to look at these envvars. This was silly and is also fixed
by the #5233 patch.)
--
___
Python
New submission from Simon Anders and...@embl.de:
The class optparse.OptionParser supports a number of useful keyword arguments
to the initializer, which are not documented in the Python Standard Library
documentation, here: http://docs.python.org/library/optparse.html
This is a bit
Irmen de Jong ir...@users.sourceforge.net added the comment:
Sure, I'll give it another go.
I've not done any c-development for quite a while though, so I have to pick up
the pieces and see how far I can get. Also, I don't have any compiler for
Windows so maybe I'll need someone else to
Changes by Brian Curtin cur...@acm.org:
--
priority: - normal
stage: - needs patch
type: - behavior
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8158
___
R. David Murray rdmur...@bitdance.com added the comment:
Would you care to submit a patch? The docs are in the svn repository in the
'Doc' subdirectory. See http://www.python.org/dev for how to get a checkout
and create a patch.
That said, note that 2.7/3.2 will have argparse, which is
Mark Dickinson dicki...@gmail.com added the comment:
Brett: any thoughts on this? Should imp.find_module automatically apply NFD
normalization to the given string on OS X?
It seems to me that doing this properly is a bit nasty, since the correct
condition isn't that the OS is OS X, but that
Ezio Melotti ezio.melo...@gmail.com added the comment:
Does regex.py have its own test suite (which also includes tests for all the
problems reported in the last few messages)?
If so, the new tests could be merged in re's test_re. This will simplify the
testing of regex.py and will improve the
Cherniavsky Beni c...@users.sf.net added the comment:
History access by Up/Down is important because it makes IDLE history much more
discoverable. Most users instinctively expect Up/Down to work; moving back
through the text of the session is nice but they probably won't guess that you
can
Cherniavsky Beni c...@users.sf.net added the comment:
Oops! Mitchell's patch didn't actually run the startup code after restart.
Fixed patch attached (updated against 2.7 trunk). Also added some doc updates.
Too lazy to produce a 3.2 version now.
[Apology to Mitchell: I removed most of
Ezio Melotti ezio.melo...@gmail.com added the comment:
The silencing of DeprecationWarnings should also be advertised, so that who
writes the code knows that now -Wd should be used explicitly while testing the
code. A warning in the What's new would be a good place where to start.
--
Filip Gruszczyński grusz...@gmail.com added the comment:
I have created a small patch, that introduces BadGzipFile exception. It is a
subclass of IOError, so it would be backward compatible and will be still
caught by old code, but this way is distinct from IOError.
--
keywords:
Brett Cannon br...@python.org added the comment:
Trying to get this right is nasty as mixed filesystem stuff is always tricky,
especially since NFD is still UTF-8 as is NFC so sys.getdefaultencoding()
doesn't help.
Without some way to get that extra bit of info about what form of UTF-8
Filip Gruszczyński grusz...@gmail.com added the comment:
Modified patch with test, that catches both BadGzipFile and IOError exceptions.
--
Added file: http://bugs.python.org/file16566/6584_2.patch
___
Python tracker rep...@bugs.python.org
Barry A. Warsaw ba...@python.org added the comment:
Unless you vehemently disagree, I am not making this a release blocker for
2.6.5.
--
priority: release blocker - critical
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8089
Benjamin Peterson benja...@python.org added the comment:
Looks ok, but I think it needs a test, and it looks like execve suffers from
the same problem.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
Barry A. Warsaw ba...@python.org added the comment:
jcea, why did you make this a release blocker for 2.6.5?
--
nosy: +barry
priority: release blocker - deferred blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3928
Tom Loredo lor...@astro.cornell.edu added the comment:
Unless you vehemently disagree, I am not making this a release blocker for
2.6.5.
I'm not sure who you are asking (I doubt it was me!), but I don't consider this
a release blocker. The only possible substantive issue is whether python
Nir Aides n...@winpdb.org added the comment:
I tried Florent's modification to the write test and did not see the effect on
my machine with an updated revision of Python32.
I am running Ubuntu Karmic 64 bit.
7s - no background threads.
20s - one background thread.
According to the following
Vlastimil Brom vlastimil.b...@gmail.com added the comment:
I am not sure about the testsuite for this regex module, but it seems to me,
that many of the problems reported here probably don't apply for the current
builtin re, as they are connected with the new features of regex.
After the
New submission from Razan Abbass raz71a...@yahoo.ca:
a11
--
components: None
messages: 101194
nosy: raz71abb6
severity: normal
status: open
title: a11
type: feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8159
Changes by Razan Abbass raz71a...@yahoo.ca:
Added file: http://bugs.python.org/file16568/ooo1.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8159
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file16568/ooo1.html
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8159
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8159
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8159
___
___
Python-bugs-list mailing list
Changes by Razan Abbass raz71a...@yahoo.ca:
Added file: http://bugs.python.org/file16569/o11
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8159
___
___
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
As far as I can tell, it does not *crash* the interpreter. Instead, it
replaces the python interpreter process with a true utility.
$ ./python.exe
Python 2.7a4+ (trunk:78816M, Mar 9 2010, 18:57:13)
[GCC 4.2.1 (Apple
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
I forgot to add that this behavior is documented:
os.execlp = execlp(file, *args)
execlp(file, *args)
Execute the executable file (which is searched for along $PATH)
with argument list args, replacing the
Nir Aides n...@winpdb.org added the comment:
I updated the patch with a small fix and increased the ticks
countdown-to-release considerably. This seems to help the OS classify CPU bound
threads as such and actually improves IO performance.
--
Added file:
New submission from tejas teja...@gmail.com:
I am calling platform.linux_distribution() and platform.platform() on a
modified Debian distribution with Python 2.6.
FWIW the file /etc/debian_version exists on this machine, but is empty.
On calling platform.platform(), it seems to try to read the
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - lemburg
nosy: +lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8160
___
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
The original report, issue1039 has a better problem description:
In a windows debug build, an assertion is triggered when os.execvpe is
called with an empty argument list:
self.assertRaises(OSError, os.execvpe, 'no such
Roumen Petrov bugtr...@roumenpetrov.info added the comment:
and restore of distutils in trunk abandon it.
--
nosy: +rpetrov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6164
___
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
Adding Thomas.
Thomas,
Do you remember why your patch for issue1039 was not backported?
--
nosy: +theller
___
Python tracker rep...@bugs.python.org
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Ah, I see. I am just re-opening this bug hoping to see it get fixed by 3.1.2.
--
status: closed - open
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
Matthias Klose d...@debian.org added the comment:
it does crash:
$ python
Python 2.6.5rc2 (r265rc2:78822, Mar 11 2010, 13:01:50)
[GCC 4.4.3] on linux2
Type help, copyright, credits or license for more information.
import os
os.execlp('true')
Segmentation fault (core dumped)
arg[0] (the
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file16569/o11
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8159
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
title: a11 - spam
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8159
___
___
Python-bugs-list
Alexander Belopolsky alexander.belopol...@gmail.com added the comment:
On Tue, Mar 16, 2010 at 7:46 PM, Matthias Klose rep...@bugs.python.org wrote:
..
it does crash:
Strange. Can you report your Linux version and the stack trace from the crash?
On Ubuntu, 2.6.24-27-generic #1 SMP Wed Jan 27
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Yes, the revert put back distutils in its initial 2.6.x state but I guess this
can be added back since it doesn't change the original behavior.
--
priority: - high
resolution: - accepted
___
Irmen de Jong ir...@razorvine.net added the comment:
Ok I've looked at it again and think I can build an acceptable patch this time.
However there are 2 things that I'm not sure of:
1) how to return the partial data to the application if the recv() loop fails
before completion. Because the
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Frank, try using update instead of union.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8153
___
Changes by R. David Murray rdmur...@bitdance.com:
--
priority: - normal
stage: - test needed
type: crash - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8160
___
R. David Murray rdmur...@bitdance.com added the comment:
It does not crash on Gentoo, either:
rdmur...@maestro:~uname -a
Linux maestro 2.6.31-gentoo-r3 #1 SMP PREEMPT Thu Oct 22 20:13:19 EDT 2009 i686
Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux
Matthias Klose d...@debian.org added the comment:
crash seen on both Debian unstable and recent Ubuntu lucid.
(gdb) run
Starting program: /home/doko/a.out
process 30155 is executing new program: /bin/ls
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV,
Brian br...@merrells.org added the comment:
What solution did you chose? While matching cElementTree to the ElementTree
is the simplest solution I think there is some ambiguity as to the what the
preferred behavior as outlined in my original post.
-brian
On Tue, Feb 16, 2010 at 9:41 AM,
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
This doesn't look like a documentation bug to me - handling of uploaded files
via CGI *should* work, even if CGI is not the best way to do that.
--
nosy: +gagenellina
___
Python tracker
Brian Curtin cur...@acm.org added the comment:
Duplicate of #7773 which was fixed with r77735.
--
nosy: +brian.curtin
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8160
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar:
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5879
___
___
73 matches
Mail list logo