[issue9842] Document ... used in recursive repr of containers

2013-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3, Python 3.4 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

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

[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

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

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

2013-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg183801 ___ Python tracker ___ ___ Python-bugs-list mailing l

[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

[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 -> committed/re

[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

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

[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

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

[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 ___ _

[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. -- __

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

[issue12466] sporadic failures of test_close_fds and test_pass_fds in test_subprocess

2013-03-08 Thread Ned Deily
Changes by Ned Deily : -- 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 _

[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

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

2013-03-08 Thread Ned Deily
Changes by Ned Deily : -- 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 _

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

[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

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

[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

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

[issue17387] Error in C API documentation of PySequenceMethods

2013-03-08 Thread Mike Hoy
Changes by Mike Hoy : -- nosy: +mikehoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[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()

[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 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 code. It defines delim

[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, brett.cann

[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 ___ __

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

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

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

[issue17345] Portable and extended type specifiers for array module

2013-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +mark.dickinson, meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[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

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

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

[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). -- assigne

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

[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
Changes by Terry J. Reedy : -- assignee: docs@python -> terry.reedy nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mai

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

2013-03-08 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +pje, tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

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

2013-03-08 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

2013-03-08 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

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

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

[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

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

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

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

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

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

[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 pushd/p

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

[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

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

[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 I'

[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, 2

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

[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

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

[issue9686] asyncore infinite loop on raise

2013-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

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

[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

[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

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

[issue9686] asyncore infinite loop on raise

2013-03-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : Removed file: http://bugs.python.org/file18647/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue13564] ftplib and sendfile()

2013-03-08 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- versions: +Python 3.4 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

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

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

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

[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. -- ___ Pyth

[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 É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 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 impor

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

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

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

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

[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 ___ ___ Python-bugs-list

[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 table”

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

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

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

[issue17376] TimedRotatingFileHandler documentation regarding 'Week day' lacking

2013-03-08 Thread karl
Changes by karl : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

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

[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.forgeotdar

[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

[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

[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. http://hg.pytho

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

[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

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

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

[issue13403] Option for XMLPRC Server to support HTTPS

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer : -- nosy: +fweimer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue13747] ssl_version documentation error

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer : -- nosy: +fweimer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

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

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer : -- nosy: +fweimer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

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

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer : -- nosy: +fweimer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

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

[issue8106] SSL session management

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer : -- nosy: +fweimer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue7672] _ssl module overwrites existing thread safety callbacks

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer : -- nosy: +fweimer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue1621] Do not assume signed integer overflow behavior

2013-03-08 Thread Florian Weimer
Changes by Florian Weimer : -- nosy: +fweimer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

  1   2   >