Ezio Melotti ezio.melo...@gmail.com added the comment:
That sentence should be changed to mention the str method rather than the
deprecated functions in the string module.
(The methods' names after the example should also link to the right str.method
--
assignee: docs@python -
Ross Lagerwall rosslagerw...@gmail.com added the comment:
I think this is a duplicate of issue5870.
--
nosy: +rosslagerwall
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11404
___
Ryan Kelly r...@rfk.id.au added the comment:
Not sure if it's caused by the same thing, but I just got a segfault on the
same line in my own program. Running python 2.7.1.
I will try to dig out some more useful info but it's been a long time since I
chased a segfault...
--
nosy:
Changes by Ned Deily n...@acm.org:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - subprocess.DEVNULL
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11404
Changes by Ned Deily n...@acm.org:
--
nosy: +mmarkk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5870
___
___
Python-bugs-list mailing list
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5870
___
___
Python-bugs-list
New submission from Марк Коренберг socketp...@gmail.com:
Big dirs are really slow to read at once. If user wants to read items one by
one like here:
--
for i in os.listdir()
use(i)
--
having generator will gain performance, as big directories often very
fragmented
Martin v. Löwis mar...@v.loewis.de added the comment:
Big dirs are really slow to read at once.
Do you a proof for that claim? How big, and how really slow?
for i in os.listdir()
use(i)
Also, how long does use(i) take, and what reduction (in percent)
can you gain from listdir
Charles-Francois Natali neolo...@free.fr added the comment:
Do you have a coredump ?
It'd be curious to see this faulting address.
I didn't notice the first time, but in the OP case the address is definitely
wrong: 0xecc778b7 is above PAGE_OFFSET (0xc000 on x86), so unless he's
using a
Марк Коренберг socketp...@gmail.com added the comment:
also, forgot... memory usage on big directories using list is a pain.
This is the same things as range() and xrange(). Why not to add os.xlistdir() ?
P.S.
Numerical answers will be available later.
--
Ryan Kelly r...@rfk.id.au added the comment:
Please remind me how to obtain an appropriate coredump (as I said, it's been a
*long* time...)
Doing print bp shows an out-of-bounds address as for the original submitter.
--
___
Python tracker
Ryan Kelly r...@rfk.id.au added the comment:
attaching core dump from a freshly-compiled python 2.7.1 at with -O0 -g in
CFLAGS.
The code that is segfaulting is using pycrypto and sqlite3, so it may be that a
bug in one of these is trampling on something. No idea how to investigate any
Charles-Francois Natali neolo...@free.fr added the comment:
The code that is segfaulting is using pycrypto and sqlite3, so it may be that
a bug in one of these is trampling on something. No idea how to investigate
any further.
You could try valgrind:
$ valgrind --tool=memcheck -o
Steffen Daode Nurpmeso sdao...@googlemail.com added the comment:
Changes by R. David Murray rdmur...@bitdance.com:
assignee: - r.david.murray
David, i'm sending you data to reproduce the error on your local
machine!
Please create a test directory and place the files therein
(an
Changes by Steffen Daode Nurpmeso sdao...@googlemail.com:
--
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11401
___
___
R. David Murray rdmur...@bitdance.com added the comment:
Ah, yes, splitpath is a function I've occasionally wanted. I also remember
being surprised that os.path.split didn't return such a list.
--
___
Python tracker rep...@bugs.python.org
New submission from Michael Foord mich...@voidspace.org.uk:
If you call TestCase.run without an argument it will create a default
TestResult and use it to execute the test. It should return the result so that
you can introspect it.
--
assignee: michael.foord
messages: 130120
nosy:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11407
___
___
New submission from Charles-Francois Natali neolo...@free.fr:
While tracing a program using multiprocessing queues, I noticed that there were
many calls to gettimeofday.
It turns out that acquire_timed, used by lock_PyThread_acquire_lock and
rlock_acquire, always call gettimeofday, even if no
Changes by Andreas Stührk andy-pyt...@hammerhartes.de:
--
nosy: +Trundle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11406
___
___
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report. What is your OS name and exact version?
--
assignee: - tarek
components: +Distutils -Tests
nosy: +eric.araujo, tarek
___
Python tracker rep...@bugs.python.org
chris nojima chrisnoj...@gmail.com added the comment:
Sorry. You are correct, this must have been fixed in 3.1.2. The box I was on
had 3.1.1 on it and some other configuration issues led me to believe this was
happening in 3.2 as well.
--
resolution: - fixed
status: open - closed
yeswanth swamiyeswa...@yahoo.com added the comment:
I am trying for unit tests here , but would need some assistance. I included a
file here , please review that. first of all i am not able to access
self.data['version'](shows an exception , here). suggest me a solution here .
--
Antoine Pitrou pit...@free.fr added the comment:
A generator listdir() geared towards performance should probably be able to
work in batches, e.g. read 100 entries at once and buffer them in some internal
storage (that might mean use readdir_r()). Bonus points if it doesn't release
the GIL
Westley Martínez aniko...@gmail.com added the comment:
Arch Linux
kernel 2.6.37.2
glibc 2.13
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11340
___
New submission from Kelsey kelsey.highto...@gmail.com:
I would like to make pysetup easier to work with when called from shell scripts
or similar tools that wish to take action based on the exit code of the pysetup
--search command. In this case return 0 if a match is found and 1 otherwise.
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11406
___
___
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
pysetup is currently under heavy refactoring -- see the
https://bitbucket.org/tarek/distutils2-new-cmdline clone if you want to help on
this.
I am planning to merge it before the release, this week.
--
Charles-Francois Natali neolo...@free.fr added the comment:
Big dirs are really slow to read at once. If user wants to read items one by
one like here
The problem is that readdir doesn't read a directory entry one at a time.
When you call readdir on an open DIR * for the first time, the libc
Kelsey kelsey.highto...@gmail.com added the comment:
I will take a look, thanks.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11409
___
___
Kelsey kelsey.highto...@gmail.com added the comment:
Updated patch based on the distutils2-new-cmdline repo
https://bitbucket.org/khightower/distutils2-new-cmdline-mq/qseries?apply=tqs_apply=pysetup-search-nonzero
--
Added file:
Wojciech Muła wojciech_m...@poczta.onet.pl added the comment:
Confirmed in python3.2.
Lib/posixpath.py/_resolve_link: path returned by readlink
is normalized by normpath. In this case readlink('zlink')
returns 'xlink/../blink', then normpath is called, and
returns 'blink'. This ends processing
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
___
___
Santoso Wijaya santoso.wij...@gmail.com added the comment:
And a patch for the test + fix.
--
Added file: http://bugs.python.org/file21012/wconsole_large.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11395
Antoine Pitrou pit...@free.fr added the comment:
Following error on the OpenIndiana buildbot:
test test_mmap failed -- Traceback (most recent call last):
File
/export/home/buildbot/32bits/3.1.cea-indiana-x86/build/Lib/test/test_mmap.py,
line 242, in test_access_parameter
m =
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Indeed, Python3.1 fails with the -u option.
I'm also attaching another test to reproduce the crash with '-u' option.
--
Added file: http://bugs.python.org/file21013/test_wconsole_binlarge.patch
Antoine Pitrou pit...@free.fr added the comment:
Buildbot failure should be fixed in e3eaf7dbb2b4.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11391
___
Antoine Pitrou pit...@free.fr added the comment:
Merged in 92ab79ca4eeb, f9f9662dfb1f, 2e4468841c4c. Thank you!
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
versions: +Python 3.1
___
Python tracker
Philip Jenvey pjen...@underboss.org added the comment:
The code I linked to above implements those semantics in pure Python. It
follows Microsoft's Parsing C Command-Line Arguments rules like
CommandLineToArgvW does
Here's updated links, the older links seemed to have broken:
Ned Deily n...@acm.org added the comment:
Testing legacy svn references here (r88479) and new hg references here (67980)
and here (284026e00342).
--
nosy: +ned.deily -ezio.melotti
___
Python tracker rep...@bugs.python.org
Ned Deily n...@acm.org added the comment:
Testing legacy svn references here r88479 and new hg references here
284026e00342.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
Changes by Ned Deily n...@acm.org:
--
Removed message: http://bugs.python.org/msg130139
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Changes by Ned Deily n...@acm.org:
--
Removed message: http://bugs.python.org/msg130140
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Changes by Ned Deily n...@acm.org:
--
nosy: -ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs-list mailing list
yeswanth swamiyeswa...@yahoo.com added the comment:
is there any default version in pep 386?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11060
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Python-bugs-list
New submission from Thomas Wouters tho...@python.org:
This patch adds support for the GCC visibility attributes to the PyAPI_* macros
(currently only used for Windows.) GCC's default visibility is 'public', but
can be changed to 'hidden' with the '-fvisibility=hidden' argument; see
Thomas Wouters tho...@python.org added the comment:
This patch adds support for the GCC visibility attributes to the PyAPI_* macros
(currently only used for Windows.) GCC's default visibility is 'public', but
can be changed to 'hidden' with the '-fvisibility=hidden' argument; see
Changes by Thomas Wouters tho...@python.org:
--
Removed message: http://bugs.python.org/msg130144
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11410
___
Thomas Wouters tho...@python.org added the comment:
Uploaded to Rietveld, too: http://codereview.appspot.com/4260052/
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11410
___
New submission from Thomas Wouters tho...@python.org:
Fix a (double) typo in the Makefile, which prevents 'make
DESTDIR=relative/path' from working correctly.
--
files: destdir.diff
keywords: easy, needs review, patch
messages: 130146
nosy: twouters
priority: normal
severity: normal
New submission from Raymond Hettinger rhettin...@users.sourceforge.net:
The section headings all look like this:
4.11. Other Built-in Types
4.11.1. Modules
...
http://docs.python.org/dev/library/stdtypes.html#classes-and-class-instances
It looks like there is
Antoine Pitrou pit...@free.fr added the comment:
Pushed in 6ba9ba58499e, thank you.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
54 matches
Mail list logo