[issue10998] Remove last traces of -Q / sys.flags.division_warning / Py_DivisionWarningFlag

2011-01-24 Thread Georg Brandl
Georg Brandl added the comment: You can even argue it's a bug fix for 3.2.1, but I'd rather keep the list of changes in the rc small. -- ___ Python tracker ___

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Tanakorn Leesatapornwongsa
Changes by Tanakorn Leesatapornwongsa : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list ma

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Tanakorn Leesatapornwongsa
Tanakorn Leesatapornwongsa added the comment: I have tested it on python 2.7.1 already. It quite works. Thank you. -- ___ Python tracker ___ ___

[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-01-24 Thread Heikki Toivonen
Heikki Toivonen added the comment: You can't solve this by trying to do different things on different operating systems. This bug depends on file system properties, not OS. Also I don't think you can just lower case the path and do a comparison, because there are funky characters that don't r

[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-01-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: I would also add 'cygwin' to the list. I am not sure about the behavior of OpenVMS or other less prevalent file systems. -- ___ Python tracker __

[issue11002] 'Upload' link on Files page is broken

2011-01-24 Thread Anthony Long
New submission from Anthony Long : On pypi, when you are inside of your packages' files area, the link that is attached to 1. Use the setup.py "upload" command. # "upload" is broken, it links to http://www.python.org/doc/dist/package-upload.html which returns a 404. http://d.pr/mmie --

[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-01-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Here is a patch (against release27-maint) for to fix this issue. BTW,what is the best way to check for case insensitive file-system? The test here merely checks if sys.platform returns mac, darwin or win32. -- keywords: +patch nosy: +orsenthil Added

[issue10976] json.loads() throws TypeError on bytes object

2011-01-24 Thread Anthony Long
Anthony Long added the comment: Works for me, py2.7 on snow leopard. -- nosy: +antlong ___ Python tracker ___ ___ Python-bugs-list ma

[issue5863] bz2.BZ2File should accept other file-like objects.

2011-01-24 Thread Nadeem Vawda
Nadeem Vawda added the comment: Yes, see bz2module-v1.diff. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5863] bz2.BZ2File should accept other file-like objects.

2011-01-24 Thread Anthony Long
Anthony Long added the comment: Are there tests for this? -- nosy: +antlong ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue5863] bz2.BZ2File should accept other file-like objects.

2011-01-24 Thread Nadeem Vawda
Nadeem Vawda added the comment: Here is a patch that rewrites BZ2File to implement the requested feature, and adds some tests using BytesIO objects. Some notes: * iteration and the read*() method now use the same buffering machinery, so they can be mixed freely. The test for issue8397 has bee

[issue10882] Add os.sendfile()

2011-01-24 Thread Matt Joiner
Matt Joiner added the comment: I notice Linux is described as not taking count=0 to mean to send until the end of "in" is reached. Is it possible to pass (size_t)-1 to this field if None is given, or do a loop on non-zero counts from sendfile to emulate this? I poked around the linux source f

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: Here is a partial patch for test_sys_settrace. It fails on test_19_no_jump_without_trace_function for some reason I don't understand. It also doesn't protect against it being CPython-only as that is a function decorator and basically the whole module needs to b

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: Here is a patch that fixes test_scope. -- Added file: http://bugs.python.org/file20508/test_scope.diff ___ Python tracker ___ ___

[issue11001] Various obvious errors in cookies documentation

2011-01-24 Thread R. David Murray
R. David Murray added the comment: The text in the docstrings appears to be accurate, and it seems to me they clarify it even more than your suggested changes do. Also, I think SimpleCookie's encode/decode roughly implements some RFC or another (though there are some tweaks), and it might be

[issue10848] Move test.regrtest from getopt to argparse

2011-01-24 Thread R. David Murray
R. David Murray added the comment: That might be handy. I thought you were trying to roughly reproduce the current help (which dumps it all out at once), which is why I suggested epilog. -- ___ Python tracker __

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: OK, now that all the modules have been analyzed, let's see what is what. The modules not playing nicely with others by blindly reseting the trace module: test_doctest test_pdb test_scope test_sys_settrace test_zipimport_support (because of test_doctest) And the

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: For test_io.*SignalsTests, its all the tests calling check_interrupted_write(). For TestIOWrapperTests its test_threads_write() (although only coverage.py is complaining, not regrtest). -- ___ Python tracker

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: test_richcmp is failing because of a recursion test (test_recursion) -- ___ Python tracker ___ ___ Py

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: test_runpy fails because of a recursion depth test (test_main_recursion_error). -- ___ Python tracker ___ ___

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: test_io is causing coverage.py to complain thanks to the TextIOWrapperTests, and the regrtest check is complaining about SignalsTests. Don't know why specifically for either. -- ___ Python tracker

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: test_zipimport_support fails because test_doctest fails; it re-runs the tests from a zipfile. -- ___ Python tracker ___

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: And here is a revelation: test_sys_settrace clobbers the trace function blindly. -- ___ Python tracker ___ __

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: test_scope blindly resets the trace function to None. -- ___ Python tracker ___ ___ Python-bugs-list

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: test_pdb uses pdb.set_trace() w/o putting the original trace function back. -- ___ Python tracker ___ ___

[issue10879] cgi memory usage

2011-01-24 Thread Glenn Linderman
Glenn Linderman added the comment: Issue 4953 has somewhat resolved this issue by using email only for parsing headers (more like 2.x did). So this issue could be closed, or could be left open to point out the required additional features needed from email before cgi.py can use it for handli

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Kristian Vlaardingerbroek
Kristian Vlaardingerbroek added the comment: test_pickle and test_pickletools both call test_bad_getattr in pickletester.py:1005 This results in a RuntimeError which leads to the same result as test_exceptions -- ___ Python tracker

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: Cinder on IRC found that test_exception's RuntimeError test triggers a trace_trampoline() line of code which resets the trace function as an exception gets triggered in the trace function itself. test_doctest is being messy and setting pdb's trace function w/o

[issue10848] Move test.regrtest from getopt to argparse

2011-01-24 Thread Sandro Tosi
Sandro Tosi added the comment: > R. David Murray added the comment: > > What about putting the addition option details in the epilog? maybe it loose the fact that all the doc/explanation for regrtest options were available from the command-line? what about a --more-help option that print_help

[issue11000] Doc: ast.parse parses source, not just expressions

2011-01-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: r88172, r88173, r88175 -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___

[issue10974] IDLE 3.x can crash decoding recent file list

2011-01-24 Thread Ned Deily
Ned Deily added the comment: Committed in py3k (r88174) for 3.2rc2, with release manager approval, and in 3.1 (r88177). -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue11001] Various obvious errors in cookies documentation

2011-01-24 Thread Luke Plant
New submission from Luke Plant : Docs for SimpleCookie, BaseCookie.value_encode and BaseCookie.value_decode are obviously incorrect. Attempt at patch attached. The error has existed in every Python version I've seen, I've tagged the ones I believe can receive fixes, sorry if I've made a mista

[issue10998] Remove last traces of -Q / sys.flags.division_warning / Py_DivisionWarningFlag

2011-01-24 Thread Éric Araujo
Éric Araujo added the comment: My argument that this change should have no impact so it’s safe to commit also works the other way: there is no pressure to make an exception to the process and commit this after rc1. 3.1 and 3.2 will have the bug, 3.3 won’t. -- versions: +Python 3.3 -P

[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-01-24 Thread Brian Curtin
Changes by Brian Curtin : -- assignee: ronaldoussoren -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10708] Misc/porting should be folded into the development FAQ or the devguide

2011-01-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well then let's reopen and unassign. -- assignee: brett.cannon -> nosy: +ncoghlan resolution: rejected -> stage: -> needs patch status: closed -> open title: Misc/porting should be folded in to the development FAQ -> Misc/porting should be folded in

[issue9509] argparse FileType raises ugly exception for missing file

2011-01-24 Thread Éric Araujo
Éric Araujo added the comment: Oops, I missed that while reading the patch: It introduces a translatable string which may cause i18n issues (discussed in #10528). I can propose a patch this week if no-one beats me to it. -- ___ Python tracker

[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default

2011-01-24 Thread Daniel Black
Daniel Black added the comment: I thought previous comments you wanted SSLContext to become the primary api rather than wrap_socket? Coding this into the examples is probably a good way of making this happen. -- ___ Python tracker

[issue10973] OS X 10.6 IDLE, tkinter: Cocoa Tk 8.5 crash when composite character typed in text field

2011-01-24 Thread Ned Deily
Ned Deily added the comment: Yes, see http://permalink.gmane.org/gmane.comp.lang.tcl.mac/6871 So the plan for 3.2 is to assume there will be an updated ActiveState Tk 8.5 available. I will update the web status page accordingly. And this issue can be closed as a third-party library issue.

[issue9509] argparse FileType raises ugly exception for missing file

2011-01-24 Thread Steven Bethard
Steven Bethard added the comment: Fixed in r88169 and r88171. Thanks everyone for your help! I'll be keeping my eye on the buildbots for a bit to make sure everything stays green. -- assignee: -> bethard resolution: -> fixed stage: patch review -> committed/rejected status: languishi

[issue9893] Usefulness of the Misc/Vim/ files?

2011-01-24 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-01-24 Thread Heikki Toivonen
Changes by Heikki Toivonen : -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ronaldoussoren ___ Python tracker ___ ___ P

[issue10684] Folders get deleted when trying to change case with shutil.move (case insensitive file systems only)

2011-01-24 Thread Heikki Toivonen
Heikki Toivonen added the comment: I also noticed this last week. However, this is not Windows specific. It happens with file systems that are not case sensitive. Besides Windows (NTFS, FAT*) the other common platform is Macintosh (HFS+ with default settings). What happens is that we copy sou

[issue10708] Misc/porting should be folded in to the development FAQ

2011-01-24 Thread Brett Cannon
Brett Cannon added the comment: I've done what I plan to do to Misc and moving Porting was not part of it. I have no issue if someone else moves it, though. -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue11000] Doc: ast.parse parses source, not just expressions

2011-01-24 Thread Georg Brandl
Georg Brandl added the comment: Looks fine. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue11000] Doc: ast.parse parses source, not just expressions

2011-01-24 Thread Terry J. Reedy
New submission from Terry J. Reedy : "ast.parse(expr, filename='', mode='exec') Parse an expression into an AST node. Equivalent to compile(expr, filename, mode, ast.PyCF_ONLY_AST)." but "compile(source, ...) Compile the source into a code or AST object. ... The mode argument specifies what

[issue10998] Remove last traces of -Q / sys.flags.division_warning / Py_DivisionWarningFlag

2011-01-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm in mildly in favor of getting this done before the next release candidate. It seems like a desirable clean-up that would better be done sooner than later. -- nosy: +rhettinger ___ Python tracker

[issue9723] Add shlex.quote

2011-01-24 Thread Georg Brandl
Georg Brandl added the comment: Putting quote() into shlex sounds good to me. -- nosy: +georg.brandl ___ Python tracker ___ ___ Python

[issue10848] Move test.regrtest from getopt to argparse

2011-01-24 Thread R. David Murray
R. David Murray added the comment: What about putting the addition option details in the epilog? -- ___ Python tracker ___ ___ Python

[issue10848] Move test.regrtest from getopt to argparse

2011-01-24 Thread Sandro Tosi
Sandro Tosi added the comment: I finally had the time to look more closely to the issue, and I'd like to hear some comments on the info visualization. Currently we have --help option to print: Now, AFAIK argparse it's not so flexible, so we have to draw a line and choose a trade

[issue10999] os.chflags refers to stat constants, but the constants are not documented in the stat module

2011-01-24 Thread R. David Murray
New submission from R. David Murray : Title pretty much says it all. The constants are there in the stat module, but they aren't documented. When they are documented the mentions in the os.chflags entry can be turned into cross reference links. -- assignee: docs@python messages: 1269

[issue10960] os.stat() does not mention that it follow symlinks by default

2011-01-24 Thread R. David Murray
R. David Murray added the comment: Thanks. Committed a modified version of the patch in r88164. I extended your breakout of the attributes to the other paragraphs, and reorganized the order of the paragraphs in the stat docs to put things into a more logical order (I hope). I decided to ch

[issue9509] argparse FileType raises ugly exception for missing file

2011-01-24 Thread Georg Brandl
Georg Brandl added the comment: No, it sounds fine then. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue10998] Remove last traces of -Q / sys.flags.division_warning / Py_DivisionWarningFlag

2011-01-24 Thread Georg Brandl
Georg Brandl added the comment: This would have been good for 3.2, but it is an API change... -- ___ Python tracker ___ ___ Python-bu

[issue10998] Remove last traces of -Q / sys.flags.division_warning / Py_DivisionWarningFlag

2011-01-24 Thread Éric Araujo
New submission from Éric Araujo : The -Q command-line option has been removed in Python 3 but there are some leftovers. Attached patch removes them; tests pass; please review. I think 3.1 should be fixed too, since no sane program should use those leftovers. I removed the now-pointless tests

[issue10973] OS X 10.6 IDLE, tkinter: Cocoa Tk 8.5 crash when composite character typed in text field

2011-01-24 Thread Michael Foord
Michael Foord added the comment: Activestate has said (replying to me on Twitter as it happens) that a patch is available and they will do a new 8.5 release before 3.2 final. -- ___ Python tracker ___

[issue10960] os.stat() does not mention that it follow symlinks by default

2011-01-24 Thread R. David Murray
Changes by R. David Murray : -- assignee: docs@python -> r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue10997] Duplicate entries in IDLE "Recent Files" menu item on OS X

2011-01-24 Thread Ned Deily
Changes by Ned Deily : -- nosy: +kbk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mai

[issue10997] Duplicate entries in IDLE "Recent Files" menu item on OS X

2011-01-24 Thread Ned Deily
Changes by Ned Deily : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue10997] Duplicate entries in IDLE "Recent Files" menu item on OS X

2011-01-24 Thread Ned Deily
New submission from Ned Deily : When IDLE is run with an OS X Aqua Tk (Carbon 8.4 or Cocoa 8.5), using the File -> Recent Files menu item to open a previously used file causes that file to show up a second time in the updated menu item and with the same keyboard shortcut. With X11-based Tk on

[issue10963] "subprocess" can raise OSError (EPIPE) when communicating with short-lived processes

2011-01-24 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10996] Typo in What's New in 3.2

2011-01-24 Thread Raymond Hettinger
Raymond Hettinger added the comment: Fixed. Thanks. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Pytho

[issue10996] Typo in What's New in 3.2

2011-01-24 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list ma

[issue9723] Add shlex.quote

2011-01-24 Thread R. David Murray
R. David Murray added the comment: Yes, I know you have to do it anyway, that's why I used the adverb 'just' (as in 'just that, and nothing more') (I note that 'just' as an adverb tends to get overused by English speakers, and so loses some of its semantic value... :) -- ___

[issue10996] Typo in What's New in 3.2

2011-01-24 Thread Daniel Urban
New submission from Daniel Urban : In http://docs.python.org/dev/py3k/whatsnew/3.2.html#abc the example has two typos: farenheit -> fahrenheit celsium -> celsius -- assignee: docs@python components: Documentation messages: 126938 nosy: docs@python, durban priority: normal severity: nor

[issue10994] implementation details in sys module

2011-01-24 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10911] cgi: add more tests

2011-01-24 Thread R. David Murray
R. David Murray added the comment: Please keep new tests for existing features and new features in separate issues. A proposed code refactoring should also be a separate issue. -- nosy: +r.david.murray ___ Python tracker

[issue9723] Add shlex.quote

2011-01-24 Thread Éric Araujo
Éric Araujo added the comment: > you can just do 'from shlex import quote' in pipes We would have had to do that anyway, since pipes needs to use the function. Agreed that a deprecation is not necessary. -- ___ Python tracker

[issue10963] "subprocess" can raise OSError (EPIPE) when communicating with short-lived processes

2011-01-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: You are right, this is suboptimal. It would also be a behaviour change from currently, but it seems beneficial. -- nosy: +gregory.p.smith type: -> feature request ___ Python tracker

[issue10963] "subprocess" can raise OSError (EPIPE) when communicating with short-lived processes

2011-01-24 Thread Federico Simoncelli
Federico Simoncelli added the comment: I agree they are orthogonal. The problem is that Popen.communicate doesn't support a way to ignore the exception and keep reading from stdout and sterr until the process dies. When the child closes the stdin its (error/debug/info) messages on stout/sterr

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Rather than labelling it a platform-specific issue, I'd like the OP to test with the latest bugfix releases (2.6.6 and 2.7.1). Some things have definitely been fixed recently. -- ___ Python tracker

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: I think, we are facing a platform specific bug here. I had tried similar program earlier and I tried your attached snippet with python 2.6.6 and release27-maint branch and I dont see the zombie sockets on Ubuntu 10.10. -- _

[issue9124] Mailbox module should use binary I/O, not text I/O

2011-01-24 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10911] cgi: add more tests

2011-01-24 Thread David Stanek
Changes by David Stanek : -- nosy: +dstanek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue5885] uuid.uuid1() is too slow

2011-01-24 Thread David Stanek
Changes by David Stanek : -- nosy: +dstanek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue10983] Errors in http.client.HTTPConnection class (python3)

2011-01-24 Thread David Stanek
Changes by David Stanek : -- nosy: +dstanek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread David Stanek
Changes by David Stanek : -- nosy: +dstanek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default

2011-01-24 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10995] mailbox.py open() calls don't set encoding

2011-01-24 Thread R. David Murray
R. David Murray added the comment: Issue 9124 addresses the underlying problem here, so I'm closing this as a duplicate. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Mailbox module should use binary I/O, not tex

[issue10995] mailbox.py open() calls don't set encoding

2011-01-24 Thread Steffen Daode Nurpmeso
New submission from Steffen Daode Nurpmeso : I'm using the en_GB.UTF-8 locale and thus the entire I/O layer defaults to use UTF-8 encoding. Perfect. The problem is that mailboxes are *not* and *never* in UTF-8, generally speaking, according to RFC mail standards! So i suggest that mailbox.py

[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default

2011-01-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, there are already such examples: http://docs.python.org/dev/library/ssl.html#examples Do you think they are not visible enough? -- ___ Python tracker __

[issue10994] implementation details in sys module

2011-01-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I suppose wrt getsizeof it's more of "if you provide us with a > reasonable expectations, we can implement this" other than anything > else. The expectation is that it returns the memory footprint of the given object, and only it (not taking into account shar

[issue10994] implementation details in sys module

2011-01-24 Thread Maciej Fijalkowski
Maciej Fijalkowski added the comment: I suppose wrt getsizeof it's more of "if you provide us with a reasonable expectations, we can implement this" other than anything else. -- ___ Python tracker ___

[issue10994] implementation details in sys module

2011-01-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, getsizeof is not better-defined under CPython than elsewhere. It just gives a hint. Agreed about the other. -- nosy: +pitrou ___ Python tracker

[issue10994] implementation details in sys module

2011-01-24 Thread Łukasz Langa
Changes by Łukasz Langa : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue10994] implementation details in sys module

2011-01-24 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> needs patch versions: +Python 2.7, Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-

[issue10994] implementation details in sys module

2011-01-24 Thread Maciej Fijalkowski
New submission from Maciej Fijalkowski : sys module documentation (as it is online) has some things that in my opinion should be marked as implementation details, but are not. Feel free to counter why not. Some of them has info it should be used for specialized purposes only, but IMO it's no

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you try with either 2.6.6 or 2.7.1? -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-lis

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Tanakorn Leesatapornwongsa
Tanakorn Leesatapornwongsa added the comment: I ran this attached file on my FreeBSD. After it printed "loop finished", I ran command `sockstat | grep python` and it showed korn python 58627 3 tcp4 10.0.2.15:28858 64.233.183.99:443 korn python 58627 4 tcp4 10.0.2.1

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Senthil Kumaran
Changes by Senthil Kumaran : Removed file: http://bugs.python.org/file20502/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Senthil Kumaran
Senthil Kumaran added the comment: Can you provide a test case which actually illustrates that zombie socket connections present after the HTTPS Connection and Close? I see the logic in your patch. But I don't see no left over unclosed connections upon ssl.close either. -- nosy: +orsent

Re: [issue10799] Improve webbrowser.open doc (and, someday, behavior?)

2011-01-24 Thread Senthil Kumaran
On Wed, Jan 12, 2011 at 12:23:31AM +, Éric Araujo wrote: > > I thought of adding 'http://' if not present but that would > > disable opening files in a file browser. > > I think that’s a Windows-specific behavior, not a promise of the > *web*browser module. If being lenient with URLs which do

[issue10852] SSL/TLS sni use in smtp, pop, imap, nntp, ftp client libs by default

2011-01-24 Thread Daniel Black
Daniel Black added the comment: ok. should library/ssl.rst be updated to use a SSLContext example? -- ___ Python tracker ___ ___ Pyth

[issue10993] HTTPSConnection does not close when call close() method

2011-01-24 Thread Tanakorn Leesatapornwongsa
New submission from Tanakorn Leesatapornwongsa : With this code on python 2.6, I found that HTTPSConnection does not close connection properly. from httplib import HTTPSConnection for i in range(1000): https = HTTPSConnection("google.com") https.connect() https.request("GET", "/") resp

[issue10992] tests failing when run under coverage

2011-01-24 Thread Kristian Vlaardingerbroek
Changes by Kristian Vlaardingerbroek : -- nosy: +Kristian.Vlaardingerbroek ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue10990] tests mutating sys.gettrace() w/o re-instating previous state

2011-01-24 Thread Kristian Vlaardingerbroek
Changes by Kristian Vlaardingerbroek : -- nosy: +Kristian.Vlaardingerbroek ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-01-24 Thread Sean Reifschneider
Sean Reifschneider added the comment: Thanks. I had just read that a day or so ago, reviewing it for Brett's work. -- ___ Python tracker ___ ___