New submission from M abcdefg.abcdefghijklmnopqrs...@gmail.com:
When using Python 2.5.4 on Windows (and potentially other versions and
platforms), usage of CTypes like the following cause a memory leak. The memory
leak can be verified with ProcessExplorer, as the memory Python takes up keeps
M abcdefg.abcdefghijklmnopqrs...@gmail.com added the comment:
Correction to the above link: See:
http://stackoverflow.com/questions/7452625/python-ctypes-memory-leak-with-structure
--
___
Python tracker rep...@bugs.python.org
Alex Gaynor alex.gay...@gmail.com added the comment:
This is caused by a cache which is kept of array's for different (Structure,
length) pairs.
--
nosy: +alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12998
M abcdefg.abcdefghijklmnopqrs...@gmail.com added the comment:
If it is a cache, shouldn't it be garbage-collected or limited in size? Why
does it grow without bounds?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12998
Stefan Krah stefan-use...@bytereef.org added the comment:
I cannot reproduce the crash on:
Linux debian-armel 2.6.32-5-versatile #1 Wed Jan 12 23:05:11 UTC 2011 armv5tejl
GNU/Linux
Since the old (arm) port is deprecated, I'm closing this.
--
resolution: - wont fix
stage: test
Changes by Charles-François Natali neolo...@free.fr:
--
nosy: haypo, neologix
priority: normal
severity: normal
stage: needs patch
status: open
title: _XOPEN_SOURCE usage on Solaris
type: behavior
versions: Python 3.3
___
Python tracker
New submission from Charles-François Natali neolo...@free.fr:
While testing issue #12981, I stumbled on a problem on OpenIndiana buildbot:
test test_multiprocessing crashed -- Traceback (most recent call last):
File
Charles-François Natali neolo...@free.fr added the comment:
Did you try it on Linux, FreeBSD and/or Windows?
It works fine on Linux, FreeBSD, OS X and Windows, but not on Solaris: see
issue #12999.
--
dependencies: +_XOPEN_SOURCE usage on Solaris
Charles-François Natali neolo...@free.fr added the comment:
Hello Benny,
As requested, here is the full patch for MirBSD support. The diff was taken
against version 2.7.2. It is really quite easy, you just need to handle
MirBSD like OpenBSD.
With this patch, I can successfully compile and
Sebastian Wiesner lunary...@googlemail.com added the comment:
Why should it? After all, you're sort of abusing ctypes by repeatedly creating
Struture types over and over again. C structures that you might want to wrap
with these types are fixed and known at the time of programming, so there
Stefan Krah stefan-use...@bytereef.org added the comment:
I can reproduce the leak with Python 2.5.4, but not with Python 2.6.5
or Python 3.2.
Python 2.5.4 is an ancient version. Please upgrade to Python 2.7
or Python 3.2. If the leak still exists, just respond to this issue
and it will be
Filip Gruszczyński grusz...@gmail.com added the comment:
Patch with tests.
--
keywords: +patch
Added file: http://bugs.python.org/file23178/11694.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11694
Charles-François Natali neolo...@free.fr added the comment:
Here's a patch taking into account the fact that
multiprocessing.reduction might not be available and importing it can
raise an ImportError (which is already the case with the C
implementation, but multiprocessing.reduction tests have
Changes by Charles-François Natali neolo...@free.fr:
Removed file: http://bugs.python.org/file23166/multiprocessing_fd-1.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12981
___
New submission from jorge.seifert jorge.seif...@gmail.com:
Unhandled exception just at when start to install on windows 2003
--
components: Installation
messages: 144182
nosy: jorge.seifert
priority: normal
severity: normal
status: open
title: unhandled exception at install
type: crash
Georg Brandl ge...@python.org added the comment:
Can you please give ANY information on what exactly you were installing, and
what the exception was? Otherwise this report is useless.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12999
___
___
Python-bugs-list mailing list
Jesús Cea Avión j...@jcea.es added the comment:
See too http://bugs.python.org/issue6755#msg143798
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12999
___
Changes by Jesús Cea Avión j...@jcea.es:
--
title: _XOPEN_SOURCE usage on Solaris - _XOPEN_SOURCE and
_XOPEN_SOURCE_EXTENDED usage on Solaris
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12999
Jesús Cea Avión j...@jcea.es added the comment:
Some rational in issue1759169.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12999
___
___
jorge.seifert jorge.seif...@gmail.com added the comment:
The message I get after it is:
undandled win32 exception occurred in msiexec [2376]
I am tryin to install on windows server 2003
--
___
Python tracker rep...@bugs.python.org
ben thelen_...@yahoo.com added the comment:
Hi Ned,
Not sure if I fully understand the IDLE issue, I'm still learning Python (abt.
6 months). Nevertheless I've installed the distributes through the command line.
if you want to reassign this issue to IDLE, please do so.
Best regards,
Ben
New submission from Charles-François Natali neolo...@free.fr:
http://www.python.org/dev/buildbot/all/builders/x86 FreeBSD 7.2
3.x/builds/2129/steps/test/logs/stdio
==
FAIL: testRecvmsgTrunc (test.test_socket.RecvmsgUDPTest)
New submission from Stefan Krah stefan-use...@bytereef.org:
peephole.c: CONST_STACK_TOP(x) has an unused parameter.
--
components: Interpreter Core
files: peephole_unused_parameter.diff
keywords: patch
messages: 144189
nosy: skrah
priority: normal
severity: normal
stage: patch review
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file23136/log.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12967
___
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file23181/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12967
___
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file23170/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12967
___
Éric Araujo mer...@netwok.org added the comment:
I'm not suggesting that python does not test the applications. just reporting
what I experience.
I was joking :) What I meant was: I can’t agree with the statement “it could
be raised on any other usage as sys.stdout does not have an 'error'
Éric Araujo mer...@netwok.org added the comment:
Well, there’s no rush, Python 3.3b1 is not next week.
I’m willing to apply the patch to packaging and distutils2 (in a week or two
when I’ve finished a massive cleanup and caught up with packaging), but I’d
like tests for detect_language, and
Éric Araujo mer...@netwok.org added the comment:
test_packaging now passes on the buildbot, thanks! (The current failure is
test_socket.)
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Andrew: Ezio means http://docs.python.org/2.7/library/unicodedata
For the purposes of patching shlex
Sorry, but we are not talking about patching shlex.
I just posted here because this page currently gets the top hit
when searching for shlex
Éric Araujo mer...@netwok.org added the comment:
Distutils and packaging tests now pass on the three builbots.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12785
___
Éric Araujo mer...@netwok.org added the comment:
[Terry]
But when I add 'http:www.python.org' as an argument, I get
urllib.error.URLError: urlopen error no host given
Your URI lacks a host (netloc, in RFC parlance) component:
urllib.parse.urlparse('http:python.org')
Éric Araujo mer...@netwok.org added the comment:
While I'm sympathetic to supporting arbitrary path names, I'm not sure
if it is worth the effort.
My sentiment too. Supporting non-ASCII characters seems clearly important to
me, as it’s a reasonable and common thing to run or install Python
Changes by Éric Araujo mer...@netwok.org:
--
type: behavior - feature request
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12964
___
Mark Bucciarelli m...@crosscutmedia.com added the comment:
Opened http://bugs.python.org/issue12997 in case there is a way to solve the
foreign_key PRAGMA issue with a less disruptive fix.
--
nosy: +Mark.Bucciarelli
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
I would not suggest to rename a .pyo to .pyc, they have different promises (if
I can even say that, as they’re implementation details).
--
nosy: +eric.araujo
stage: - needs patch
title: .pyo file cannot be imported - .pyo file can't be
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file23132/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12961
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file23134/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12961
___
Éric Araujo mer...@netwok.org added the comment:
It’s a problem for free software distribution, regardless of the commercial
status, like the profiler used to be. The Demo directory is gone in 3.2 and
higher; I’m not sure any effort to fix this in 2.7 is worth it.
--
nosy:
Meador Inge mead...@gmail.com added the comment:
Looks like it was checked in that way
(http://hg.python.org/cpython/rev/14205d0fee45). Patch looks good to me.
--
nosy: +meadori
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12931
___
R. David Murray rdmur...@bitdance.com added the comment:
Ezio, I don't see any indication in this ticket that this bug was actually
*fixed* in 3.x. Unicode doesn't cause immediate errors in 3.x, but it isn't
recognized as wordchars, etc. Am I missing something?
--
Ezio Melotti ezio.melo...@gmail.com added the comment:
I haven't looked at the shlex code (yet), my comment was just about the idea of
adding constants with chars that belong to different Unicode categories.
--
___
Python tracker
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Let me close this!
I've just recently removed the real patch from my postman's next
branch, because even that real implementation doesn't work reliable.
I.e., please forget msg135791. It was true, but on the long run
mutt(1)
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Closing this...
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11686
___
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
I think this is historic either?
As far as i remember you solved it as part of another issue...
--
status: open - closed
___
Python tracker rep...@bugs.python.org
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Right, and that is considered to be a non-issue due to
that close() is allowed multiple times without causing harm.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com:
--
nosy: -sdaoden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11466
___
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
I think string methods (and other parts of the stdlib) assume NFC and leave
normalization to NFC up to the user. Before fixing str.title() we should take
a more general decision about handling strings that use other normalization
forms.
Georg Brandl ge...@python.org added the comment:
And which version, exactly? Which file, downloaded from where?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13000
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4153
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +lemburg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12508
___
___
Python-bugs-list
Changes by Georg Brandl ge...@python.org:
--
title: unlabelled balls in boxes - itertools: unlabelled balls in boxes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12961
___
Georg Brandl ge...@python.org added the comment:
The only resonable fix to make would be removal from the distribution.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12987
Meador Inge mead...@gmail.com added the comment:
v2 patch which addresses comments made by merwok via rietveld.
--
Added file: http://bugs.python.org/file23184/issue12943-2.patch
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
Looks good to me. Did you get commit rights already?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12943
___
Georg Brandl ge...@python.org added the comment:
I don't think this is important enough. It's now a class anyway in 3.3+.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12960
Meador Inge mead...@gmail.com added the comment:
Did you get commit rights already?
I have not. I still need to submit a contributor agreement as well. I
plan to fax that today.
--
___
Python tracker rep...@bugs.python.org
LMO rayco...@gmail.com added the comment:
I don't see supporting spaces as being important, either. Since the failure is
not obviously related to the presence of spaces, I would like to see the
limitation documented.
Éric Araujo mer...@netwok.org added the comment:
While I'm
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I recommend just closing this.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12960
___
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12961
___
___
Georg Brandl ge...@python.org added the comment:
I think you're mistaking a closed connection with no data available.
Small demo that this works as intended:
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(('localhost', 1234))
s.recv(10)
^CTraceback (most recent call last):
Florian Loitsch flor...@loitsch.com added the comment:
FYI: the double-conversion library at
http://code.google.com/p/double-conversion already contains code for the
fallback case. It would not be necessary to keep Python's existing code just
for the 0.5%.
The library is now used by Firefox,
R. David Murray rdmur...@bitdance.com added the comment:
Why? The bug hasn't been fixed yet.
--
assignee: - r.david.murray
stage: - patch review
status: closed - open
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
R. David Murray rdmur...@bitdance.com added the comment:
I may have, but I'd prefer to check before closing the issue. (I'm deep in
another project right now, but I'll review all these open bugs this fall some
time).
--
status: closed - open
___
poq p...@gmx.com added the comment:
Works for me?
$ python2.7 t.py
Traceback (most recent call last):
File t.py, line 13, in module
con.execute(insert into track (artist_id) values (1))
sqlite3.IntegrityError: foreign key constraint failed
$ python3.2 t.py
Traceback (most recent call
poq p...@gmx.com added the comment:
The sqlite3 module already uses prepared statements. Quoting from the
documentation:
The sqlite3 module internally uses a statement cache to avoid SQL parsing
overhead. If you want to explicitly set the number of statements that are
cached for the
Mark Bucciarelli m...@crosscutmedia.com added the comment:
huh. is it already on in your sqlite install?
$ sqlite3
SQLite version 3.7.7.1 2011-06-28 17:39:05
Enter .help for instructions
Enter SQL statements terminated with a ;
sqlite pragma foreign_keys;
0
sqlite
is what i get (it's off).
jorge.seifert jorge.seif...@gmail.com added the comment:
Version 2,7,2
file python 2.7.2.msi
downloaded from this website
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13000
___
jorge.seifert jorge.seif...@gmail.com added the comment:
'msiexec.exe': Loaded 'C:\WINDOWS\system32\msiexec.exe', Cannot find or open
the PDB file
'msiexec.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the
PDB file
'msiexec.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll',
poq p...@gmx.com added the comment:
Nope.
$ sqlite3
SQLite version 3.7.4
Enter .help for instructions
Enter SQL statements terminated with a ;
sqlite pragma foreign_keys;
0
sqlite
$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
[GCC 4.5.2] on linux2
Type help, copyright, credits or
Phillip Feldman phillip.m.feld...@gmail.com added the comment:
The itertools module should only have a few of the most generally useful,
especially in combination with other tools.
Balls-in-boxes _is_ one of the most basic of the canonical combinatorial
problems. You can verify this by
Damian atag...@gmail.com added the comment:
Retested with Python 3.1.1 and this issue doesn't manifest. This can be
resolved - sorry about the noise. :)
--
nosy: +atagar
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12972
New submission from Eli Bendersky eli...@gmail.com:
Regarding the sample code in:
http://docs.python.org/library/itertools#itertools.izip_longest
If an IndexError is raised inside an iterator in the equivalent code
from the docs, the generator stops and the error is swallowed.
If an
Georg Brandl ge...@python.org added the comment:
I had forwarded this to Raymond, and he replied:
The itertools module code is correct.
The equivalent is only approximately correct
I don't consider it to be a bug -- it is an implementation detail in an
illustration.
--
nosy:
Georg Brandl ge...@python.org added the comment:
Thanks!
--
assignee: - brian.curtin
nosy: +brian.curtin, loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13000
___
Eli Bendersky eli...@gmail.com added the comment:
What about at least documenting it? Since a real user ran into this and
reported it as a problem, I think it would make sense to make the discrepancy
explicit.
Alternatively a generalized note can be added to the documentation of itertools
Georg Brandl ge...@python.org added the comment:
Well, this is for Raymond to decide.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13003
___
80 matches
Mail list logo