[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Peter Landgren
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

[issue8514] Create fs_encode() and fs_decode() functions in os.path

2010-04-24 Thread Marc-Andre Lemburg
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

[issue8514] Create fs_encode() and fs_decode() functions in os.path

2010-04-24 Thread Ezio Melotti
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

[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Ezio Melotti
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 ___

[issue7507] pipes.quote does not correctly escape !

2010-04-24 Thread Georg Brandl
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

[issue7384] curses crash on FreeBSD

2010-04-24 Thread Stefan Krah
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.

[issue7384] curses crash on FreeBSD

2010-04-24 Thread Stefan Krah
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(); }'

[issue8498] Cannot use backlog = 0 for sockets

2010-04-24 Thread Daniel Evers
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).

[issue8498] Cannot use backlog = 0 for sockets

2010-04-24 Thread Charles-Francois Natali
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 ___

[issue7384] curses crash on FreeBSD

2010-04-24 Thread Stefan Krah
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 ___

[issue8498] Cannot use backlog = 0 for sockets

2010-04-24 Thread Daniel Evers
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

[issue8498] Cannot use backlog = 0 for sockets

2010-04-24 Thread Daniel Evers
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

[issue8517] Apple Style Guide link is broken in the Documenting Python chapter

2010-04-24 Thread Brandon Craig Rhodes
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

[issue2823] Report bug links

2010-04-24 Thread anatoly techtonik
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

[issue8517] Apple Style Guide link is broken in the Documenting Python chapter

2010-04-24 Thread Ezio Melotti
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

[issue8490] asyncore test suite

2010-04-24 Thread Giampaolo Rodola'
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

[issue2823] Report bug links

2010-04-24 Thread anatoly techtonik
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 ___

[issue3341] Suggest a change link

2010-04-24 Thread anatoly techtonik
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

[issue3341] Suggest a change link

2010-04-24 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3341 ___ ___ Python-bugs-list

[issue2823] Report bug links

2010-04-24 Thread Georg Brandl
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

[issue8517] Apple Style Guide link is broken in the Documenting Python chapter

2010-04-24 Thread Georg Brandl
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

[issue3341] Suggest a change link

2010-04-24 Thread Georg Brandl
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

[issue6091] Curses segfaulting in FreeBSD/amd64

2010-04-24 Thread Stefan Krah
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

[issue2823] Report bug links

2010-04-24 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- resolution: rejected - fixed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2823 ___ ___

[issue2823] Report bug links

2010-04-24 Thread anatoly techtonik
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

[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Jesús Cea Avión
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

[issue2823] Report bug links

2010-04-24 Thread Georg Brandl
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 ___

[issue3341] Suggest a change link

2010-04-24 Thread anatoly techtonik
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

[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Jesús Cea Avión
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

[issue3341] Suggest a change link

2010-04-24 Thread Georg Brandl
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

[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure

2010-04-24 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- assignee: georg.brandl - theller nosy: +theller ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8481 ___

[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Jesús Cea Avión
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

[issue8518] small typo in http://docs.python.org/howto/doanddont.html

2010-04-24 Thread Adrián Deccico
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:

[issue8518] small typo in http://docs.python.org/howto/doanddont.html

2010-04-24 Thread Georg Brandl
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

[issue8514] Create fs_encode() and fs_decode() functions in os.path

2010-04-24 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8514 ___

[issue8513] subprocess: support bytes program name

2010-04-24 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8513 ___

[issue5583] Optional extensions in setup.py

2010-04-24 Thread Tarek Ziadé
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 ___

[issue8519] [patch] doc: termios and ioctl reference links

2010-04-24 Thread anatoly techtonik
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

[issue8519] [patch] doc: termios and ioctl reference links

2010-04-24 Thread Éric Araujo
É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:

[issue8519] [patch] doc: termios and ioctl reference links

2010-04-24 Thread Georg Brandl
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

[issue7838] Undocumented subprocess functions on Windows

2010-04-24 Thread Brian Curtin
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 ___

[issue8519] [patch] doc: termios and ioctl reference links

2010-04-24 Thread anatoly techtonik
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

[issue8518] small typo in http://docs.python.org/howto/doanddont.html

2010-04-24 Thread Adrián Deccico
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

[issue8519] [patch] doc: termios and ioctl reference links

2010-04-24 Thread 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

[issue8518] small typo in http://docs.python.org/howto/doanddont.html

2010-04-24 Thread Georg Brandl
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

[issue8520] test doc issue

2010-04-24 Thread Georg Brandl
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

[issue8520] test doc issue

2010-04-24 Thread Georg Brandl
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

[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?

2010-04-24 Thread Éric Araujo
É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

[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?

2010-04-24 Thread Éric Araujo
É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

[issue8519] [patch] doc: termios and ioctl reference links

2010-04-24 Thread anatoly techtonik
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

[issue8521] Allow some winreg functions to accept keyword arguments

2010-04-24 Thread Brian Curtin
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:

[issue5774] _winreg.OpenKey() is documented with keyword arguments, but doesn't take them

2010-04-24 Thread Brian Curtin
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

[issue8509] fix autoconf quoting in help strings and code snippets

2010-04-24 Thread Matthias Klose
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? --

[issue8510] update to autoconf2.65

2010-04-24 Thread Matthias Klose
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

[issue8177] Incoherent error with keyword argument follow by unpacking argument lists

2010-04-24 Thread Benjamin Peterson
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

[issue8522] enhacement proposal in http://docs.python.org/howto/doanddont.html

2010-04-24 Thread Adrián Deccico
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:

[issue8522] enhacement proposal in howto/doanddont

2010-04-24 Thread Éric Araujo
É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

[issue8419] dict constructor allows invalid identifiers in **kwargs

2010-04-24 Thread Benjamin Peterson
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 ___

[issue8350] os.mkdir doc comment is incorrect

2010-04-24 Thread Éric Araujo
É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

[issue8350] os.mkdir doc comment is incorrect

2010-04-24 Thread Antoine Pitrou
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

[issue8419] dict constructor allows invalid identifiers in **kwargs

2010-04-24 Thread Benjamin Peterson
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 ___

[issue8350] os.mkdir doc comment is incorrect

2010-04-24 Thread Éric Araujo
É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

[issue8523] shutil.rmtree and os.listdir cannot recover on error conditions

2010-04-24 Thread rubenlm
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

[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Peter Landgren
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,

[issue8522] enhacement proposal in howto/doanddont

2010-04-24 Thread Adrián Deccico
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

[issue8521] Allow some winreg functions to accept keyword arguments

2010-04-24 Thread Daniel Stutzbach
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

[issue7865] io close() swallowing exceptions

2010-04-24 Thread Antoine Pitrou
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

[issue8516] Speed difference between Python 2.5 and 2.6 during filling bsddb database.

2010-04-24 Thread Tim Lyons
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

[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?

2010-04-24 Thread Barry A. Warsaw
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

[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?

2010-04-24 Thread Benjamin Peterson
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

[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?

2010-04-24 Thread Benjamin Peterson
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 ___

[issue8505] 2to3 fix_future.py removes __future__ imports, but should it?

2010-04-24 Thread Barry A. Warsaw
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

[issue8521] Allow some winreg functions to accept keyword arguments

2010-04-24 Thread Brian Curtin
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:

[issue8521] Allow some winreg functions to accept keyword arguments

2010-04-24 Thread Brian Curtin
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

[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.

2010-04-24 Thread Winfried Plappert
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:

[issue8524] SSL sockets do not retain the parent socket's attributes

2010-04-24 Thread Antoine Pitrou
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

[issue8524] SSL sockets do not retain the parent socket's attributes

2010-04-24 Thread Antoine Pitrou
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

[issue8524] SSL sockets do not retain the parent socket's attributes

2010-04-24 Thread Antoine Pitrou
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

[issue8524] SSL sockets do not retain the parent socket's attributes

2010-04-24 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- priority: normal - high type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8524 ___ ___

[issue5103] ssl.SSLSocket timeout not working correctly when remote end is hanging

2010-04-24 Thread Antoine Pitrou
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

[issue8524] SSL sockets do not retain the parent socket's attributes

2010-04-24 Thread Antoine Pitrou
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

[issue8525] Small enhancement to help()

2010-04-24 Thread Rob Cliffe
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

[issue8526] msilib doesn't support multiple CAB instances in same installer

2010-04-24 Thread Bill Janssen
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

[issue8319] HTMLparser does not handle call to handle_data when a tag contains no data.

2010-04-24 Thread Senthil Kumaran
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

[issue8498] Cannot use backlog = 0 for sockets

2010-04-24 Thread Jean-Paul Calderone
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

[issue8524] SSL sockets do not retain the parent socket's attributes

2010-04-24 Thread Jean-Paul Calderone
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

[issue8527] [PEP 3147] compileall.compile_dir() called multiple times creates empty __pycache__/__pycache__ subdirectories

2010-04-24 Thread Arfrever Frehtes Taifersar Arahesis
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;

[issue8527] [PEP 3147] compileall.compile_dir() called multiple times creates empty __pycache__/__pycache__ subdirectories

2010-04-24 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8527 ___ ___

[issue7992] Backport capsule object

2010-04-24 Thread Jesús Cea Avión
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. --

[issue8525] Small enhancement to help()

2010-04-24 Thread Ron Adam
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

[issue5630] Create alternative CObject API that is safe and clean

2010-04-24 Thread Jesús Cea Avión
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

[issue5872] New C API for declaring Python types

2010-04-24 Thread Jesús Cea Avión
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

[issue8526] msilib doesn't support multiple CAB instances in same installer

2010-04-24 Thread Martin v . Löwis
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

[issue5575] Add env vars for controlling building sqlite, hashlib and ssl

2010-04-24 Thread Sean Reifschneider
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