Charles-François Natali neolo...@free.fr added the comment:
Together with -R, it can help chase those memory leaks which aren't
reference leaks (see c6dafa2e2594).
Valgrind does a much better job at this: it will also show you where the leaked
blocks were allocated.
OTOH, Valgrind is
xhantu pwo...@rz-online.de added the comment:
Confirmed for Python 2.7.1 on Ubuntu.
Problematic are the __reduce__ methods of
multiprocessing.process.AuthenticationString and
multiprocessing.managers.BaseProxy. Pickling of an authkey in BaseProxy is only
done and allowed when
xhantu pwo...@rz-online.de added the comment:
forgot to set version in classification
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7503
___
R. David Murray rdmur...@bitdance.com added the comment:
Yeah, I just haven't found time to do the revert yet (my first naive attempt
using hg commands failed and I haven't found time to figure it out or do the
reverse-patch method).
--
___
Python
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
assignee: - ezio.melotti
nosy: +benjamin.peterson, georg.brandl
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4147
Maciej Bliziński maciej.blizin...@gmail.com added the comment:
I haven't tried building with GCC, Python has always been built with Sun Studio
at OpenCSW. I've got very similar build files for Python 2.6, 2.7, 3.0, and
3.1 -- none of them have this problem, so this is a regression in 3.2.
Nick Coghlan ncogh...@gmail.com added the comment:
This will likely be a decent you have a problem indicator, but you may still
need tools like Valgrind to actually track down the *cause* of that problem.
--
___
Python tracker rep...@bugs.python.org
Changes by Peter Funk p...@users.sourceforge.net:
--
nosy: +pefu
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4147
___
___
Python-bugs-list
Ezio Melotti ezio.melo...@gmail.com added the comment:
Here is a new patch based on Dan's last patch.
Correct me if I'm wrong, but it seems to me that it's not possible for a node
to have only text-nodes as children and yet have more than one child; i.e. you
can't have two or more adjacent
New submission from sengels ps...@gmx.de:
This bug seems to be related to http://bugs.python.org/issue13158
When I try to run the following code:
import tarfile
tf = tarfile.open(kdelibs-4.7.3.tar.bz2, r)
print(len(tf.getnames()))
against this tarball:
Changes by sengels ps...@gmx.de:
--
title: tarfile.getmembers misses members again - tarfile.getnames misses
members again
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13407
___
sbt shibt...@gmail.com added the comment:
Here is an updated patch which uses the real errno.
It also gets rid of the restore_pos argument of
_bufferedwriter_flush_unlocked() which is always set to false --
I guess buffered_flush_and_rewind_unlocked() is used instead.
--
Added file:
New submission from Éric Araujo mer...@netwok.org:
The code dealing with the new resources subsystem used to be called datafiles
(module distutils2.datafiles, file dist-info/DATAFILES, etc.). I believe it is
a better name and we should use it again:
- it would make clear that it’s an
Éric Araujo mer...@netwok.org added the comment:
Currently different environment variables are treated differently. For
example,
mistakes in PYTHONHOME and PYTHONIOENCODING cause fatal error while an error
in
PYTHONSTARTUP is reported but does not terminate python:
If PYTHONSTARTUP is
Baptiste Carvello de...@baptiste-carvello.net added the comment:
Le 14/11/2011 20:51, Eric Snow a écrit :
So would it be worth the effort to identify each such place in the
built-ins/stdlib and eventually change them all? I've seen support for doing
so in other tracker issues and think
Changes by lasizoillo lasizoi...@gmail.com:
--
nosy: +lasizoillo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13405
___
___
Python-bugs-list
Éric Araujo mer...@netwok.org added the comment:
C functions that have optional arguments but don't accept keyword arguments
are a bit unusual,
and IIUC in most of the cases that's an implementation detail that could be
removed.
So would it be worth the effort to identify each such place
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 659bf2a679d2 by Éric Araujo in branch 'default':
Add tests for tests.support (#12659), thanks to Francisco Martín Brugué
http://hg.python.org/distutils2/rev/659bf2a679d2
--
Ezio Melotti ezio.melo...@gmail.com added the comment:
Me too. (Can you give the #ids of these other issues?)
See for example #13012.
I think we should fix C functions to accept kwargs for the sake of
Python programmers, not merely to ease documentation (that would just
be a nice
Éric Araujo mer...@netwok.org added the comment:
I think we should fix C functions to accept kwargs for the sake of Python
programmers
And also for compatibility for other implementations like PyPy.
Good point.
I'm still not sure that is a good idea to do a mass conversion of all the
Éric Araujo mer...@netwok.org added the comment:
I’ve noticed that setuptools’ Command class also allows keyword arguments in
its constructor. I’m not sure if it would be useful, but I’ve not looked in
depth at the packaging codebase to see if there is code that could use that.
--
Antoine Pitrou pit...@free.fr added the comment:
Valgrind does a much better job at this: it will also show you where
the leaked blocks were allocated.
OTOH, Valgrind is Linux-only and slow, but since I haven't used the
'-R' option much, I don't know how usable this will be in practice
Éric Araujo mer...@netwok.org added the comment:
I've added runTest to Tester
It turns out this was the only change needed. Tarek’s repo on bitbucket is not
up-to-date, I should have given you the hg.python.org link. (You can edit
.hg/hgrc in your repo and run “hg pull -u” to get missing
Lars Gustäbel l...@gustaebel.de added the comment:
Some testing reveals that the bz2 module 3.3 cannot fully decompress the file
in question. Only the first 900k are decompressed. Thus, this issue is not
related to issue13158 or the tarfile module.
--
nosy: +lars.gustaebel
Charles-François Natali neolo...@free.fr added the comment:
Isn't this a duplicate of issue #1625?
--
nosy: +neologix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13407
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1625
___
___
Jesús Cea Avión j...@jcea.es added the comment:
Can you add the missing library path in CFLAGS and LDFLAGS environment
variables?.
Something like: (from a fresh source code)
./configure OPTIONS CFLAGS=-Ipath LDFLAGS=-Ipath
If that works, we can explore why the path is not detected
Jesús Cea Avión j...@jcea.es added the comment:
BTW, is only curses building failing?. Is the rest of the code built
correctly?. That would be a good hint.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13398
Éric Araujo mer...@netwok.org added the comment:
This module also fails to build on my Debian. I had the libcursesw headers
installed and one day it was not enough; installing libcurses headers fixes it.
I don’t know if it’s the same problem or something related to Debian multiarch.
Dave Mankoff man...@gmail.com added the comment:
Use regular expressions for more advanced stripping than what the .strip
method provides.
So I guess this brings me back to my original issue. I'm not looking for
particularly advanced stripping. I just want to remove all whitespace and other
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset c10946a17420 by Éric Araujo in branch 'default':
Clean up byte-compilation code in packaging (#11254 followup).
http://hg.python.org/cpython/rev/c10946a17420
--
___
Antoine Pitrou pit...@free.fr added the comment:
Thanks again. Just a nit: the tests should be in MiscIOTest, since they don't
directly instantiate the individual classes. Also, perhaps it would be nice to
check that the exception's errno attribute is EAGAIN.
--
stage: needs patch -
kxroberto kxrobe...@users.sourceforge.net added the comment:
ping!
perhaps I forgot to write that I uploaded the cleaned patch also on 2010-08-23.
I really think this simple patch is necessary. Just seen the same problem again
- as I forgot the patch in one of my recent Python update
Ezio Melotti ezio.melo...@gmail.com added the comment:
So I guess this brings me back to my original issue. I'm not looking
for particularly advanced stripping. I just want to remove all
whitespace and other non-printing characters.
.strip only strips whitespace. Stripping non-printing
Dan Kenigsberg dan...@redhat.com added the comment:
Technically, adjacent Text nodes are not illegal, but preserving this oddity in
pretty-print is impossible. It is perfectly fine to pretty-print only the
simple case of len()==1.
--
___
Python
Changes by Éric Araujo mer...@netwok.org:
Added file: http://bugs.python.org/file23694/b267e72c8c10.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13238
___
Éric Araujo mer...@netwok.org added the comment:
def __init__(self, command, *, **callkwds):
Is the '*' marker needed?
self.callkwds = callkwds
These aren’t used in the module-level functions. What is the use case?
If you forgive me for the nitpick, the docstrings have too
ipatrol ipatrol6...@yahoo.com added the comment:
The patch has been submitted, now we just need to apply it and update the
online docs accordingly.
--
status: open - pending
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
Changes by Brian Curtin br...@python.org:
--
status: pending - open
versions: -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10772
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10772
___
___
Éric Araujo mer...@netwok.org added the comment:
Ezio made further comments, follow the “review” link.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10772
___
Brett Cannon br...@python.org added the comment:
Answers to Eric's questions: yes and yes, but I probably won't bother until I
do a final update to the PEP.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2775
Brett Cannon br...@python.org added the comment:
I say go with the deletion for importlib. If the failure is a sign of success,
then just go with it and not worry about the failure. __pycache__ guarantees
that we are not losing out by clobbering some other Python version's pyc file.
Éric Araujo mer...@netwok.org added the comment:
Looking at sysconfig.cfg makes it all pretty clear, though it was hard to
find this
information a while ago.
Yeah, you had to be here when the resources code was committed, or to stumble
on it while reading the source code. It’s one of the
kxroberto kxrobe...@users.sourceforge.net added the comment:
I looked at the new patch http://hg.python.org/lookup/r86952 for Py3 (regarding
the extended tolerance and local backporting to Python2.7):
What I miss are the calls of a kind of self.warning(msg,i,k) function in
non-strict/tolerant
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset b75b41237380 by Antoine Pitrou in branch 'default':
Issue #13392: Writing a pyc file should now be atomic under Windows as well.
http://hg.python.org/cpython/rev/b75b41237380
--
Antoine Pitrou pit...@free.fr added the comment:
Ok, done. Let's see if that fixes the sporadic failures on the buildbots.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
The patch looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13380
___
___
New submission from Michał Leśniewski mlesn...@gmail.com:
If a regular expression ends with a backslash, an exception is raised. Of
course, the backslash has to be escaped. The simplest example, that causes the
error is a regular expression, that should match only a single backslash:
Ezio Melotti ezio.melo...@gmail.com added the comment:
You either have to double escape it (once for python and then for the regex
engine) or use raw strings:
re.match(, '\\').group()
'\\'
re.match(r\\, '\\').group()
'\\'
--
assignee: - ezio.melotti
resolution: - invalid
stage:
Ezio Melotti ezio.melo...@gmail.com added the comment:
The HTMLParser is not suitable for validation, even the strict mode allows some
non valid markup (and it might be removed soon).
Also I don't think it's easy to call a self.warnings() without trying the
strict mode first. The tolerant
Paul Moore p.f.mo...@gmail.com added the comment:
One important point - in the new world where data files living
alongside code is unsupported, the bdist_msi and bdist_wininst
installers need to be updated to install data files as needed. This
may work already (I'll do some tests to see how well
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - needs patch
versions: +Python 3.2, Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4442
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11990
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +terry.reedy
stage: - patch review
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue964437
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 12940d9f8031 by Antoine Pitrou in branch 'default':
Fix regression under Windows following b75b41237380 (from issue #13392)
http://hg.python.org/cpython/rev/12940d9f8031
--
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 0175883d9513 by Florent Xicluna in branch 'default':
Closes #13297: use bytes type to send and receive binary data through XMLRPC.
http://hg.python.org/cpython/rev/0175883d9513
--
nosy: +python-dev
Changes by Brian Curtin br...@python.org:
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10652
___
___
Python-bugs-list
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11261
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4395
___
___
Florent Xicluna florent.xicl...@gmail.com added the comment:
Patch updated with documentation.
--
nosy: +eric.araujo
stage: patch review - commit review
Added file: http://bugs.python.org/file23695/issue2979_xmlrpc_server_v2.diff
___
Python tracker
Charles-François Natali neolo...@free.fr added the comment:
Here's a patch removing the automatic retry on ECONNREFUSED: I tested it on
Linux and other Unices, and it seems to work just fine without this hammering.
Note that there's a similar mechanism for Windows (ERROR_PIPE_BUSY), but it
Eric Snow ericsnowcurren...@gmail.com added the comment:
Me too. (Can you give the #ids of these other issues?)
#13012 is the one that I was thinking of (msg144328 specifically). However,
I'm sure there was one more recently (which I can't find now).
--
Eric Snow ericsnowcurren...@gmail.com added the comment:
@msg147671
+1
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13386
___
___
Changes by Jesús Cea Avión j...@jcea.es:
Added file: http://bugs.python.org/file23696/9fcca74ff413.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13405
___
Jesús Cea Avión j...@jcea.es added the comment:
New changeset, with testsuite added.
Compile the code adding --with-dtrace to your configure command. After
compiling, test the code with
LD_LIBRARY_PATH=current_path
export LD_LIBRARY_PATH
./python Lib/test/regrtest.py -v test_dtrace.py
It
Antoine Pitrou pit...@free.fr added the comment:
LD_LIBRARY_PATH=current_path
export LD_LIBRARY_PATH
Why do you need LD_LIBRARY_PATH?
If you are inside a Solaris/OpenIndiana Zone, the zone *MUST* have
dtrace usermode permissions. If not, you can not use dtrace inside the
zone and, then,
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
I like Nick's original idea for a handful of convenience functions but want to
caution against adding a bunch of tools that start guessing at what you want.
Adding automatic wildcard expansion, shell quoting/splitting and
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset d42811b93357 by Victor Stinner in branch 'default':
Issue #13374: The Windows bytes API has been deprecated in the os module. Use
http://hg.python.org/cpython/rev/d42811b93357
--
Florent Xicluna florent.xicl...@gmail.com added the comment:
IIUC, it means that the library/application should not use the bytes API if it
intends to be supported on major platforms.
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
New submission from Jayanth Raman raman.jaya...@gmail.com:
With file xx.py:
class Foo(object):
def __init__(self, x):
self.x = x
def __long__(self):
return long(self.x)
def __float__(self):
return float(self.x)
y = Foo(22)
print '%d' % y
print '%d' % y
Martin v. Löwis mar...@v.loewis.de added the comment:
Thus strip and isspace are now unusable methods in Python for common use
cases.
Please recognize that you haven't demonstrated this at all. U+200B is
*not* a character that is common, not even remotely. It's a rare,
infrequent, unused
Martin v. Löwis mar...@v.loewis.de added the comment:
IIUC, it means that the library/application should not use the bytes API if
it intends to be supported on major platforms.
I think you misunderstand; it does not literally mean that. Instead, it
means that the library/application either
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13248
___
___
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13410
___
___
Python-bugs-list
New submission from Antoine Pitrou pit...@free.fr:
This patch allows hashing of memoryviews, as discussed on python-dev.
--
components: Interpreter Core
files: memhash.patch
keywords: patch
messages: 147714
nosy: ncoghlan, pitrou, skrah
priority: normal
severity: normal
stage: patch
Changes by Meador Inge mead...@gmail.com:
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13411
___
___
Python-bugs-list
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +brian.curtin, tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13412
___
___
New submission from Alex Regueiro alex...@gmail.com:
Python 2.7 has no knowledge of directory symlinks on Windows 7. Listing a
directory symlink does not work, nor does accessing a file within one. This is
quite a notable missing feature on Windows 7, where symlinks are becoming
increasingly
Changes by Eric V. Smith e...@trueblade.com:
--
nosy: +eric.smith, jason.coombs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13412
___
___
Eric V. Smith e...@trueblade.com added the comment:
I think this must be a change between 2.5 and 2.6.
In 2.5.1 non-debug (Linux) I consistently see:
print '%d' % y
Traceback (most recent call last):
File stdin, line 1, in module
TypeError: int argument required
In 2.6.5 (Windows via
Eli Bendersky eli...@gmail.com added the comment:
Then it appears to me that Sandro's patch is good and can be committed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11836
___
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
components: +Windows
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13412
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 21758f27f98f by Eli Bendersky in branch 'default':
document existing hooks for commit messages mentioning issues. Closes issue
13388
http://hg.python.org/devguide/rev/21758f27f98f
--
resolution: - fixed
Eli Bendersky eli...@gmail.com added the comment:
Committed, with the fix suggested by Éric
--
resolution: fixed -
stage: committed/rejected -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13388
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox, mark.dickinson
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13410
___
Antoine Pitrou pit...@free.fr added the comment:
Then it appears to me that Sandro's patch is good and can be committed.
The doc patch is good. However, if you start exposing SimpleQueue at the
top package level, you have to do it in 3.3 only (since that's a new
API), and also mention it
Jason R. Coombs jar...@jaraco.com added the comment:
Python 2.7 is not aware of symlinks and treats them like their targets, so it
should be able to list a symlink directory or access a file within one. For
example:
PS C:\Users\jaraco cmd /c dir
Volume in drive C is system
Volume Serial
Florent Xicluna florent.xicl...@gmail.com added the comment:
With Darwin 10.8.0 x86_64, I confirm the behavior described in first message.
$ python2.7 -V
Python 2.7.2
$ python2.7 -i xx.py
22
22
TypeError: int() argument must be a string or a number, not 'Foo'
'%d' % y
'22'
'%d' % y
Brian Curtin br...@python.org added the comment:
I think we could still make os.listdir work properly. I'll look into a patch
for this.
One problem here is the testability, since we'd need to rely on the mklink
CLI app to create the symlinks, which requires that the calling application
Alex Regueiro alex...@gmail.com added the comment:
What are you running? This is not what I get on Win7 x64, and I have had
several other users in ##python on FreeNode confirm this inability. As far as
Python is concerned, these dir sym links do not even exist.
--
Jason R. Coombs jar...@jaraco.com added the comment:
I should mention that there is third-party symlink support in jaraco.windows
(http://pypi.python.org/pypi/jaraco.windows). Just easy_install it, and then
use jaraco.windows.filesystem.symlink.
If there are features you need for symlink
Alex Regueiro alex...@gmail.com added the comment:
Thanks Bryan, that would be great.
The elevated privs problem could potentially be avoided by creating symlinks
using the Win32 API directly. As long as the appropiate group policy is set,
one does not require admin privs to create symlinks.
Jason R. Coombs jar...@jaraco.com added the comment:
Brian, I'm still not sure I see the problem with os.listdir. It includes
symlinks when listing a dir and traverses them naturally when referencing them
as part of a path to listdir. Under what conditions does it fail?
--
Alex Regueiro alex...@gmail.com added the comment:
Well, at the very least it's a system-dependent issue, since I've tried out
listdir and also file access on my system and some other Windows users'.
--
___
Python tracker rep...@bugs.python.org
Jason R. Coombs jar...@jaraco.com added the comment:
Some variables could be a missing privilege or role, or perhaps a UAC
restriction. What error do you get when you attempt to invoke os.listdir on a
symlink directory?
--
___
Python tracker
Alex Regueiro alex...@gmail.com added the comment:
No error whatsoever. Python just thinks it doesn't exist unfortunately. Same
report from other users...
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13412
Changes by Roger Serwy roger.se...@gmail.com:
--
nosy: +serwy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12988
___
___
Python-bugs-list mailing
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset afc716e463a1 by Victor Stinner in branch 'default':
Issue #13374: Skip deprecation tests for os.symlink() on Windows XP
http://hg.python.org/cpython/rev/afc716e463a1
--
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
A debug build displays XXX undetected error. An error condition was not
correctly cleared, see attached patch.
--
keywords: +patch
nosy: +amaury.forgeotdarc
Added file: http://bugs.python.org/file23698/issue13410.patch
1 - 100 of 126 matches
Mail list logo