[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer fwei...@redhat.com: -- nosy: +fweimer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10441 ___ ___ Python-bugs-list

[issue1621] Do not assume signed integer overflow behavior

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer fwei...@redhat.com: -- nosy: +fweimer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1621 ___ ___ Python-bugs-list

[issue7672] _ssl module overwrites existing thread safety callbacks

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer fwei...@redhat.com: -- nosy: +fweimer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7672 ___ ___ Python-bugs-list

[issue8106] SSL session management

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer fwei...@redhat.com: -- nosy: +fweimer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8106 ___ ___ Python-bugs-list

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

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer fwei...@redhat.com: -- nosy: +fweimer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10852 ___ ___ Python-bugs-list

[issue13647] Python SSL stack doesn't securely validate certificate (as client)

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer fwei...@redhat.com: -- nosy: +fweimer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13647 ___ ___ Python-bugs-list

[issue13655] Python SSL stack doesn't have a default CA Store

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer fwei...@redhat.com: -- nosy: +fweimer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13655 ___ ___ Python-bugs-list

[issue13747] ssl_version documentation error

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer fwei...@redhat.com: -- nosy: +fweimer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13747 ___ ___ Python-bugs-list

[issue13403] Option for XMLPRC Server to support HTTPS

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer fwei...@redhat.com: -- nosy: +fweimer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13403 ___ ___ Python-bugs-list

[issue13747] ssl_version documentation error

2013-03-08 Thread Florian Weimer
Florian Weimer added the comment: OpenSSL cross-version updates are sometimes difficult because they invalidate certifications. Updating Python to SSLv23 with SSL_OP_NO_SSLv2 is comparatively easy and also much less riskier. Shall I submit a patch which changes the default? I would also

[issue17384] test_logging failures on Windows

2013-03-08 Thread Vinay Sajip
Vinay Sajip added the comment: I'm not sure it's related to #11557 - it's more likely to be my changes last week to fix #17313, where I changed those tests to add self.addCleanup(os.remove, 'test.log') There's also an addCleanup that closes the handler which opens the file, which should

[issue17384] test_logging failures on Windows

2013-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 85325bce9982 by Vinay Sajip in branch 'default': Issue #17384: Consolidated cleanup operations in tests. http://hg.python.org/cpython/rev/85325bce9982 -- nosy: +python-dev ___ Python tracker

[issue13747] ssl_version documentation error

2013-03-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Florian this was already handled in issue #13636 (changeset f9122975fd80). -- resolution: - out of date stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue17378] Document that ctypes automatically applies byref() when argtypes declares POINTER

2013-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 76be5efa0d86 by Eli Bendersky in branch '3.2': Issue #17378: ctypes documentation fix. http://hg.python.org/cpython/rev/76be5efa0d86 New changeset 2cd2d8f8f72f by Eli Bendersky in branch '3.3': Issue #17378: ctypes documentation fix.

[issue17378] Document that ctypes automatically applies byref() when argtypes declares POINTER

2013-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2dd77a12e7bf by Eli Bendersky in branch '2.7': Closing #17378: ctypes documentation fix. http://hg.python.org/cpython/rev/2dd77a12e7bf -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed

[issue17327] Add PyDict_GetItemSetDefault() as C-API for dict.setdefault()

2013-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca9a85c36e09 by Benjamin Peterson in branch 'default': fix warning (closes #17327) http://hg.python.org/cpython/rev/ca9a85c36e09 -- resolution: - fixed status: open - closed ___ Python tracker

[issue17380] initproc return value is unclear

2013-03-08 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The return value for error conditions should be -1. - typeobject.c checks with 0 - in _iomodule.c, there is == -1 - and pygobject/gobject/gobjectmodule.c just does:: if (...tp_init(...)) PyErr_Print(); -- nosy: +amaury.forgeotdarc

[issue17380] initproc return value is unclear

2013-03-08 Thread Zbyszek Jędrzejewski-Szmek
Zbyszek Jędrzejewski-Szmek added the comment: On Fri, Mar 08, 2013 at 02:30:18PM +, Amaury Forgeot d'Arc wrote: Amaury Forgeot d'Arc added the comment: The return value for error conditions should be -1. - typeobject.c checks with 0 - in _iomodule.c, there is == -1 - and

[issue17376] TimedRotatingFileHandler documentation regarding 'Week day' lacking

2013-03-08 Thread karl
Changes by karl karl+pythonb...@la-grange.net: -- nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17376 ___ ___ Python-bugs-list

[issue13477] tarfile module should have a command line

2013-03-08 Thread Éric Araujo
Éric Araujo added the comment: Users of the TAR format usually come from UNIX, so using the same command line options should not be so surprising. Not sure about that: they could be Python users wanting to unpack a tarball sdist. That said, there is no harm in being compatible, and I like

[issue11367] xml.etree.ElementTree.find(all): docs are wrong

2013-03-08 Thread Henrik Heimbuerger
Henrik Heimbuerger added the comment: Brought the ElementTree docs for find(), findtext() and findall() in line with the default branch (now they are just referencing the methods from Element). Made the same changes in the method comments of the implementation. Separate patches for 2.7 and

[issue11367] xml.etree.ElementTree.find(all): docs are wrong

2013-03-08 Thread Henrik Heimbuerger
Henrik Heimbuerger added the comment: Patch for 3.2. -- Added file: http://bugs.python.org/file29350/issue11367_branch32.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11367 ___

[issue17383] Error in documentation /2/tutorial/modules.html#more-on-modules

2013-03-08 Thread Éric Araujo
Éric Araujo added the comment: Text sounds correct to me. It says that imports should happen at the beginning of a module, and that the names of imported modules are placed in the module namespace. There is an implicit logical link between the two sentences, and the wording of “symbol

[issue15873] datetime cannot parse ISO 8601 dates and times

2013-03-08 Thread Éric Araujo
Éric Araujo added the comment: Are you offering the module for inclusion in the stdlib? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15873 ___

[issue17383] Error in documentation /2/tutorial/modules.html#more-on-modules

2013-03-08 Thread Jeff Knupp
Jeff Knupp added the comment: I think Piotr's point is the wording of the last sentence is ambiguous. The second statement reads It is customary *but not required* to place all import statements at the beginning of a module The third seems to state that regardless of whether or not you

[issue17383] Error in documentation /2/tutorial/modules.html#more-on-modules

2013-03-08 Thread Piotr Kuchta
Piotr Kuchta added the comment: Jeff, thank you: that was exactly what I wanted to point out. The three sentences read in order imply that it doesn't matter whether you import a module at the top level of a script/module or in a function, because the effect is the same, namely the imported

[issue17383] Error in documentation /2/tutorial/modules.html#more-on-modules

2013-03-08 Thread Éric Araujo
Éric Araujo added the comment: It is customary *but not required* to place all import statements at the beginning of a module The third seems to state that regardless of whether or not you followed the custom, module names are always placed in the global symbol table Yes. Not following

[issue17383] Possibly ambiguous phrasing in tutorial/modules#more-on-modules

2013-03-08 Thread Éric Araujo
Éric Araujo added the comment: Ah, we have it: the tutorial distinguishes between “it’s customary to put imports near the top of the file” vs. “later in the file”, and you interpret it as “it’s customary to put imports at the module top level” vs. “import in any scope e.g. functions”. These

[issue17383] Possibly ambiguous phrasing in tutorial/modules#more-on-modules

2013-03-08 Thread Jeff Knupp
Jeff Knupp added the comment: Of the two different things, the first (the scope of imported names) is never covered in the documentation. As a result, the text in question seems to imply an import statement can *only* be in module scope. From the reader's perspective: If I wanted to import

[issue13477] tarfile module should have a command line

2013-03-08 Thread Éric Araujo
Éric Araujo added the comment: Did you get all the review comments? Some of them were made on older versions of the patch, and don’t seem to be addressed in the latest version. Thanks. Ankur, could you submit a contributor agreement? http://www.python.org/psf/contrib/contrib-form/

[issue17383] Possibly ambiguous phrasing in tutorial/modules#more-on-modules

2013-03-08 Thread Piotr Kuchta
Piotr Kuchta added the comment: Eric, when you say 'the tutorial distinguishes between “it’s customary to put imports near the top of the file” vs. “later in the file”' the last bit is just your interpretation. The tutorial doesn't say later in the file. Anyway, 'later in the file' does not

[issue13477] tarfile module should have a command line

2013-03-08 Thread Ankur Ankan
Ankur Ankan added the comment: I am still unclear about the outcomes of the discussion. I am confused which features need to be kept and which are to be removed. Ankur, could you submit a contributor agreement? I will submit it today. -- ___

[issue17381] IGNORECASE breaks unicode literal range matching

2013-03-08 Thread Chris Adams
Chris Adams added the comment: Ah, that explains it - I'd been hoping based on the re.DEBUG output that the explicit unicode ranges were preserved. I found #3511 before opening this one but don't believe the decision should be the same since this isn't a mixed numeric/alphabetic range.

[issue13564] ftplib and sendfile()

2013-03-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Because offsets can be negative On Linux (and presumably on all POSIX platforms) passing a negative offset results in EINVAL. In that case, there's a problem with the patch, since select can block arbitrarily long because it doesn't take the socket

[issue13564] ftplib and sendfile()

2013-03-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: A much larger patch which should address all issues is in attachment. Updates: - use poll() instead of select() whenever possible - take socket timeout into account - take SSL/FTPS into account - when using select() look for EMFILE in case num fds

[issue13564] ftplib and sendfile()

2013-03-08 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' g.rod...@gmail.com: -- versions: +Python 3.4 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13564 ___ ___

[issue9686] asyncore infinite loop on raise

2013-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: Removed file: http://bugs.python.org/file18647/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9686 ___

[issue12466] test_subprocess.test_close_fds() sporadic failures on Mac OS X Tiger

2013-03-08 Thread Ismail Donmez
Ismail Donmez added the comment: We are now hitting this on openSUSE 12.3, here is the relevant log (ignore the timestamps) : [ 1041s] == [ 1041s] FAIL: test_close_fds (test.test_subprocess.POSIXProcessTestCase) [ 1041s]

[issue17382] debugging with idle: current line not highlighted

2013-03-08 Thread Todd Rovito
Todd Rovito added the comment: Dirk, I think this issue is already documented as an issue but I will have to find it in the tracker. -- nosy: +Todd.Rovito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17382

[issue747320] rfc2822 formatdate functionality duplication

2013-03-08 Thread karl
karl added the comment: Ok after comments and review by Eric Araujo on the previous patch. See issue-747320-3.patch I have ran → ./python.exe Lib/test/test_httpservers.py […] -- Ran 39 tests in 3.734s OK [137158 refs] That

[issue9686] asyncore infinite loop on raise

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this because there is no identified, fixable implementation bug in any particular Python module. The fix for the asyncore *design* will be a new, re-designed module. -- nosy: +terry.reedy resolution: - invalid status: open - closed

[issue9686] asyncore infinite loop on raise

2013-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9686 ___ ___

[issue10878] asyncore does not react properly on close()

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Teodor or Gavin: is the (mis)behavior the same in 3.3? Giampaolo: has the OP identified a fixable misbehavior relative to the documented behavior, making this a valid behavior issue? Or is this instead an enhancement request, possibly superseded by #1641?

[issue10878] asyncore does not react properly on close()

2013-03-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I'm not sure what the OP and Gavin are complaining about in their last messages. Could you guys be more clear and/or provide a code sample which reproduces the problem? -- ___ Python tracker

[issue1641] asyncore delayed calls feature

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Where does this issue stand now? Did the applied sched patch supersede the proposed asyncore patch? Is enhancing asyncore still on the table given Guido's proposed new module? -- nosy: +terry.reedy versions: +Python 3.4 -Python 3.3

[issue1641] asyncore delayed calls feature

2013-03-08 Thread Guido van Rossum
Guido van Rossum added the comment: A new implementation is part of Tulip (tulip/selectors.py); once Tulip is further along it will be a candidate for inclusion in the stdlib (as socket.py) regardless of whether tulip itself will be accepted. I have no plans to work on asyncore. On Fri, Mar 8,

[issue1641] asyncore delayed calls feature

2013-03-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I'm not sure how many users asyncore has out there nowadays, but if it has to stay in the stdlib then I see some value in adding a scheduler to it because it is an essential component. If this is still desirable I can restart working on a patch, although

[issue12988] Tkinter File Dialog crashes on Win7 when saving to Documents Library

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: As near as I can tell, the tcl/tk distributed with Windows is not upgraded in bugfix releases. I presume it is a matter of testing and stability and not introducing any new features in the new tcl/tk. In any case, on Windows, this is fixed in 3.3 (and

[issue15158] Add support for multi-character delimiters in csv

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: You did not explain why it is *impossible* for you to use any of the other solutions. In any case, I looked at the C code. It defines delimiter (as well as quotechar and escapechar) as a single unicode char. This is different from Python which does not have a

[issue6933] Threading issue with Tkinter Frame.insert

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Quoting from msg179101 on #16823, which I turned into a doc issue: ''' What you are doing appears to be unsupported (invalid). From http://www.astro.washington.edu/users/rowen/TkinterSummary.html all Tkinter access must be from the main thread (or more

[issue17386] Bring Doc/make.bat as close to Doc/Makefile as possible

2013-03-08 Thread Zachary Ware
New submission from Zachary Ware: I have found Doc/make.bat to be very useful, but I have hit a few of its limitations now and then. Thus, I have made extensive modifications to bring it much closer to the way Doc/Makefile works. Among the things changed in the attached patch: - Use

[issue11029] Crash, 2.7.1, Tkinter and threads and line drawing

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have somewhat arbitrary selected #16823 as the issue turned into a tkinter and threads doc issue. I added a note there about mentioning the use of queue. -- resolution: - duplicate status: open - closed superseder: - Python quits on running tkinter

[issue16823] Python quits on running tkinter code with threads

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: From #11029: Doc about tkinter and treads should also give the alternative of using queue.queue to feed data from multiple threads. See msg127316 -- ___ Python tracker rep...@bugs.python.org

[issue7074] Turtle module crashes python

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is not safe to call graphic primitives in event callbacks. Martin, do you agree that this is (or should be) the case? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7074

[issue17376] TimedRotatingFileHandler documentation regarding 'Week day' lacking

2013-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 56b74b9c81c3 by Vinay Sajip in branch '2.7': Issue #17376: Clarified documentation for TimedRotatingFileHandler weekday rotation. http://hg.python.org/cpython/rev/56b74b9c81c3 New changeset 83f07e3a53f4 by Vinay Sajip in branch '3.2': Issue

[issue747320] rfc2822 formatdate functionality duplication

2013-03-08 Thread Éric Araujo
Éric Araujo added the comment: Tests would be great, especially given that we can add them in 3.2 and when merging 3.2 into 3.3 and then default, it ensures that the new code has no regression. (A minor thing: I would use “attribute” instead of “variable” in the docstrings.) There are also

[issue11077] Tkinter is not thread safe

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am somewhat puzzled by the claim that tkinter *is* thread safe (as opposed to *intended to be*), in the sense of accessing the gui from multiple threads. First, http://www.astro.washington.edu/users/rowen/TkinterSummary.html all Tkinter access must be from

[issue17251] LWPCookieJar load() set domain_specifed wrong

2013-03-08 Thread Demian Brecht
Demian Brecht added the comment: @B. Kyven: What are you trying to achieve? LWP is intended to be used with libwww-perl libary, which is not known to be compatible with any browsers (not sure whether or not this has any bearing on what you're doing). Really, IMHO, this entire module is in

[issue10909] thread hang, possibly related to print

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I re-ran in 2.7.3. First time, B froze at 81, second time neither froze for a few minutes until I used task manager to stop. I then remembered that accessing the gui from a 2nd thread is not supported. Quoting from msg179101 on #16823, which I turned into a

[issue17343] Add a version of str.split which returns an iterator

2013-03-08 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17343 ___ ___

[issue17337] input() and raw_input() do not work correctly with colored prompts

2013-03-08 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17337 ___ ___

[issue17349] wsgiref.simple_server.demo_app is not PEP-3333 compatible

2013-03-08 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe tshep...@gmail.com: -- nosy: +pje, tshepang ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17349 ___ ___

[issue17332] typo in json docs - convered should be converted

2013-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- assignee: docs@python - terry.reedy nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17332 ___

[issue17332] typo in json docs - convered should be converted

2013-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9bd2fc35f311 by Terry Jan Reedy in branch '2.7': Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. http://hg.python.org/cpython/rev/9bd2fc35f311 New changeset 55fd9810c9ab by Terry Jan Reedy in branch '3.2': Issue #17332:

[issue17332] typo in json docs - convered should be converted

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for the report. -- resolution: - fixed stage: needs patch - committed/rejected status: open - closed type: enhancement - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17332

[issue17387] Error in C API documentation of PySequenceMethods

2013-03-08 Thread Alex Orange
New submission from Alex Orange: The documentation at http://docs.python.org/2/c-api/typeobj.html#PySequenceMethods is missing sq_slice between sq_item and sq_ass_item. This will mess up anyone trying to use anything after sq_item (that isn't using designated initializers). --

[issue17337] input() and raw_input() do not work correctly with colored prompts

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows, both the command prompt interpreter and IDLE ignore special meanings and print prompt as is. Line wrap to physical next line occurs at 80 chars and movable edge of window respectively. Michael, in light of your last post, do you still believe a

[issue17340] Handle malformed cookie

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Code behaving as documented is not a bug for tracker purposes. Adding a parameter to allow new behavior is an enhancement for a future release. Who is responsible for the invalid cookie. Pardon my ignorance, but if tornado re-sets the cookie, why cannot it

[issue17343] Add a version of str.split which returns an iterator

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I personally would have changed both str.split and os.walk to return iterators in 3.0, like many other builtins. The rationale for os.walk continuing to produce a list is that there would be little time saving as the list is not *that* long and most uses look

[issue17345] Portable and extended type specifiers for array module

2013-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +mark.dickinson, meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17345 ___ ___

[issue17348] Unicode - encoding seems to be lost for inputs of unicode chars

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I do not see any bug. Unicode chars do not have an encoding (except internally) The .encode() method encodes the the unicode string to a byte string. It does *not* mutate the string. Since you do not bind the byte string to anything, it disappears. Compare

[issue17350] Use STAF call python script will case 1124861 issue in 2.7.2 version

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Peter, the OP claims this issue is similar to a subprocess issue you fixed. I hope you can comment.) Nearly identical versions of your example run from IDLE on both 2.7.3 and 3.3.0. Please rerun on 2.7.3 to make sure you have the problem with current Python.

[issue17365] Remove Python 2 code from test_print

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: In 3.3+ the u prefix is ignored in the lexer stage and I am sure that is tested in the string literal syntax tests. It has nothing to do with printing. The commented out tests you appropriately removed were testing the printing of unicode instead of byte

[issue12067] Doc: remove errors about mixed-type comparisons.

2013-03-08 Thread Mike Hoy
Mike Hoy added the comment: Considering that the docs have changed does this issue still need to be open? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12067 ___

[issue17370] PEP should note if it has been superseded

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think you are, in effect, asking for expansion of the 'PEP Header Preamble' section of PEP-0001. I have added some of the PEP editors listed in the PEP as nosy. I will let them decide if this should be discussed elsewhere. -- nosy: +barry,

[issue15158] Add support for multi-character delimiters in csv

2013-03-08 Thread Ramchandra Apte
Ramchandra Apte added the comment: I have posted on python-ideas. On 9 March 2013 03:14, Terry J. Reedy rep...@bugs.python.org wrote: Terry J. Reedy added the comment: You did not explain why it is *impossible* for you to use any of the other solutions. In any case, I looked at the C

[issue17340] Handle malformed cookie

2013-03-08 Thread keakon
keakon added the comment: Terry, say that a user's cookie is ,BRIDGE_R=; a=b; right now. When he login, the server sends Set-Cookie: user_id=1; Path=/ header to him. Then his cookie is ,BRIDGE_R=; a=b; user_id=1; now. The next time he sends cookie to the server, Cookie.SimpleCookie.load() tries

[issue17387] Error in C API documentation of PySequenceMethods

2013-03-08 Thread Mike Hoy
Changes by Mike Hoy mho...@gmail.com: -- nosy: +mikehoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17387 ___ ___ Python-bugs-list mailing list

[issue17340] Handle malformed cookie

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: keakon, changing the headers after a developer sets them is insulting, annoying, a waste of my time to change them back again, and a distraction from the issue. -- type: behavior - enhancement versions: +Python 3.4 -Python 2.7

[issue17375] Add docstrings to methods in the threading module

2013-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset e0ef2bde35c3 by Raymond Hettinger in branch '2.7': Issue #17375: Add docstrings to the threading module. http://hg.python.org/cpython/rev/e0ef2bde35c3 -- nosy: +python-dev ___ Python tracker

[issue17382] debugging with idle: current line not highlighted

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Dirk, sorry; in my email, I should have suggested searching for existing idle debugger issues before posting. -- nosy: +terry.reedy resolution: - duplicate status: open - closed superseder: - IDLE: source line in editor doesn't highlight when

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed #17382 as a duplicate of this. The OP, Dirk, only had problem on Windows xp, not on Ubuntu 3.2 and 3.3. I see the same problem on 3.3 win 7. Roger, do you think this is a windows, tkinter, or idle problem? -- versions: +Python 3.3, Python 3.4

[issue17340] Handle malformed cookie

2013-03-08 Thread keakon
keakon added the comment: Terry, I think that's the standard process of web applications. 1. The user agent send cookie via HTTP headers to the web server. 2. The web server parse its cookie. If the server fails to find something proves the user has logged in from his cookie, redirect him to

[issue12466] sporadic failures of test_close_fds() and test_pass_fds in test_subprocess

2013-03-08 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: out of date - status: closed - open title: test_subprocess.test_close_fds() sporadic failures on Mac OS X Tiger - sporadic failures of test_close_fds() and test_pass_fds in test_subprocess versions: +Python 3.3

[issue17387] Error in C API documentation of PySequenceMethods

2013-03-08 Thread Mike Hoy
Mike Hoy added the comment: Looking through Include/object.h I see that sq_slice is now: void *was_sq_slice. Can anyone provide any clarification as to where I can find info about sq_slice? -- ___ Python tracker rep...@bugs.python.org

[issue12466] sporadic failures of test_close_fds and test_pass_fds in test_subprocess

2013-03-08 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- title: sporadic failures of test_close_fds() and test_pass_fds in test_subprocess - sporadic failures of test_close_fds and test_pass_fds in test_subprocess ___ Python tracker rep...@bugs.python.org

[issue17351] Fixed python3 descriptor documentation example + removal of explicit object inheritance in docs

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: The respective howto and examples authors should give their OK for deleting '(object)' in case they are trying to keep one text compatible across 2 and 3. I added the other two to the nosy list. Doc/howto/descriptor.rst -- Raymond H. Doc/howto/sorting.rst --

[issue17387] Error in C API documentation of PySequenceMethods

2013-03-08 Thread Alex Orange
Alex Orange added the comment: If you look at the 2.7.3 version of that file: http://hg.python.org/cpython/file/70274d53c1dd/Include/object.h it has more information. It is a ssizessizeargfunc. I assume it passes the lower and upper bound and expects back a subsequence. --

[issue17387] Error in C API documentation of PySequenceMethods

2013-03-08 Thread Alex Orange
Alex Orange added the comment: Just to clarify though, that is entirely an assumption as to how it's supposed to be used. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17387 ___

[issue16389] re._compiled_typed's lru_cache causes significant degradation of the mako_v2 bench

2013-03-08 Thread Brian Kearns
Changes by Brian Kearns bdkea...@gmail.com: -- nosy: +brian.kearns ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16389 ___ ___ Python-bugs-list

[issue17340] Handle malformed cookie

2013-03-08 Thread karl
karl added the comment: Just a quick note that the new specification for HTTP State Mechanism (aka cookies) is http://tools.ietf.org/html/rfc6265 keakon, Do you know why her cookie was ',BRIDGE_R=;' -- nosy: +karlcow ___ Python tracker

[issue17340] Handle malformed cookie

2013-03-08 Thread keakon
keakon added the comment: karl, I don't know the exact reason. BRIDGE_R is a cookie name set by Baidu Bridge. I don't know why there is a comma before it. The Baidu Bridge is an external JavaScript resource. It can do anything like: document.cookie = ,BRIDGE_R=;; I think Baidu Bridge set the

[issue16642] Mention new kwargs named tuple parameter in sched module

2013-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset 258028711466 by Terry Jan Reedy in branch '3.3': Issue #16642: sched.scheduler timefunc initial default is time.monotonic. http://hg.python.org/cpython/rev/258028711466 -- ___ Python tracker

[issue16643] Wrong documented default value for timefunc parameter in sched.scheduler()

2013-03-08 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca56baa46d35 by Terry Jan Reedy in branch 'default': Merge: closes issue 16643 (not 2 as in last commit message) http://hg.python.org/cpython/rev/ca56baa46d35 -- nosy: +python-dev resolution: - fixed stage: patch review -

[issue16643] Wrong documented default value for timefunc parameter in sched.scheduler()

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.3 was changed also, but with misdirected message -- assignee: docs@python - terry.reedy nosy: +terry.reedy resolution: fixed - stage: committed/rejected - patch review status: closed - open ___ Python tracker

[issue16642] Mention new kwargs named tuple parameter in sched module

2013-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg183801 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16642 ___

[issue17351] Fixed python3 descriptor documentation example + removal of explicit object inheritance in docs

2013-03-08 Thread Vinay Sajip
Vinay Sajip added the comment: I'm OK with changing the logging cookbook to remove explicit subclassing from object in the examples. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17351

[issue17340] Handle malformed cookie

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Carl, do you know if the (2 year old) draft better reflect actual usage than 2965? Is there much change other than deprecates the use of the Cookie2 and Set-Cookie2 header fields.? -- ___ Python tracker

[issue16643] Wrong documented default value for timefunc parameter in sched.scheduler()

2013-03-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: I guess I should have taken the assignment before pushing ;-) -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue17384] test_logging failures on Windows

2013-03-08 Thread Vinay Sajip
Vinay Sajip added the comment: Closing, as the errors seem to have gone away after the cleanup update. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17384

  1   2   >