[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.
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 Linux. The Gramps code was the same in all test cases. The running conditions were: Python 2.5 Python 2.6 Windows 4.4.5.3 (4, 6, 20)4.7.3 (4.7.25) Linux4.4.5.3 (4, 6, 21)4.7.3 (4.7.25) Note one little version difference between Windows and Python. If I install bsddb3 and change Gramps code for that, no noticable speed degradation can be seen. Windows only with Python 2.6 bsddb3 4.8.4 (4.8.26). I have run profiling and attach the results. (Sorry for the fuzz I made in issue 8504.) The only way of providing a test case,as far as I can find, is to install Gramps, create a new Family Tree (empty database) and import an test XML backup. There are two testcases (*.gramps) available in: http://gramps.svn.sourceforge.net/viewvc/gramps/branches/maintenance/gramps32/example/gramps/ Gramps can be found at: http://www.gramps-project.org/wiki/index.php?title=Installation -- components: Library (Lib) files: statistics_for_python_25_26_run.txt.tar.gz messages: 104067 nosy: PeterL severity: normal status: open title: Speed difference between Python 2.5 and 2.6 during filling bsddb database. type: performance versions: Python 2.6 Added file: http://bugs.python.org/file17063/statistics_for_python_25_26_run.txt.tar.gz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8514] Create fs_encode() and fs_decode() functions in os.path
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 POSIX system, bytes filenames can be stored in unicode filenames using sys.getfilesystemencoding() and the surrogateescape error handler (to store undecodable bytes as unicode surrogates, see PEP 383). I would like to create fs_encode() and fs_decode() in os.path to ease the manipulation of filenames in the two bytes (str and bytes). * Use fs_decode() to convert a filename from the OS native format to unicode * Use fs_encode() to convert an unicode filename to the OS native format On Windows, fs_decode() and fs_encode() don't touch the filename, but reject filenames of types different than str (unicode) with a TypeError, especially bytes filename. Mac OS X rejects invalid UTF-8 filenames, and so surrogateescape should maybe not be used on this OS. Attached patch is an implementation of this issue. Please follow the naming convention used in os.path. The functions would have to be called os.path.fsencode() and os.path.fsdecode(). Other than that, I'm +0 on the patch: the sys.filesystemencoding logic doesn't really work well in practice - on Unix and BSD platforms, there's no such thing as a single system-wide file system and consequently, the file system encoding depends on the path you are looking at. For most of those file systems, the name is just a sequence of bytes with arbitrary encoding. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8514 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8514] Create fs_encode() and fs_decode() functions in os.path
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7507] pipes.quote does not correctly escape !
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7384] curses crash on FreeBSD
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. -- Added file: http://bugs.python.org/file17064/issue7384-5-py3k.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7384 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7384] curses crash on FreeBSD
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(); }' test_readline.c [ste...@freebsd-i386 ~]$ gcc -Wl,--warn-common xxx.c -lreadline -ltermcap -lncurses -lncursesw [ste...@freebsd-i386 ~]$ gcc -Wl,--warn-common xxx.c -lreadline -lncurses -lncursesw [ste...@freebsd-i386 ~]$ gcc -Wl,--warn-common xxx.c -lreadline -lncursesw On OpenSolaris with suncc, ld does not have -warn-common. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7384 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8498] Cannot use backlog = 0 for sockets
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). -- keywords: +patch Added file: http://bugs.python.org/file17065/backlog0.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8498 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8498] Cannot use backlog = 0 for sockets
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7384] curses crash on FreeBSD
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8498] Cannot use backlog = 0 for sockets
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 http://bugs.python.org/issue8498 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8498] Cannot use backlog = 0 for sockets
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 http://bugs.python.org/issue8498 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8517] Apple Style Guide link is broken in the Documenting Python chapter
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 people are now apparently supposed to visit: http://developer.apple.com/Mac/library/documentation/UserExperience/Conceptual/APStyleGuide/APSG_2009.pdf -- assignee: georg.brandl components: Documentation messages: 104077 nosy: brandon-rhodes, georg.brandl severity: normal status: open title: Apple Style Guide link is broken in the Documenting Python chapter versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8517 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2823] Report bug links
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 tracker rep...@bugs.python.org http://bugs.python.org/issue2823 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8517] Apple Style Guide link is broken in the Documenting Python chapter
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 mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8490] asyncore test suite
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 a little bit in r80415 but that didn't work. I'm not sure how to proceed here. If I'd have a chance to gain SSH access over the Solaris box I could try to debug the problem, otherwhise we could just disable the failing tests for Solaris. -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8490 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2823] Report bug links
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3341] Suggest a change link
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3341] Suggest a change link
Changes by Georg Brandl ge...@python.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3341 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2823] Report bug links
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 rep...@bugs.python.org http://bugs.python.org/issue2823 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8517] Apple Style Guide link is broken in the Documenting Python chapter
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 http://bugs.python.org/issue8517 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3341] Suggest a change link
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 rep...@bugs.python.org http://bugs.python.org/issue3341 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6091] Curses segfaulting in FreeBSD/amd64
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 curses and curses_panel modules with -lncurses (instead of -lncursesw) -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6091 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2823] Report bug links
Changes by Georg Brandl ge...@python.org: -- resolution: rejected - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2823 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2823] Report bug links
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.
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 resemble now the Windows environment, try the DB load again. I need to confirm if the issue is in bsddb module, Berkeley DB code or BDB interaction with Windows OS/Filesystem. Anyway, if installing a modern bsddb3 (note that we have 5.0.0 available) makes the problem go away, it is a non-issue. Python 2.6 is basically in security/crashes fixes only now. Or very close to it. With python 2.7 almost ready, I would try the beta too, to confirm this problem is not a problem anymore. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2823] Report bug links
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3341] Suggest a change link
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 consideration. in msg69834 and I don't think it would be a good idea to do so. in msg104084 Care to explain why you have changed your mind? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3341 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.
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 list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3341] Suggest a change link
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 nothing except eventually be closed again due to lack of movement, or because something has been implemented in Sphinx. It may even be during this year's Summer of Code, if we're lucky. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3341 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - theller nosy: +theller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8481 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.
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 list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8518] small typo in http://docs.python.org/howto/doanddont.html
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: Documentation messages: 104091 nosy: Adrián.Deccico, georg.brandl severity: normal status: open title: small typo in http://docs.python.org/howto/doanddont.html versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8518 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8518] small typo in http://docs.python.org/howto/doanddont.html
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 http://bugs.python.org/issue8518 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8514] Create fs_encode() and fs_decode() functions in os.path
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8514 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8513] subprocess: support bytes program name
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8513 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5583] Optional extensions in setup.py
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8519] [patch] doc: termios and ioctl reference links
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 messages: 104094 nosy: georg.brandl, techtonik severity: normal status: open title: [patch] doc: termios and ioctl reference links versions: Python 2.7 Added file: http://bugs.python.org/file17068/.reference-termios-specification-for-flags.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8519 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8519] [patch] doc: termios and ioctl reference links
É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: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8519 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8519] [patch] doc: termios and ioctl reference links
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 rep...@bugs.python.org http://bugs.python.org/issue8519 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7838] Undocumented subprocess functions on Windows
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7838 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8519] [patch] doc: termios and ioctl reference links
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 TIOCGWINSZ) that are hard to find otherwise. -- Added file: http://bugs.python.org/file17069/8519.reference-termios-specification-for-flags.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8519 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8518] small typo in http://docs.python.org/howto/doanddont.html
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 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 http://bugs.python.org/issue8518 ___ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8518 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8519] [patch] doc: termios and ioctl reference links
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 call ioctl. Linking to a pertinent recipe e.g. in the Cookbook, or including the example right there makes much more sense. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8519 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8518] small typo in http://docs.python.org/howto/doanddont.html
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 http://bugs.python.org/issue8518 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8520] test doc issue
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 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8520 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8520] test doc issue
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?
É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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8505 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?
É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 http://bugs.python.org/issue8505 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8519] [patch] doc: termios and ioctl reference links
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 http://www.kernel.org/doc/man-pages/online/pages/man4/tty_ioctl.4.html But I see your point that ioctl is not used solely for tty. Perhaps there could be two links. Removing tty_ioctl constants reference is not an option for me, because the whole stuff is complicated and for me it was very hard to find these console functions for Linux. There is no other way to work with Linux console from Python. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8519 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8521] Allow some winreg functions to accept keyword arguments
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: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8521 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5774] _winreg.OpenKey() is documented with keyword arguments, but doesn't take them
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 keyword arguments. -- assignee: - brian.curtin components: +Documentation -Library (Lib) resolution: - fixed stage: patch review - committed/rejected status: open - closed versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5774 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8509] fix autoconf quoting in help strings and code snippets
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? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8509 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8510] update to autoconf2.65
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8510 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8177] Incoherent error with keyword argument follow by unpacking argument lists
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 rep...@bugs.python.org http://bugs.python.org/issue8177 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8522] enhacement proposal in http://docs.python.org/howto/doanddont.html
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: return fp.readline() which will properly close the file. -- assignee: d...@python components: Documentation messages: 104111 nosy: Adrián.Deccico, d...@python severity: normal status: open title: enhacement proposal in http://docs.python.org/howto/doanddont.html versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8522 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8522] enhacement proposal in howto/doanddont
É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 against the latest version of this file? Regards -- assignee: d...@python - nosy: +merwok stage: - needs patch title: enhacement proposal in http://docs.python.org/howto/doanddont.html - enhacement proposal in howto/doanddont versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8522 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8419] dict constructor allows invalid identifiers in **kwargs
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8350] os.mkdir doc comment is incorrect
É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 cannot be supplied by keyword.” -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8350 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8350] os.mkdir doc comment is incorrect
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 http://bugs.python.org/issue8350 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8419] dict constructor allows invalid identifiers in **kwargs
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8350] os.mkdir doc comment is incorrect
É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 kwargs, but as far as doc is concerned, it’s ok. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8350 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8523] shutil.rmtree and os.listdir cannot recover on error conditions
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 the variable names will not be updated after the problem is solved in onerror. Two possible solutions: 1 - Call os.listdir() again after onerror() try: names = os.listdir(path) except os.error, err: onerror(os.listdir, path, sys.exc_info()) names = os.listdir(path) 2 - Allow onerror() to return a value and set names to that value. try: names = os.listdir(path) except os.error, err: names = onerror(os.listdir, path, sys.exc_info()) -- components: Extension Modules messages: 104117 nosy: rubenlm severity: normal status: open title: shutil.rmtree and os.listdir cannot recover on error conditions versions: Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8523 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.
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, the same versions of bsddb and DB in Python 2.6 gives the slow speed performance with Windows but not with Linux. This means that the Windows and Linux environments are equal as far as I can see. 2. I installed bsddb3 5.0.0 without any problem, but I had to move libdb48.dll from c:\Python26\bsddb3\utils\ to c:\Python26\Lib\site-packages\bsddb3\ otherwise it could not be found. Any explanation for this? 3. Could not run Gramps in Windows with Py 2.7 as Gramps needs pygtk, pycairo and pygobject to run. It seems to be a strange issue. It can be worked around by using bsddb3 in stead in Gramps for those who needs it. It is only a problem when you import a backup or a GEDCOM and when you rebuild reference maps, which you don't do very often. It's not a issue with normal usage of Gramps. So, maybe let it wait until 2.7 is out? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8522] enhacement proposal in howto/doanddont
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8522 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8521] Allow some winreg functions to accept keyword arguments
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8521 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7865] io close() swallowing exceptions
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.
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 still less python 2.7. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8516 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?
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 from Python 2 to 3, and this particular transformation makes it (albeit, slightly so) harder. A different idea would be to add a comment before the future import indicating its uselessness, but not removing it. OTOH, I would also be happy with a better way to just disable it in a setup.py (e.g. by passing the -x flag in somehow). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8505 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?
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 automatically (e.g. via Distribute) where it's at best unhelpful. 2to3 is all about making it easy to port code from Python 2 to 3, and this particular transformation makes it (albeit, slightly so) harder. It's also designed to be easily customizable. A different idea would be to add a comment before the future import indicating its uselessness, but not removing it. OTOH, I would also be happy with a better way to just disable it in a setup.py (e.g. by passing the -x flag in somehow). I'm not sure we should get into the habit of telling people that their code is useless. :) I'll just close this as won't fix. -- 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 http://bugs.python.org/issue8505 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8521] Allow some winreg functions to accept keyword arguments
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: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8521 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8521] Allow some winreg functions to accept keyword arguments
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 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.
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: http://bugs.python.org/file17074/shannon_data-v2.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8319 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8524] SSL sockets do not retain the parent socket's attributes
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 design decision of using dup() and closing the original, but perhaps we should make a best effort to retain the original socket's characteristics. Or perhaps this limitation should be clearly documented (since especially 2.x works differently). -- components: Library (Lib) messages: 104129 nosy: giampaolo.rodola, janssen, pitrou priority: normal severity: normal status: open title: SSL sockets do not retain the parent socket's attributes versions: Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8524 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8524] SSL sockets do not retain the parent socket's attributes
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 socket. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8524 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8524] SSL sockets do not retain the parent socket's attributes
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 ValueError(do_handshake_on_connect should not be specified for non-blocking sockets) could never get triggered since the timeout is reset to None by virtue of creating a new socket object. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8524 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8524] SSL sockets do not retain the parent socket's attributes
Changes by Antoine Pitrou pit...@free.fr: -- priority: normal - high type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8524 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging
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 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5103 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8524] SSL sockets do not retain the parent socket's attributes
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 options are provided :) -- resolution: - fixed stage: - committed/rejected status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8524 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8525] Small enhancement to help()
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 struck me it would help to find my way around if it also listed the builtin SUBclasses (if any). Something like: Built-in subclasses: FloatingPointError OverflowError ZeroDivisionError In fact why not do it for any class, not just exceptions? I attach a patched version of pydoc.py - tested but only on my PC which is running Python 2.5 under Windows XP. I have added lines 1129-1148 to the docclass method of the TextDoc class (and flagged them # [RAC] ). (I don't pretend to understand the magic where __builtins__ is a dictionary when pydoc.py is run but becomes a module later on. Never mind - the patch works (I believe).) For consistency, a similar patch would also have to be made to the docclass nethod of the HTMLDoc class (which outputs HTML rather than plain text). I have not attempted this as I don't know how it is called and hence how to test any patch, but it should be straightforward for anyone with the know-how. -- files: pydoc.py messages: 104134 nosy: robcliffe severity: normal status: open title: Small enhancement to help() type: feature request versions: Python 2.5 Added file: http://bugs.python.org/file17075/pydoc.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8525 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8526] msilib doesn't support multiple CAB instances in same installer
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 key, 1, must be different for each record in the 'Media' table. The symptom is an exception something like this: _msi.MSIError: Could not insert [(1, 3, None, '#foo', None, None)] into Media -- assignee: loewis components: Distutils, Library (Lib), Windows keywords: easy messages: 104135 nosy: janssen, loewis severity: normal status: open title: msilib doesn't support multiple CAB instances in same installer versions: Python 2.6, Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8526 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.
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 http://bugs.python.org/issue8319 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8498] Cannot use backlog = 0 for sockets
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 determine that the right value was passed to listen. Just making sure the code actually goes through the success-case when this check is hit is probably enough. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8498 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8524] SSL sockets do not retain the parent socket's attributes
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 term, though, rather than as a (different) immediate fix for this issue. -- nosy: +exarkun priority: high - normal resolution: fixed - stage: committed/rejected - status: pending - open type: behavior - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8524 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8527] [PEP 3147] compileall.compile_dir() called multiple times creates empty __pycache__/__pycache__ subdirectories
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; compileall.compile_dir(test)' Listing test ... Compiling test/__init__.py ... $ tree test test ├── __init__.py └── __pycache__ └── __init__.cpython-32.pyc 1 directory, 2 files $ python3.2 -c 'import compileall; compileall.compile_dir(test)' Listing test ... Listing test/__pycache__ ... $ tree test test ├── __init__.py └── __pycache__ ├── __init__.cpython-32.pyc └── __pycache__ 2 directories, 2 files -- components: Library (Lib) files: compileall.patch keywords: patch messages: 104139 nosy: Arfrever, barry severity: normal status: open title: [PEP 3147] compileall.compile_dir() called multiple times creates empty __pycache__/__pycache__ subdirectories versions: Python 3.2 Added file: http://bugs.python.org/file17076/compileall.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8527 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8527] [PEP 3147] compileall.compile_dir() called multiple times creates empty __pycache__/__pycache__ subdirectories
Changes by Benjamin Peterson benja...@python.org: -- assignee: - barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8527 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7992] Backport capsule object
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. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7992 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8525] Small enhancement to help()
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 mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5630] Create alternative CObject API that is safe and clean
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 Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5872] New C API for declaring Python types
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 Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue8526] msilib doesn't support multiple CAB instances in same installer
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 than one CAB instance. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8526 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5575] Add env vars for controlling building sqlite, hashlib and ssl
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 http://bugs.python.org/issue5575 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com