[issue24752] SystemError when importing from a non-package directory

2015-07-29 Thread Yongzhi Pan
New submission from Yongzhi Pan: In an empty dir, e.g. Desktop, the following import raises SystemError: >>> from . import foo Traceback (most recent call last): File "", line 1, in SystemError: Parent module '' not loaded, cannot perform relative import The documentation says that SystemErr

[issue22625] When cross-compiling, don’t try to execute binaries

2015-07-29 Thread Martin Panter
Martin Panter added the comment: So is there somewhere that documents how cross compilation is meant to be done? I tried looking at , , and “./configure --help”, but found no hints for cro

[issue22359] Remove incorrect uses of recursive make

2015-07-29 Thread Martin Panter
Changes by Martin Panter : -- stage: commit review -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue22359] Remove incorrect uses of recursive make

2015-07-29 Thread Martin Panter
Martin Panter added the comment: Since finishing committing this to other branches seems to be controversial, it might help resolving the cross compilation problem first. -- dependencies: +When cross-compiling, don’t try to execute binaries stage: -> commit review

[issue22359] Remove incorrect uses of recursive make

2015-07-29 Thread koobs
koobs added the comment: One of the FreeBSD buildbots (koobs-freebsd9) just failed on a 2.7 build due to this issue. Full log attached, as the bug is intermittent and non-deterministic (though appears more likely during high build host loads). This issue no longer 'needs patch' as it has was

[issue13884] IDLE: Remove tear-off menu feature

2015-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: In your online tutorial, your recommend root.option_add('*tearOff', FALSE) Why not here, and be covered everywhere, and in the future? Or is this needed for each Toplevel? -- versions: +Python 3.6 ___ Python tracker

[issue24745] Better default font for editor

2015-07-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- Removed message: http://bugs.python.org/msg247648 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue24745] Better default font for editor

2015-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: In your online tutorial, your recommend root.option_add('*tearOff', FALSE) Why not here, and be covered everywhere, and in the future? Or is this needed for each Toplevel? -- ___ Python tracker

[issue24667] OrderedDict.popitem()/__str__() raises KeyError

2015-07-29 Thread Eric Snow
Eric Snow added the comment: It's starting to look like this is threading-related. There's a single requests.Session defined as a module global in pywikibot.comms.http which is shared by all threads handling requests. requests.Session uses OrderedDict for an LRU cache for redirects. That's

[issue23672] IDLE can crash if file name contains non-BMP Unicode characters

2015-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: _filename_to_unicode returns unicode names as is. In 3.x, are filenames ever not unicode? They come from either a file dialog (via tk, hence unicode), or sys.argv. I do not know about the latter, which is possibly OS-dependent. This function is used in three

[issue15582] Enhance inspect.getdoc to follow inheritance chains

2015-07-29 Thread Martin Panter
Martin Panter added the comment: Merged the current What’s New page in getdoc-news.v2.patch. Is there any interest in applying this? -- stage: resolved -> patch review Added file: http://bugs.python.org/file40062/getdoc-news.v2.patch ___ Python track

[issue24750] IDLE: Cosmetic improvements for main window

2015-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, Mark will be opening several appearance issues (see ttk thread on Idle list). Do you want to be routinely added as nosy to comment? Mark: The description and labeling of the screenshot is a bit off. For Windows, the full window is inactive ([ x ] is not

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2015-07-29 Thread Martin Panter
Martin Panter added the comment: Added versioning notices in port-ValueError.v3.patch. -- Added file: http://bugs.python.org/file40061/port-ValueError.v3.patch ___ Python tracker ___

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2015-07-29 Thread R. David Murray
R. David Murray added the comment: Hmm. Good question. I think it probably does, because it means getting an exception where one did not previously happen. -- ___ Python tracker _

[issue24720] Python install help

2015-07-29 Thread node
node added the comment: Thanks Steve will go to the Acer on Friday see what they say -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue24720] Python install help

2015-07-29 Thread Steve Dower
Steve Dower added the comment: I don't know either. Below I've pasted the part of your log that shows the error and error code - you should contact your support department or (better) search the internet for that error code: [173C:0C0C][2015-07-30T01:45:21]i301: Applying execute package: Windo

[issue24745] Better default font for editor

2015-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: For the benefit of anyone reading the file, I would prefer "font = TkFixedFont", though I notice that LoadFontConfig has a backup default. Just as important, I think: IDLE Preferences => Font/Tabs => Editor Base Font needs a [Default] button so people can unse

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2015-07-29 Thread Martin Panter
Martin Panter added the comment: If we take the 3.6-only path, does that warrant adding “Version changed” notices, and/or a What’s New entry? -- ___ Python tracker ___ _

[issue24720] Python install help

2015-07-29 Thread node
node added the comment: Steve had this installed before, however I uninstall it and ran it again, from the link you provided, below is the result. It now fail to be installed. Truly struggling as to why. [13C0:105C][2015-07-30T01:45:13]i001: Burn v3.7.3813.0, Windows v6.3 (Build 9600: Servi

[issue20580] IDLE should support platform-specific default config defaults

2015-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: While I like the fact that my font choice is used by 3 installed and 4 built pythons, I am beginning to see possible version problems. In #5594 I propose adding a Startup tab to Idle preferences, but doing so will require carefully checking that the correspon

[issue5594] IDLE startup configuration

2015-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue should include any startup configuration, such as making '-s' automatic (see #5233). There is no way to pass that when clicking an icon or selecting 'Open with Idle' on a context menu. At present, the General tab has just 'Open edit window' *or* 'O

[issue24751] regrtest/buildbot: test run marked as failure even when re-run succeeds

2015-07-29 Thread R. David Murray
R. David Murray added the comment: I think option 1 is to be preferred. One of the things we've been talking about for the workflow is gating on the buildbots passing, and the way that works with flaky tests is if the check fails, you just run the test again so you get a green and the patch c

[issue24360] improve argparse.Namespace __repr__ for invalid identifiers.

2015-07-29 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: Thanks for accepting the patch. Looking forward to 3.6 ! :-) -- ___ Python tracker ___ ___ Pyth

[issue24751] regrtest/buildbot: test run marked as failure even when re-run succeeds

2015-07-29 Thread Zachary Ware
New submission from Zachary Ware: The buildbots all run the test suite with the '-w', which re-runs any tests that failed in the main test sequence at a higher verbosity level. More often than not it seems the re-run tests succeed, but the exit code is still 1 so the build is marked as a fail

[issue24745] Better default font for editor

2015-07-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue24109] Documentation for difflib uses optparse

2015-07-29 Thread Berker Peksag
Berker Peksag added the comment: Thanks Keith. -- nosy: +berker.peksag resolution: -> fixed stage: commit review -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker

[issue24109] Documentation for difflib uses optparse

2015-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8777e59a99bd by Berker Peksag in branch '3.5': Issue #24109: Include Tools/scripts/diff.py instead of duplicating it in difflib documentation. https://hg.python.org/cpython/rev/8777e59a99bd New changeset aa2517e9f9ce by Berker Peksag in branch 'def

[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

2015-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I guess the point of automatically reading is that python does also, at least for PYTHONSTARTUP. I don't know Idle is different. However, the main point of this issue is about restarts. -- ___ Python tracker

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2015-07-29 Thread Robert Collins
Robert Collins added the comment: ok, 3.6 only. -- versions: +Python 3.6 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___ __

[issue24750] IDLE: Cosmetic improvements for main window

2015-07-29 Thread Mark Roseman
New submission from Mark Roseman: The screen shot shows the current version of the main IDLE window, with the little pics at the bottom indicating what it looks like when the window loses focus. A few entirely cosmetic changes I'd like to make here: 1. Swap scrollbar for ttk scrollbar; this v

[issue24360] improve argparse.Namespace __repr__ for invalid identifiers.

2015-07-29 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the patch, Matthias. -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ _

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2015-07-29 Thread R. David Murray
R. David Murray added the comment: Because it raises an error where none was raised before, I'd only apply this to 3.6. This is especially true since this issue is not a *bug* report, but a "shouldn't this be more consistent" report. That is, there's no great weight (the OP wasn't even sure

[issue24360] improve argparse.Namespace __repr__ for invalid identifiers.

2015-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset dcc00d9ba8db by Berker Peksag in branch 'default': Issue #24360: Improve __repr__ of argparse.Namespace() for invalid identifiers. https://hg.python.org/cpython/rev/dcc00d9ba8db -- nosy: +python-dev ___ P

[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

2015-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: A new patch is needed to optionally rerun startup stuff (including future imports, see #22893) with ^F6 restarts. I think a combined patch might better be attached to the other issue, where I did some analysis on the changes needed. -- stage: patch rev

[issue5233] IDLE: exec IDLESTARTUP/PYTHONSTARTUP on restart

2015-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Re my comment about handling Shell restarts differently for Shell restart cntlF6 and Run module F5: Python only runs "PYTHONSTARTUP" for interactive move. From the manual: "If this is the name of a readable file, the Python commands in that file are executed

[issue20059] Inconsistent urlparse/urllib.parse handling of invalid port values?

2015-07-29 Thread Robert Collins
Robert Collins added the comment: So, I think this is worth applying. The discussion around :ipp etc is irrelevant here: this patch changes large or negative ints to be a valueerror, as non-ints are. The only question is where. I think this is in the category of 'will only break buggy applica

[issue24747] ctypes silently truncates ints larger than C int

2015-07-29 Thread eryksun
eryksun added the comment: I think the window to change this is closed. Section 16.16.2.7 in the docs states that for c_int "no overflow checking is done". I'm sure there's code that relies on that behavior, just as I'm sure there's code that relies on it for the default conversion. That said

[issue21159] configparser.InterpolationMissingOptionError is not very intuitive

2015-07-29 Thread Robert Collins
Robert Collins added the comment: LGTM - lukasz, do you want to commit this, or would you like someone else to if you're too busy? Looks like we should patch this in 3.4/3.5./3.6 at this point. -- nosy: +rbcollins versions: +Python 3.4, Python 3.6 __

[issue23447] Import fails when doing a circular import involving an `import *`

2015-07-29 Thread Robert Collins
Robert Collins added the comment: Yep: "The issue has no clear solution , e.g., no agreement on a technical solution or if it is even a problem worth fixing." Brett is saying he doesn't consider this a bug. Steven says he doesn't have time to push it forward. Oh, I see there is a patch attach

[issue23144] html.parser.HTMLParser: setting 'convert_charrefs = True' leads to dropped text

2015-07-29 Thread Robert Collins
Robert Collins added the comment: @ezio I think you should commit what you have so far. LGTM. -- nosy: +rbcollins ___ Python tracker ___ _

[issue23447] Import fails when doing a circular import involving an `import *`

2015-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: Languishing? :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue23447] Import fails when doing a circular import involving an `import *`

2015-07-29 Thread Robert Collins
Robert Collins added the comment: reset. -- nosy: +rbcollins resolution: not a bug -> stage: -> needs patch status: closed -> languishing ___ Python tracker ___ ___

[issue24745] Better default font for editor

2015-07-29 Thread Mark Roseman
Mark Roseman added the comment: Quick question how best to represent this in the config-main.def file. My thought is to leave a "font=" line there so that the GetOption call returns an empty string. The editor code can then detect that and substitute TkFixedFont. Would this break anything and

[issue24360] improve argparse.Namespace __repr__ for invalid identifiers.

2015-07-29 Thread Berker Peksag
Changes by Berker Peksag : -- assignee: -> berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Steve Dower
Steve Dower added the comment: It's possible, but that isn't solvable or testable by removing the update. To solve that we need a test and then fix the bug. -- ___ Python tracker __

[issue13884] IDLE: Remove tear-off menu feature

2015-07-29 Thread Mark Roseman
Mark Roseman added the comment: Same changes for 2.7 branch -- Added file: http://bugs.python.org/file40059/tearoff27.patch ___ Python tracker ___ ___

[issue13884] IDLE: Remove tear-off menu feature

2015-07-29 Thread Mark Roseman
Mark Roseman added the comment: As indicated in prior comments, the tearoff menus are strictly a holdover from ancient Motif, and are no longer found in current user interfaces on any platform. Because of that, I would strongly support deleting them altogether, rather than making available a c

[issue23447] Import fails when doing a circular import involving an `import *`

2015-07-29 Thread Mark Lawrence
Mark Lawrence added the comment: Can someone reset the status and open fields, thanks. -- nosy: +BreamoreBoy versions: +Python 3.6 ___ Python tracker ___

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Etienne Fortin
Etienne Fortin added the comment: Is it possible that the C runtime introduced with 2999226, which I believe is the "universal runtime" Microsoft is trying to introduce, modified something that makes importlib break on 3.5??? -- ___ Python tracker

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Steve Dower
Steve Dower added the comment: 3.5 won't work without 2999226 at all, so ignore that. It's the C runtime. -- ___ Python tracker ___ __

[issue24741] Hangs and errors while testing on Ubuntu/Intel

2015-07-29 Thread R. David Murray
R. David Murray added the comment: Let's close it, since we've identified the problem and it is not something we currently support. If someone finds this and wants to work on it they can open a new issue. (It reopened because I had it set to pending...I didn't close it because I thought some

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Etienne Fortin
Etienne Fortin added the comment: The only dll / pyd files I have are all in pywin32. I don't have a build environment for extensions. Can anyone provide me with a very simple extension DLL with at least one exported attribute? -- ___ Python tracker

[issue24741] Hangs and errors while testing on Ubuntu/Intel

2015-07-29 Thread Stefan Krah
Stefan Krah added the comment: Personally I'm happy to run the tests in the foreground. :) BTW, I didn't intend to reopen this one. Shall we close it or do you want to keep it open for improving the test suite? -- ___ Python tracker

[issue23899] HTTP regression in distutils uploads to chishop

2015-07-29 Thread Jason R. Coombs
Jason R. Coombs added the comment: Ultimately, we've decided not to patch chishop nor to address the issue in the stdlib, but instead we've replaced chishop with devpi. -- resolution: -> wont fix status: open -> closed ___ Python tracker

[issue23756] Tighten definition of bytes-like objects

2015-07-29 Thread Stefan Krah
Stefan Krah added the comment: c-contig.v3.patch LGTM. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Etienne Fortin
Etienne Fortin added the comment: At this point I can't say if it's Windows only or if it affect all platform. I can't even guarantee that it will appear on all Windows platform. On my platform (see following), it doesn't work: Windows 7 64 bits with updates 2999226 and 3065987 installed. I c

[issue22141] rlcompleter.Completer matches too much

2015-07-29 Thread Robert Collins
Changes by Robert Collins : -- stage: commit review -> patch review status: pending -> open ___ Python tracker ___ ___ Python-bugs-lis

[issue22141] rlcompleter.Completer matches too much

2015-07-29 Thread R. David Murray
R. David Murray added the comment: I agree with Robert. You'll have to convince me that this is an actual bug. It seems reasonable to me that foobar would be returned in this case...it seems to me it is analogous to what my zsh shell does when I hit tab and there's no exact match but there i

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Petr Viktorin
Petr Viktorin added the comment: Eric or me. I'm not sure I understand the description clearly. Etienne, would it be possible to write a smaller reproducer, that wouldn't be tied to Windows? Or is this Windows-only behavior? -- ___ Python tracker <

[issue22227] Simplify tarfile iterator

2015-07-29 Thread Robert Collins
Robert Collins added the comment: @serhiy could you update the patch with the review feedback? Thanks. Moving back to patch review. Lars hasn't commented on this in a year, so I think we should go ahead once the patch is fixed: e.g. you should update the comments and commit it directly. -

[issue24729] Input and Output tutorial erroneously references default encoding UTF-8

2015-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset c9e78d91d588 by Alessandro Cucci in branch '3.4': Issue #24729: Update tutorial to match implementation. https://hg.python.org/cpython/rev/c9e78d91d588 New changeset 20084be60761 by Jason R. Coombs in branch '3.4': Issue #24729: Correct reference to

[issue24729] Input and Output tutorial erroneously references default encoding UTF-8

2015-07-29 Thread Jason R. Coombs
Jason R. Coombs added the comment: Thanks for working through this Alessandro. I've applied your v3 patch and added a subsequent commit 20084be60761 to correct the open reference. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue20556] Use specific asserts in threading tests

2015-07-29 Thread Robert Collins
Robert Collins added the comment: ping @serhiy - there's a bug in the patch. Moving back to patch review. -- nosy: +rbcollins stage: commit review -> patch review ___ Python tracker

[issue20557] Use specific asserts in io tests

2015-07-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: +1 -- versions: +Python 3.5, Python 3.6 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mail

[issue20557] Use specific asserts in io tests

2015-07-29 Thread Robert Collins
Robert Collins added the comment: @serhiy I think you should apply this: you're a committer, and no committers have objected in over a year. -- nosy: +rbcollins ___ Python tracker _

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Steve Dower
Steve Dower added the comment: I'd rather have our own test pyd that shows a minimal repro of the behavior. Requiring pywin32 for running one test is excessive, won't reveal the issue (if it exists) on other platforms, and is not necessarily going to help someone debug the issue. I agree this

[issue23589] Redundant sentence in FAQ

2015-07-29 Thread Robert Collins
Changes by Robert Collins : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___ __

[issue23589] Redundant sentence in FAQ

2015-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 02f3bf3f74aa by Robert Collins in branch '2.7': Issue #23589: Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan. https://hg.python.org/cpython/rev/02f3bf3f74aa New changeset 941b9c27b8c8 by Robert Collins in branch '3.4': Issue #23589: R

[issue23589] Redundant sentence in FAQ

2015-07-29 Thread Robert Collins
Robert Collins added the comment: @Demian, I agree that there are more improvements we can make. The current patch addresses the specific issue of this bug, and if you wished to make a new issue with further improvements that would be great. I'm going to apply this patch now though. -

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Etienne Fortin
Etienne Fortin added the comment: I suggest the test should use pywin32. The test script could be only: import pywintypes dir(pywintypes) Testing for an attribute that is defined in the DLL would make it pass or fail. -- ___ Python tracker

[issue24729] Input and Output tutorial erroneously references default encoding UTF-8

2015-07-29 Thread Alessandro Cucci
Changes by Alessandro Cucci : Added file: http://bugs.python.org/file40057/issue24729_v4.patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue24729] Input and Output tutorial erroneously references default encoding UTF-8

2015-07-29 Thread Alessandro Cucci
Alessandro Cucci added the comment: ok, this time I tested the render myself and seems ok. For rendering I used sphinx. Sorry if I didn't try the final result in the first time, but I've never had the chance to use rst files before. -- Added file: http://bugs.python.org/file40056/issue

[issue24720] Python install help

2015-07-29 Thread Steve Dower
Steve Dower added the comment: If you download and install the VC++ Redistributable from http://www.microsoft.com/en-us/download/details.aspx?id=48145 then we won't try and run the code that is failing in our installer. If the previous installer fails then you have a configuration error on you

[issue24741] Hangs and errors while testing on Ubuntu/Intel

2015-07-29 Thread R. David Murray
R. David Murray added the comment: We certainly don't regularly test running them that way :) It might be interesting to make it possible, if it doesn't require too many changes to the tests. Excessive swapping seems like an odd symptom; I'm sure the explanation will be interesting if someone

[issue24741] Hangs and errors while testing on Ubuntu/Intel

2015-07-29 Thread Stefan Krah
Stefan Krah added the comment: > $ make test > Go.res3 2>&1 & The test suite does seem to behave poorly when run in the background: I'm getting constant swapping, excessive kworker activity, and indeed, one hang. With nohup prepended at least the tests have finished now. I'm not sure if the te

[issue24692] types.coroutines() idempotence documentation

2015-07-29 Thread Stefan Behnel
Stefan Behnel added the comment: Note that the expected usage is not as a function but as a decorator. That should be stated in the docs as well. IMHO, users should only do two things with whatever the result is: either use it as a Generator (as before), or pass it as an argument to "await". E

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-07-29 Thread Cyd Haselton
Cyd Haselton added the comment: Finally found a hacky fix for the "no module named _struct found"; I copied all Modules/*.cpython-34m.so objects to Lib. Unfortunately I still get a segfault error when test_ctypes is run: [ 83/390/11] test_ctypes Fatal Python error: Segmentation fault Current

[issue24692] types.coroutines() idempotence documentation

2015-07-29 Thread Antoine Pietri
Antoine Pietri added the comment: Lgtm! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Etienne Fortin
Etienne Fortin added the comment: No the behavior only changed for 3.5. 3.4 works just fine. -- ___ Python tracker ___ ___ Python-bugs

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Steve Dower
Steve Dower added the comment: Did the behavior change for 3.4 after the updates? It seems unlikely. Zach's right: we need a test to formally state the expectations here. -- ___ Python tracker

[issue24360] improve argparse.Namespace __repr__ for invalid identifiers.

2015-07-29 Thread R. David Murray
R. David Murray added the comment: If one is going to have a repr at all, I think it should be as accurate as practical. I think this is worthwhile, and favor the existing patch. -- nosy: +r.david.murray ___ Python tracker

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Zachary Ware
Changes by Zachary Ware : -- stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Etienne Fortin
Etienne Fortin added the comment: It is also possible that the root cause is related to Microsoft Windows Update 2999226 and/or 3065987. The behavior was the same between 3.4 and 3.5 on a machine without these updates and is believed to have changed after the install of these updates. ---

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Eric Snow
Eric Snow added the comment: This is most likely related to PEP 489, which changed extension module loading in what was meant to be a backward-compatible way. -- nosy: +brett.cannon, encukou, eric.snow, ncoghlan versions: +Python 3.6 ___ Python track

[issue24749] Which fastest python-mysql connector?

2015-07-29 Thread STINNER Victor
STINNER Victor added the comment: Sorry, the Python bug tracker is not a forum to ask questions. See for example https://www.python.org/community/irc/ -- nosy: +haypo resolution: -> not a bug status: open -> closed ___ Python tracker

[issue24749] Which fastest python-mysql connector?

2015-07-29 Thread nivin
New submission from nivin: Please suggest the fastest python-mysql connector. Our aim is to call procedures and resturn data. -- messages: 247576 nosy: nivin priority: normal severity: normal status: open title: Which fastest python-mysql connector? type: performance versions: Python 2.

[issue23404] 'make touch' does not work with git clones of the source repository

2015-07-29 Thread Berker Peksag
Berker Peksag added the comment: Patch LGTM. Thanks Carol. I will left this issue open in case someone wants to work on a git equivalent of "make touch" as described by Ned in msg235514. -- components: -Devguide nosy: +berker.peksag stage: patch review -> needs patch type: -> enhance

[issue23404] 'make touch' does not work with git clones of the source repository

2015-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset ffbb19026599 by Berker Peksag in branch 'default': Issue #23404: Add a note to clarify that "make touch" only works with a hg clone. https://hg.python.org/devguide/rev/ffbb19026599 -- nosy: +python-dev _

[issue23319] Missing SWAP_INT in I_set_sw

2015-07-29 Thread Meador Inge
Meador Inge added the comment: Thanks for committing this Victor. The patch looked good to me too. Sorry for not getting around to update the tracker. -- ___ Python tracker __

[issue24748] Change of behavior for importlib between 3.4 and 3.5 with DLL loading

2015-07-29 Thread Etienne Fortin
New submission from Etienne Fortin: The pywin32 package use imp.load_dynamic() to load a DLL with Windows specific type. On Python 3.4+ imp.load_dynamic() point to the following code which use the newer importlib module: import importlib.machinery loader = importlib.machinery.E

[issue24266] raw_input + readline: Ctrl+C during search breaks readline

2015-07-29 Thread Martin Panter
Martin Panter added the comment: Readline 7.0 alpha version includes a new “feature” that should help: i. rl_callback_sigcleanup: a new application function that can clean up and unset any state set by readline’s callback mode. Intended to be used after a signal. Patch readline-sigcleanup.p

[issue23319] Missing SWAP_INT in I_set_sw

2015-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 12b353f76447 by Victor Stinner in branch '2.7': Issue #23319: Add Matthieu Gautier to Misc/ACKS https://hg.python.org/cpython/rev/12b353f76447 New changeset 3caa68f55e3e by Victor Stinner in branch '3.4': Issue #23319: Add Matthieu Gautier to Misc/A

[issue23319] Missing SWAP_INT in I_set_sw

2015-07-29 Thread STINNER Victor
STINNER Victor added the comment: Thanks for your report, patch and unit test Matthieu. I rewrote the unit test because your layout was too complex for my little brain :-) I also write a unit test for little endian. I applied your fix to Python 2.7, 3.4, 3.5 and 3.6. -- nosy: +haypo re

[issue23319] Missing SWAP_INT in I_set_sw

2015-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 88f2c4f12b56 by Victor Stinner in branch '2.7': Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch https://hg.python.org/cpython/rev/88f2c4f12b56 -- ___ Python tracker

[issue23319] Missing SWAP_INT in I_set_sw

2015-07-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 935ae7f001e3 by Victor Stinner in branch '3.4': Issue #23319: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch https://hg.python.org/cpython/rev/935ae7f001e3 -- nosy: +python-dev ___ Python trac

[issue24747] ctypes silently truncates ints larger than C int

2015-07-29 Thread Petr Viktorin
Petr Viktorin added the comment: Originally found here: https://bugzilla.redhat.com/show_bug.cgi?id=1244261 -- ___ Python tracker ___

[issue24747] ctypes silently truncates ints larger than C int

2015-07-29 Thread Petr Viktorin
New submission from Petr Viktorin: A Python int larger than a C int but smaller than a C long is silently truncated to int when passed to a ctypes function without C type information attached. Ints longer than C long fail with an OverflowError; I believe the same should happen for numbers tha

[issue24039] Idle: some modal dialogs maximize, don't minimize

2015-07-29 Thread Vivek
Vivek added the comment: The bug is also not reproducible in my Ubuntu 14.04 64 bit system with python 3.4.But can be reproduced on my Windows7 and Windows8 systems.This seems to be a Windows specific issue. Terry, thanks for the advice. I will take care next time :). --

[issue17991] ctypes.c_char gives a misleading error when passed a one-character unicode string

2015-07-29 Thread STINNER Victor
Changes by STINNER Victor : -- superseder: -> Remove unsupported code from ctypes ___ Python tracker ___ ___ Python-bugs-list mailing

[issue23556] Scope for raise without argument is different in Python 2 and 3

2015-07-29 Thread Martin Panter
Martin Panter added the comment: Here is a patch for Python 3. The re-raise behaviour reported by Antoine is already tested in test_raise.TestRaise.test_except_reraise(). My patch also clarifies some details about how __context__ is set: * Context is the exception being handled, not necessaril

  1   2   >