[issue18176] Builtins documentation refers to old version of UCD.

2014-10-09 Thread R. David Murray
R. David Murray added the comment: I committed the stdtypes, lexical_analysis, and Tools changes, updating the version number appropriately in the doc fixes. I'm closing this, and will open a new issue for the PropList.txt problem. -- nosy: +r.david.murray resolution: - fixed stage:

[issue22591] Drop support of MS-DOS

2014-10-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: AFAIK Borland and Watcom compilers supported Windows. AFAIU Victor only proposes to remove the MSDOS-specific conditionals. But it's hard to tell, since he didn't post a patch ;-) -- nosy: +pitrou ___ Python

[issue22592] Drop support of Borland C compiler

2014-10-09 Thread STINNER Victor
New submission from STINNER Victor: As a follow-up of the issue #22591, I propose to drop support of the Borland C compiler. In 2000, it was nice to support Visual Studio and Borland C++ Builder, because they were the two most popular compilers on Windows. Borland C compiler could also be

[issue22591] Drop support of MS-DOS

2014-10-09 Thread STINNER Victor
STINNER Victor added the comment: Here is my huge patch :-) It only changes osdefs.h. In fact, I expected more code checking for __DJGPP__. For __WATCOMC__, it's unclear for me yet if the code is specific to MS-DOS or to the Watcom compiler. For example, timemodule.c includes i86.h to get the

[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

2014-10-09 Thread Matej Cepl
Matej Cepl added the comment: In my own case I use os.popen(“wget …”) instead of urllib2 just because some version long ago failed on some web site. I can trust that this external tool works all the time. It would be great if urllib2 worked as well nowadays. I believe that Python

[issue22579] Posix module init function name should not be compiler-dependent

2014-10-09 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22579 ___

[issue22592] Drop support of Borland C compiler

2014-10-09 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22592 ___

[issue22591] Drop support of MS-DOS

2014-10-09 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +Arfrever ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22591 ___

[issue22592] Drop support of Borland C compiler

2014-10-09 Thread STINNER Victor
STINNER Victor added the comment: And now with a patch. -- keywords: +patch Added file: http://bugs.python.org/file36857/drop_borlandc_support.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22592

[issue17636] Modify IMPORT_FROM to fallback on sys.modules

2014-10-09 Thread Nick Coghlan
Nick Coghlan added the comment: If I understand your question correctly, then yes, __package__ should be used when converting explicit relative imports to absolute ones. To write a test, run a submodule that needs the new fallback feature via the -m switch (it will fail if using __name__)

[issue17636] Modify IMPORT_FROM to fallback on sys.modules

2014-10-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 10/10/2014 00:11, Nick Coghlan a écrit : Nick Coghlan added the comment: If I understand your question correctly, then yes, __package__ should be used when converting explicit relative imports to absolute ones. To write a test, run a submodule that

[issue22579] Posix module init function name should not be compiler-dependent

2014-10-09 Thread STINNER Victor
STINNER Victor added the comment: Ok, I pushed the change: --- changeset: 92900:c7adad17f663 user:Victor Stinner victor.stin...@gmail.com date:Fri Oct 10 00:09:47 2014 +0200 files: Modules/posixmodule.c Closes #22579: Fix posixmodule.c to support any C compiler on

[issue22493] Deprecate the use of flags not at the start of regular expression

2014-10-09 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is alternative, much simpler, patch. It deprecates only flags in nested subpatterns. That sounds a bit random. It wouldn't totally address the discrepancy with regex, would it? MRAB, what do you think on this topic? --

[issue22524] PEP 471 implementation: os.scandir() directory scanning function

2014-10-09 Thread Josh Rosenberg
Changes by Josh Rosenberg shadowranger+pyt...@gmail.com: -- nosy: +josh.rosenberg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22524 ___ ___

[issue5214] Add KOI8-RU as a known encoding

2014-10-09 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5214 ___ ___

[issue22493] Deprecate the use of flags not at the start of regular expression

2014-10-09 Thread Matthew Barnett
Matthew Barnett added the comment: I think the simplest and clearest approach from the user's point of view is just to deprecate inline flags that are not at the start of the pattern. In practice, they almost invariably occur at the start anyway, although I do remember once seeing a pattern

[issue21986] Idle: disable pickleability of user code objects

2014-10-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Wanting to make sure that a patch does not break Idle makes perfect sense to me. As it turns out, running *any* code from the editor (even empty) works for these patches. Idle compiles the code to a code object *in the Idle process* and if no compile

[issue19494] urllib2.HTTPBasicAuthHandler (or urllib.request.HTTPBasicAuthHandler) doesn't work with GitHub API v3 and similar

2014-10-09 Thread Ian Cordasco
Ian Cordasco added the comment: This behaviour is allowed by the RFC but not encouraged. There's a difference between MUST, SHOULD, and MAY Sending this pre-emptively could well cause unexpected errors for users. Changing the default even in 3.5 will make writing compatible code difficult

[issue18176] Builtins documentation refers to old version of UCD.

2014-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 73a6f121e51a by R David Murray in branch '3.4': #18176: Change generic UCD PropList link to version specific link. https://hg.python.org/cpython/rev/73a6f121e51a New changeset b04b7af14910 by R David Murray in branch 'default': Merge: #18176:

[issue22593] Automate update of doc references to UCD version when it changes.

2014-10-09 Thread R. David Murray
New submission from R. David Murray: As noted by Alexander in issue 18176, we often forget to update the UCD references in the docs when we switch to a new version. That issue added notes to the makeunicodedata script to list the places that need to be changed; however, it would be even

[issue18176] Builtins documentation refers to old version of UCD.

2014-10-09 Thread R. David Murray
R. David Murray added the comment: I changed my mind and decided to fix the PropList reference to also be version specific, since that solves the immediate problem. I opened a new issue for automating the changes, since there are three locations and four URLs, now. --

[issue13340] list.index does not accept None as start or stop

2014-10-09 Thread R. David Murray
R. David Murray added the comment: Per discussion in the issue, I'm changing this to a bugfix on the message text. If the python-dev discussion resulted (or results in the future) in a desire to change the API, that should be a new issue. -- nosy: +r.david.murray stage: commit review

[issue14012] Misc tarfile fixes

2014-10-09 Thread R. David Murray
R. David Murray added the comment: The patch no longer applies again. -- assignee: lars.gustaebel - nosy: +r.david.murray stage: commit review - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14012

[issue5305] imaplib should support international mailbox names

2014-10-09 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: the twisted imap API is problematic for imaplib because twisted seems to expect its arguments to already be Python unicode. Could you elaborate on this? As far as I can tell, it works fine: import twisted.mail.imap4 print uHello,

[issue7061] Improve turtle module documentation

2014-10-09 Thread R. David Murray
R. David Murray added the comment: If there *is* anything left to do here, new issues should be opened. -- nosy: +r.david.murray resolution: accepted - fixed stage: commit review - resolved status: open - closed ___ Python tracker

[issue20167] Exception on IDLE closing

2014-10-09 Thread Rusi
Rusi added the comment: Just confirming: idle 3.4.1-1 on debian testing Start idle3 Open recent file - some file Close file Close interpreter (and idle) Get this Exception ignored in: bound method _ComplexBinder.__del__ of idlelib.MultiCall._ComplexBinder object at 0x7fc53638f4e0 Traceback

[issue22568] Use of utime as variable name in Modules/posixmodule.c causes errors

2014-10-09 Thread Larry Hastings
Larry Hastings added the comment: I remember manually setting/unsetting #defines to force alternate compilation paths. But I think there were one or two that I didn't have library support for (testing on Linux and Windows). -- ___ Python tracker

[issue20167] Exception on IDLE closing

2014-10-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem is the change in the exception message between these two lines can't invoke bind command: application has been destroyed can't invoke bind command: application has been destroyed In your copy of MultiCall.py, line 63-4, change APPLICATION_GONE =

[issue20167] Exception on IDLE closing

2014-10-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset ce0316007b21 by Terry Jan Reedy in branch '3.4': Issue #20167: revise condition to accomodate message change. https://hg.python.org/cpython/rev/ce0316007b21 -- ___ Python tracker rep...@bugs.python.org

[issue20167] Exception on IDLE closing

2014-10-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I verified that problem had returned on Windows as well. It would be good to have a test that would fail if the tcl error message changed again. -- resolution: fixed - stage: needs patch - test needed versions: +Python 3.5

[issue10712] 2to3 fixer for deprecated unittest method names

2014-10-09 Thread R. David Murray
R. David Murray added the comment: I committed this to 2.7 in 9336b470544b but screwed up the copy and paste of the issue number so it didn't auto post. -- nosy: +r.david.murray resolution: - fixed stage: commit review - resolved status: open - closed

[issue20167] Exception on IDLE closing

2014-10-09 Thread Rusi
Rusi added the comment: On Fri, Oct 10, 2014 at 8:46 AM, Terry J. Reedy rep...@bugs.python.org wrote: Terry J. Reedy added the comment: I verified that problem had returned on Windows as well. It would be good to have a test that would fail if the tcl error message changed again.

[issue20167] Exception on IDLE closing

2014-10-09 Thread Rusi
Rusi added the comment: On Fri, Oct 10, 2014 at 8:49 AM, Rustom Mody rustompm...@gmail.com wrote: On Fri, Oct 10, 2014 at 8:46 AM, Terry J. Reedy rep...@bugs.python.org wrote: Terry J. Reedy added the comment: I verified that problem had returned on Windows as well. It would be good to

[issue5305] imaplib should support international mailbox names

2014-10-09 Thread Hiroaki Kawai
Hiroaki Kawai added the comment: the twisted imap API is problematic for imaplib because twisted seems to expect its arguments to already be Python unicode. Could you elaborate on this? As far as I can tell, it works fine: twisted imap4-utf-7 seems to be improved in this 2 years. :-)

[issue17204] argparser's subparsers.add_parser() should accept an ArgumentParser

2014-10-09 Thread paul j3
paul j3 added the comment: In the attached patch I modified 'add_parser' to take a 'parser' keyword parameter. If given, it is used as the parser, rather than create a new one. Thus an existing parser, or one created with a custom ArgumentParser class, could be used as a subparser. In

[issue11694] xdrlib raises ConversionError in inconsistent way

2014-10-09 Thread Petri Lehtinen
Petri Lehtinen added the comment: LGTM -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11694 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20167] Exception on IDLE closing

2014-10-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I know. 3.4.2.rc1 was released over 2 weeks ago and 3.4.2 just yesterday (essentially without change). So you have to delete space again. Since 3.4.1 worked for many people, perhaps you have an ancient version of tk. You can get major/minor number with

<    1   2