[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 : 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 cod

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

2010-04-24 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: STINNER Victor wrote: > > New submission from STINNER Victor : > > 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

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

2010-04-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti priority: -> normal stage: -> patch review type: -> feature request ___ Python tracker ___

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

2010-04-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +jcea priority: -> normal stage: -> unit test needed ___ Python tracker ___ ___ Python-bugs-list m

[issue7507] pipes.quote does not correctly escape !

2010-04-24 Thread Georg Brandl
Georg Brandl added the comment: Fixed in r80433. -- assignee: r.david.murray -> georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue7384] curses crash on FreeBSD

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

[issue7384] curses crash on FreeBSD

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

[issue8498] Cannot use backlog = 0 for sockets

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

[issue8498] Cannot use backlog = 0 for sockets

2010-04-24 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: It looks like you forgot to update the function's documentation ;-) -- ___ Python tracker ___ _

[issue7384] curses crash on FreeBSD

2010-04-24 Thread Stefan Krah
Stefan Krah added the comment: Sigh. xxx.c == test_readline.c in the previous comment. -- ___ Python tracker ___ ___ Python-bugs-list

[issue8498] Cannot use backlog = 0 for sockets

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

[issue8498] Cannot use backlog = 0 for sockets

2010-04-24 Thread Daniel Evers
Daniel Evers added the comment: A second patch for the documentation of socket.listen(). -- Added file: http://bugs.python.org/file17067/socket_listen.patch ___ Python tracker __

[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 : 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

[issue2823] "Report bug" links

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

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

2010-04-24 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue8490] asyncore test suite

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

[issue2823] "Report bug" links

2010-04-24 Thread anatoly techtonik
anatoly techtonik added the comment: Please also add a link to issue3341 as a Superceder. -- ___ Python tracker ___ ___ Python-bugs-li

[issue3341] "Suggest a change" link

2010-04-24 Thread anatoly techtonik
anatoly techtonik added the comment: I am glad there is some response to this issue in r80388 -- versions: +Python 2.7 ___ Python tracker ___

[issue3341] "Suggest a change" link

2010-04-24 Thread Georg Brandl
Changes by Georg Brandl : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue2823] "Report bug" links

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

[issue3341] "Suggest a change" link

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

[issue2823] "Report bug" links

2010-04-24 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: rejected -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue2823] "Report bug" links

2010-04-24 Thread anatoly techtonik
anatoly techtonik added the comment: Still the part "Report bug on this page" is covered. Please, add a link to Superceder. -- ___ Python tracker ___ ___

[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 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 W

[issue2823] "Report bug" links

2010-04-24 Thread Georg Brandl
Georg Brandl added the comment: As you wish. -- superseder: -> "Suggest a change" link ___ Python tracker ___ ___ Python-bugs-list ma

[issue3341] "Suggest a change" link

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

[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 : -- assignee: -> jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue3341] "Suggest a change" link

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

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

2010-04-24 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> theller nosy: +theller ___ Python tracker ___ ___ Python-bugs-list mailing list

[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 : -- nosy: +guy.linton ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

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

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

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

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

[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 : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue8513] subprocess: support bytes program name

2010-04-24 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue5583] Optional extensions in setup.py

2010-04-24 Thread Tarek Ziadé
Tarek Ziadé added the comment: Warning: reverted in trunk, now leaves in distutils2 -- components: +Distutils2 ___ Python tracker ___

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

2010-04-24 Thread anatoly techtonik
New submission from anatoly techtonik : 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: g

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

2010-04-24 Thread Éric Araujo
Éric Araujo added the comment: Note that there can be any whitespace in reST markup, e.g. you can put a newline betweeen “`thing” and “`_”, thus avoiding too long lines. I think you can put a newline in a “” too, they will be removed. Regards -- nosy: +merwok ___

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

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

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

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

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

2010-04-24 Thread Adrián Deccico
Adrián Deccico 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 wrote: > > Georg Brandl added the comment: > > The text is cor

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

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

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

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

[issue8520] test doc issue

2010-04-24 Thread Georg Brandl
New submission from Georg Brandl : 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 ___

[issue8520] test doc issue

2010-04-24 Thread Georg Brandl
Georg Brandl added the comment: OK, works. -- assignee: d...@python -> nosy: -d...@python resolution: -> invalid status: open -> closed ___ Python tracker ___

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

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

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

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

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

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

[issue8521] Allow some winreg functions to accept keyword arguments

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

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

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

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

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

[issue8522] enhacement proposal in howto/doanddont

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

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

2010-04-24 Thread Benjamin Peterson
Changes by Benjamin Peterson : Added file: http://bugs.python.org/file17071/refactor_a_bit.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue8350] os.mkdir doc comment is incorrect

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

[issue8350] os.mkdir doc comment is incorrect

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

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

2010-04-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r80450. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Pytho

[issue8350] os.mkdir doc comment is incorrect

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

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

2010-04-24 Thread rubenlm
New submission from rubenlm : 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 "name

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

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

[issue8522] enhacement proposal in howto/doanddont

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

[issue8521] Allow some winreg functions to accept keyword arguments

2010-04-24 Thread Daniel Stutzbach
New submission from Daniel Stutzbach : 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 trac

[issue7865] io close() swallowing exceptions

2010-04-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: The tests should probably check all three types of I/O (raw, buffered, text). -- stage: needs patch -> patch review ___ Python tracker ___ _

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

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

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

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

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

2010-04-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: 2010/4/24 Barry A. Warsaw : > > Barry A. Warsaw 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 be

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

2010-04-24 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> works for me status: open -> closed ___ Python tracker ___ ___ Python-bugs-list maili

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

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

[issue8521] Allow some winreg functions to accept keyword arguments

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

[issue8521] Allow some winreg functions to accept keyword arguments

2010-04-24 Thread Brian Curtin
Brian Curtin added the comment: Forgot to attach the patch... -- keywords: +patch Added file: http://bugs.python.org/file17073/issue8521.diff ___ Python tracker ___ _

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

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

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

2010-04-24 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 decisio

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

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

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

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

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

2010-04-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: normal -> high type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

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

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

[issue8525] Small enhancement to help()

2010-04-24 Thread Rob Cliffe
New submission from Rob Cliffe : 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 fi

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

2010-04-24 Thread Bill Janssen
New submission from Bill Janssen : 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 di

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

2010-04-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks. Closing on submitter's note. -- resolution: -> invalid stage: unit test needed -> committed/rejected status: open -> closed ___ Python tracker ___

[issue8498] Cannot use backlog = 0 for sockets

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

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

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

[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 : 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")' Listi

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

2010-04-24 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue7992] Backport capsule object

2010-04-24 Thread Jesús Cea Avión
Jesús Cea Avión 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 : -- nosy: +ron_adam ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[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 : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue5872] New C API for declaring Python types

2010-04-24 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

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

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

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

2010-04-24 Thread Sean Reifschneider
Sean Reifschneider added the comment: Collin: Antoine has asked for some feedback, can you answer that question? -- assignee: -> collinwinter nosy: +jafo priority: -> normal ___ Python tracker ___

[issue8525] Small enhancement to help()

2010-04-24 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> georg.brandl nosy: +georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Un