New submission from Peter Landgren peter.tal...@telia.com:
The time it takes, in the application Gramps, to fill an empty bsddb database
by importing an XML backup or a GECDOM file, incrises from about 2 minutes to
about an hour in Windows XP ana Windows 7. No such degradation has been sen in
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
New submission from STINNER Victor victor.stin...@haypocalc.com:
Python3 uses unicode filenames in Windows and bytes filenames (but support
also unicode filenames) on other OS. We have to support both types. On
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
priority: - normal
stage: - patch review
type: - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8514
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +jcea
priority: - normal
stage: - unit test needed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8516
___
Georg Brandl ge...@python.org added the comment:
Fixed in r80433.
--
assignee: r.david.murray - georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7507
Stefan Krah stefan-use...@bytereef.org added the comment:
I included the test for libtinfo in the latest patch. The patch is tested
on Fedora and correctly links the curses module with -lncursesw.
This means that the ldd method works on all buildbots, OpenBSD, OpenSolaris
and Fedora.
Stefan Krah stefan-use...@bytereef.org added the comment:
I'm not against sorting things out in configure.in, but I'm not quite
sure that it will be more portable than ldd:
On FreeBSD (the problem system!) I can't get this to work:
[ste...@freebsd-i386 ~]$ echo 'int main() { readline(); }'
Daniel Evers derm...@googlemail.com added the comment:
I attached a patch:
The backlog is set to at least 0 instead of 1. I also added a comment that a
backlog 0 can lead to problems and doesn't make sense anyway (so if there are
systems that may crash with backlog 0 this will be avoided).
Charles-Francois Natali neolo...@free.fr added the comment:
It looks like you forgot to update the function's documentation ;-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8498
___
Stefan Krah stefan-use...@bytereef.org added the comment:
Sigh. xxx.c == test_readline.c in the previous comment.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7384
___
Daniel Evers derm...@googlemail.com added the comment:
Ah right ;)
Sorry, attached the path incl. the doc string.
--
Added file: http://bugs.python.org/file17066/backlog0_incl_doc.diff
___
Python tracker rep...@bugs.python.org
Daniel Evers derm...@googlemail.com added the comment:
A second patch for the documentation of socket.listen().
--
Added file: http://bugs.python.org/file17067/socket_listen.patch
___
Python tracker rep...@bugs.python.org
New submission from Brandon Craig Rhodes bran...@rhodesmill.org:
On this page, the Style Guide for people who want to try contributing to the
Python documentation:
docs.python.org/documenting/style.html
there is a broken link to the Apple Style Guide. The 2008 edition now seems
gone and
anatoly techtonik techto...@gmail.com added the comment:
I am just curious what convinced you to change the -2 opinion after two years
with r80388?
Reopening to change resolution status.
--
status: closed - open
versions: +Python 2.7
___
Python
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8517
___
___
Python-bugs-list
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Builbots are all ok except Solaris which makes me think that maybe asyncore is
broken on such platform:
http://python.org/dev/buildbot/builders/sparc%20solaris10%20gcc%20trunk/builds/728/steps/test/logs/stdio
I've tried to adjust the tests
anatoly techtonik techto...@gmail.com added the comment:
Please also add a link to issue3341 as a Superceder.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2823
___
anatoly techtonik techto...@gmail.com added the comment:
I am glad there is some response to this issue in r80388
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3341
Changes by Georg Brandl ge...@python.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3341
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
These links just go to the same page as the link on the front page. It's not a
link to the tracker, or a form to report a bug in the documented module.
--
status: open - closed
___
Python tracker
Georg Brandl ge...@python.org added the comment:
This was already fixed in r80150, but not backported; I've done so now in
r80438 ff.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
I'm closing this again; I can see that nobody will implement this for Python if
it's not available in Sphinx, and also I don't think it would be a good idea to
do so.
--
___
Python tracker
Stefan Krah stefan-use...@bytereef.org added the comment:
Can you check if the latest patch for issue 7384 fixes the problem?
The patch is against py3k, but it comes down to this:
1) Build the readline module _only_ with -lreadline (instead of
-lreadline -lncursesw)
2) Build the
Changes by Georg Brandl ge...@python.org:
--
resolution: rejected - fixed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2823
___
___
anatoly techtonik techto...@gmail.com added the comment:
Still the part Report bug on this page is covered. Please, add a link to
Superceder.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2823
Jesús Cea Avión j...@jcea.es added the comment:
Please, install Berkeley DB 4.6.X in linux and reinstall bsddb3 to use it,
instead of BDB 4.7. Would be a good idea to install pybsddb 4.7.3, too, to
mimic Windows environment under linux closely.
After doing this, and verifying that linux
Georg Brandl ge...@python.org added the comment:
As you wish.
--
superseder: - Suggest a change link
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2823
___
anatoly techtonik techto...@gmail.com added the comment:
Georg, if you are not going to implement it, it doesn't mean nobody will do
this. In Sphinx or through disqus. I do not see the reason to close this
feature request.
Also I do not understand arguments like:
Yes, this is under
Changes by Jesús Cea Avión j...@jcea.es:
--
assignee: - jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8516
___
___
Python-bugs-list mailing
Georg Brandl ge...@python.org added the comment:
I haven't changed my mind. The it would not be a good idea to do so refers
to implementing this for Python exclusively.
Of course, if you volunteer to do so, I won't stop you :) Otherwise, please
trust my judgement that this issue will do
Changes by Georg Brandl ge...@python.org:
--
assignee: georg.brandl - theller
nosy: +theller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8481
___
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +guy.linton
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8516
___
___
Python-bugs-list mailing
New submission from Adrián Deccico decc...@gmail.com:
Hi, in this document:
Idioms and Anti-Idioms in Python
In the except section, where it says:
The example above is better written
it should said:
The example below is better written
--
assignee: georg.brandl
components:
Georg Brandl ge...@python.org added the comment:
The text is correct as-is; the meaning is The example that is shown above is
better written like this:.
--
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8514
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8513
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Warning: reverted in trunk, now leaves in distutils2
--
components: +Distutils2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5583
___
New submission from anatoly techtonik techto...@gmail.com:
The patch adds link to reference with various flags for termios functions and
fcntl.ioctl call.
--
assignee: georg.brandl
components: Documentation
files: .reference-termios-specification-for-flags.diff
keywords: patch
Éric Araujo mer...@netwok.org added the comment:
Note that there can be any whitespace in reST markup, e.g. you can put a
newline betweeen “`thing” and “link`_”, thus avoiding too long lines. I think
you can put a newline in a “link” too, they will be removed.
Regards
--
nosy:
Georg Brandl ge...@python.org added the comment:
The POSIX reference is OK; I'm hesitant to put a Linux-specific reference in
though. Also, ioctls are not limited to tty operations. IMO a
:manpage:`ioctl(2)` would suffice.
--
___
Python tracker
Brian Curtin cur...@acm.org added the comment:
Fixed with r80439-r80442.
--
assignee: georg.brandl - brian.curtin
components: +Extension Modules -Documentation
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
anatoly techtonik techto...@gmail.com added the comment:
Éric, thanks, attached reStructured patch.
Georg, ioctl(2) is useless, because it doesn't contain the information people
need in addition to Python manual, i.e. various examples (like how to get
console size) and constants (like
Adrián Deccico decc...@gmail.com added the comment:
Hi Georg,
Ok, so perhaps the text is a little confusing. Perhaps it would be a
good idea to add a colon or as you state the words like this
thanks
On Sat, Apr 24, 2010 at 4:35 PM, Georg Brandl rep...@bugs.python.org wrote:
Georg Brandl
Georg Brandl ge...@python.org added the comment:
ioctl(2) usually has see also entries that list the available ioctls, such as
ioctl_list on linux.
If you want to link to examples like getting console size, the manpage isn't
very helpful either, since you have to figure out how exactly to
Georg Brandl ge...@python.org added the comment:
I'll let an English native speaker decide how to best express this.
--
assignee: georg.brandl - r.david.murray
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
New submission from Georg Brandl ge...@python.org:
Testing delivery of tracker messages, and autonosy for docs issues.
--
assignee: d...@python
components: Documentation
messages: 104102
nosy: d...@python, georg.brandl
severity: normal
status: open
title: test doc issue
versions: Python
Georg Brandl ge...@python.org added the comment:
OK, works.
--
assignee: d...@python -
nosy: -d...@python
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8520
Éric Araujo mer...@netwok.org added the comment:
I think the unnecessary removal of __future__ imports but consistent with the
idea that Python 3 is a new start, a blank sheet, and we don’t mention every
novelty since previous versions.
--
nosy: +merwok
Éric Araujo mer...@netwok.org added the comment:
s/but/is/
--
title: 2to3 fix_future.py removes __future__ imports, but should it? - 2to3
fix_future.py removes __future__ imports, but should it?
___
Python tracker rep...@bugs.python.org
anatoly techtonik techto...@gmail.com added the comment:
I do not mind if you include a better link with ioctl constants explained or
have ideas for examples. I hope you agree the ioctl(2) man page contains much
less useful information than
Changes by Brian Curtin cur...@acm.org:
--
assignee: brian.curtin
components: Extension Modules, Windows
nosy: brian.curtin
priority: normal
severity: normal
stage: needs patch
status: open
title: Allow some winreg functions to accept keyword arguments
type: feature request
versions:
Brian Curtin cur...@acm.org added the comment:
I changed the documentation to reflect that OpenKey, CreateKeyEx, and
DeleteKeyEx (latter two are 2.7/3.2 only) do not take keyword arguments, but
they have default values. Done in r80445-r80448.
I created a feature request in #8521 to implement
Matthias Klose d...@debian.org added the comment:
applied the changes for 2.7 and 3.2. there is a diff for the regenerated
configure like
-rm -f -r conftest*
+rm -f conftest*
I explicitely used a vanilla autoconf-2.61 download for regenerating the
configure script. Why the diff?
--
Matthias Klose d...@debian.org added the comment:
here is the diff for configure.in. The __EXTENSIONS__ macro is defined by 2.65
for Solaris, removed this explicit definition. running a test build
--
Added file: http://bugs.python.org/file17070/configure.in.diff
Benjamin Peterson benja...@python.org added the comment:
As covered in http://docs.python.org/dev/reference/expressions.html#calls, this
is how function calls are bound.
--
resolution: - wont fix
status: open - closed
___
Python tracker
New submission from Adrián Deccico decc...@gmail.com:
Hi, in Exceptions section.
Instead of using:
def get_status(file):
fp = open(file)
try:
return fp.readline()
finally:
fp.close()
Why no suggest this method:
def get_status(file):
with open(file) as fp:
Éric Araujo mer...@netwok.org added the comment:
Hello
You’re right, this idiom (new in 2.5, always enabled in 2.6) is now the
recommended way of doing this. Note that the older code does close the file
properly too, it’s just another way of doing it.
Would you like to provide a patch
Changes by Benjamin Peterson benja...@python.org:
Added file: http://bugs.python.org/file17071/refactor_a_bit.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8419
___
Éric Araujo mer...@netwok.org added the comment:
From http://docs.python.org/dev/reference/expressions.html#calls
“An implementation may provide built-in functions whose positional parameters
do not have names, even if they are ‘named’ for the purpose of documentation,
and which therefore
Antoine Pitrou pit...@free.fr added the comment:
I think it would be overkill to add special markup for positional-only
arguments. I think we should just close the issue as invalid.
--
___
Python tracker rep...@bugs.python.org
Benjamin Peterson benja...@python.org added the comment:
Fixed in r80450.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8419
___
Éric Araujo mer...@netwok.org added the comment:
The comment I made before yours supports that. It’s not a bug, it’s a
documented behavior that just needs more exposure in the intro to the docs. (Do
we have a page explaining markup?)
The real real fix would be for C functions to accept
New submission from rubenlm ru...@libhertz.com:
The code that lists directory contents in rmtree is:
try:
names = os.listdir(path)
except os.error, err:
onerror(os.listdir, path, sys.exc_info())
If there is an error there is nothing the onerror function can do to fix the
problem because
Peter Landgren peter.tal...@telia.com added the comment:
1. Sorry, I made a mistake this morning. (Had to run to a funeral.)
These are the correct version:
Python 2.5 Python 2.6
Windows 4.4.5.3 (4, 4, 20)4.7.3 (4.7.25)
Linux4.4.5.3 (4, 6, 21)4.7.3 (4.7.25)
So,
Adrián Deccico decc...@gmail.com added the comment:
Hi, you are right. I am attaching the patch. I tested against 2.6.5 and trunk
(the file has no changed)
thanks
--
keywords: +patch
Added file: http://bugs.python.org/file17072/doanddont.rst.patch
New submission from Daniel Stutzbach dan...@stutzbachenterprises.com:
Hi Brian,
It looks like you had attached to issue5774 a patch to allow OpenKey to accept
keyword arguments. Just thought I'd mention that here so there's a link back
to it.
--
nosy: +stutzbach
Antoine Pitrou pit...@free.fr added the comment:
The tests should probably check all three types of I/O (raw, buffered, text).
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7865
Tim Lyons guy.lin...@gmail.com added the comment:
I see the same slowdown in Mac OS X with python 2.6 and bsddb 4.7.3 (4.7.25).
(So, same version as Windows, and same versions as apparently run OK in linux).
I rely on MacPorts to use these products, so have no idea how I would use
bdsdb3
Barry A. Warsaw ba...@python.org added the comment:
Removing __future__ as part of explicit command line execution of 2to3 makes
some sense, but I wonder if 2to3 is used more often automatically (e.g. via
Distribute) where it's at best unhelpful. 2to3 is all about making it easy to
port code
Benjamin Peterson benja...@python.org added the comment:
2010/4/24 Barry A. Warsaw rep...@bugs.python.org:
Barry A. Warsaw ba...@python.org added the comment:
Removing __future__ as part of explicit command line execution of 2to3 makes
some sense, but I wonder if 2to3 is used more often
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - works for me
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8505
___
Barry A. Warsaw ba...@python.org added the comment:
Since the workaround is easy enough, I won't push for this. I still think it's
an unhelpful transformation.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8505
Brian Curtin cur...@acm.org added the comment:
Here's an expanded version of that patch to include two newer functions, plus
docs and test.
The doc might need work on those signatures -- there was some discussion on IRC
about how keyword arguments should be documented.
--
stage:
Brian Curtin cur...@acm.org added the comment:
Forgot to attach the patch...
--
keywords: +patch
Added file: http://bugs.python.org/file17073/issue8521.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8521
Winfried Plappert winfried.plapp...@gmail.com added the comment:
I have modified my program so I will check for data/no-data at the end of a
td-call (td_end). Now it produces the correct result. I think you can close
this issue.
--
Added file:
New submission from Antoine Pitrou pit...@free.fr:
In 3.x, SSL sockets are created by dup()ing the original socket and then
closing it. No attempt is made to conserve the socket's characteristics, such
as the timeout and probably other flags.
I understand that it may be too late to change the
Antoine Pitrou pit...@free.fr added the comment:
It is actually a little funnier. dup() preserves the
blocking/non-blocking nature of the underlying OS socket, but not the
timeout of the Python socket. As such, a blocking-with-timeout
Python socket gets replaced with a truely non-blocking
Antoine Pitrou pit...@free.fr added the comment:
Another consequence is that the following check in __init__:
timeout = self.gettimeout()
if timeout == 0.0:
# non-blocking
raise
Changes by Antoine Pitrou pit...@free.fr:
--
priority: normal - high
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8524
___
___
Antoine Pitrou pit...@free.fr added the comment:
Fixed in trunk (r80452) and 2.6 (r80453). Also ported relevant parts to 3.x
(one half of the test had to be disabled because or #8524).
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
Antoine Pitrou pit...@free.fr added the comment:
I committed a fix+tests for the timeout value in r80456 (py3k) and r80457
(3.1). Apparently the socket objects' own dup() method doesn't try to retain
anything else than the timeout.
I'm leaving this issue as pending in case criticism or better
New submission from Rob Cliffe rob.cli...@btinternet.com:
help() on an exception class lists the method resolution order, which is in
effect the class inheritance hierarchy. E.g. help(ArithmeticError) lists
ArithmeticError, StandardError, Exception, BaseException, __builtin__.object.
It
New submission from Bill Janssen bill.jans...@gmail.com:
Working with Python 2.6.5, I find I cannot put multiple CABs in the same
installer. This is due to this statement in msilib.CAB.commit():
add_data(db, Media,
[(1, self.index, None, #+self.name, None, None)])
The
Senthil Kumaran orsent...@gmail.com added the comment:
Thanks. Closing on submitter's note.
--
resolution: - invalid
stage: unit test needed - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
It'd be nice to have a unit test that passes a small enough value to listen()
to trigger the check. Since there's no way to reliably determine what the
system backlog really is, there's probably no reason to actually try to
Jean-Paul Calderone exar...@twistedmatrix.com added the comment:
Well, at the risk of stating the obvious, perhaps the dup() thing should be
eliminated. The justification for it seems less than clear, and apparently it
causes some problems.
That might be a direction to consider in the long
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
compileall.compile_dir() called multiple times creates empty
__pycache__/__pycache__ subdirectories. I'm attaching the patch.
$ mkdir test
$ touch test/__init__.py
$ python3.2 -c 'import compileall;
Changes by Benjamin Peterson benja...@python.org:
--
assignee: - barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8527
___
___
Jesús Cea Avión j...@jcea.es added the comment:
For future reference:
http://mail.python.org/pipermail/python-committers/2010-April/000875.html
The final consensus was not to integrate bsddb Capsule for Python 2.7, since
CObject is not actually deprecated in python 2.7.
--
Changes by Ron Adam ron_a...@users.sourceforge.net:
--
nosy: +ron_adam
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8525
___
___
Python-bugs-list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5630
___
___
Python-bugs-list mailing list
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5872
___
___
Python-bugs-list mailing list
Martin v. Löwis mar...@v.loewis.de added the comment:
You can have at most one CAB object per database, yes. However, you can have
certainly multiple cab files in the installer; just call add_data yourself.
If you are using the API provided by msilib, there should be no need to ever
have more
Sean Reifschneider j...@tummy.com added the comment:
Collin: Antoine has asked for some feedback, can you answer that question?
--
assignee: - collinwinter
nosy: +jafo
priority: - normal
___
Python tracker rep...@bugs.python.org
94 matches
Mail list logo