[issue24558] shutil.copytree with symlinks=True opens vulnerabilities

2015-07-03 Thread SpaceOne
New submission from SpaceOne: shutil.copytree(src, dst, symlink=True) destroys file system permissions and open security issues. See the following python/bash session: # ls -l /etc/shadow -rw-r- 1 root shadow 1114 May 8 19:10 /etc/shadow # su foobar $ ln -s /etc/shadow exit # python -c

[issue24557] Refactor LibreSSL / EGD detection

2015-07-03 Thread koobs
Changes by koobs koobs.free...@gmail.com: -- components: +Build, Library (Lib) keywords: +easy, needs review nosy: +koobs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24557 ___

[issue24559] online Python docs scroll in a godawful ugly fashion

2015-07-03 Thread Gino Lee
Gino Lee added the comment: This is most noticeable when you scroll toward the bottom of the document -- you can see the left panel jerkily repositioning itself in a most abrupt fashion. -- ___ Python tracker rep...@bugs.python.org

[issue24558] shutil.copytree with symlinks=True opens vulnerabilities

2015-07-03 Thread SpaceOne
SpaceOne added the comment: argh. sorry. I did not read the following lines in my environment which caused this by a recursive chown. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue24558] shutil.copytree with symlinks=True opens vulnerabilities

2015-07-03 Thread R. David Murray
R. David Murray added the comment: I don't understand your workaround (how is that different from just using the default value of symlinks?) It sounds like what you are reporting is that copystat is incorrectly setting permissions on a file a symlink points to instead of on the symlink itself

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Steve Dower
Steve Dower added the comment: I assume we use svn+ssh:// for this? I can't ssh into svn.python.org with my usual key, so I'm guessing it needs to be set up on there. Who is best to contact about that? -- ___ Python tracker rep...@bugs.python.org

[issue24560] codecs.StreamReader doesn't work with nonblocking streams: TypeError: can't concat bytes to NoneType

2015-07-03 Thread yac
New submission from yac: File /usr/lib64/python3.4/codecs.py, line 490, in read data = self.bytebuffer + newdata TypeError: can't concat bytes to NoneType if size 0: newdata = self.stream.read() else: newdata = self.stream.read(size)

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Zachary Ware
Zachary Ware added the comment: Not yet and yes :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24432 ___ ___ Python-bugs-list mailing list

[issue24559] online Python docs scroll in a godawful ugly fashion

2015-07-03 Thread Gino Lee
New submission from Gino Lee: Example: https://docs.python.org/2/library/re.html# If you start scrolling down, the left panel updates in a horribly jerky and ugly fashion. It's distracting, annoying, and it makes the site look very amateurishly constructed. At the very least, just keep the

[issue24559] online Python docs scroll in a godawful ugly fashion

2015-07-03 Thread Stefan Krah
Changes by Stefan Krah ste...@bytereef.org: -- nosy: -skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24559 ___ ___ Python-bugs-list mailing

[issue24546] sequence index bug in random.choice

2015-07-03 Thread R. David Murray
R. David Murray added the comment: OK, so we don't know what caused the OPs original problem, and at the moment we don't have enough info to figure it out. Serge, you'll have to find some way to get more information on exactly what is failing in order for this issue to make progress.

[issue23974] random.randrange() biased output

2015-07-03 Thread Christopher Gurnee
Christopher Gurnee added the comment: Option 3 of course wasn't my first choice (given how small the patch is and how minimal its potential negative impact), but it's certainly better than allowing an issue to linger in limbo. Thank you, all. --

[issue24555] Python logic error when deal with re and muti-threading

2015-07-03 Thread R. David Murray
R. David Murray added the comment: If you re-post your bug information in a plain text and/or test program format it might get faster attention. -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24555

[issue24543] Configure script wrongly detects x64/x87/mc68881 with -flto option passed

2015-07-03 Thread Stefan Krah
Stefan Krah added the comment: Fixed in 2.7, 3.5 and default. Thanks everyone for the comments. -- assignee: - skrah components: +Build resolution: - fixed stage: - resolved status: open - closed type: - compile error versions: +Python 3.4, Python 3.5

[issue24558] shutil.copytree with symlinks=True opens vulnerabilities

2015-07-03 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- resolution: rejected - not a bug stage: - resolved ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24558 ___

[issue24559] online Python docs scroll in a godawful ugly fashion

2015-07-03 Thread Stefan Krah
Stefan Krah added the comment: Could you perhaps rephrase this bug report? -- nosy: +skrah resolution: - not a bug stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24559

[issue24559] online Python docs scroll in a godawful ugly fashion

2015-07-03 Thread R. David Murray
R. David Murray added the comment: This scrolling behavior has been in place for quite some time without other complaints. I think perhaps your browser is broken :) -- nosy: +ezio.melotti, r.david.murray ___ Python tracker rep...@bugs.python.org

[issue24557] Refactor LibreSSL / EGD detection

2015-07-03 Thread Bernard Spil
New submission from Bernard Spil: LibreSSL added a define OPENSSL_NO_EGD to their headers in version 2.2.0 in line with the defines of the other removed features. These patches remove detection of RAND_egd from configure and replace the detection in the source code. -- messages:

[issue24558] shutil.copytree with symlinks=True opens vulnerabilities

2015-07-03 Thread SpaceOne
SpaceOne added the comment: my workaround is: import os.path def ignore(src, names): return [name for name in names if os.path.islink(os.path.join(src, name))] shutil.copytree(src, dst, ignore=ignore) -- ___ Python tracker rep...@bugs.python.org

[issue24543] Configure script wrongly detects x64/x87/mc68881 with -flto option passed

2015-07-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2a3c0ad52b99 by Stefan Krah in branch '2.7': Issue #24543: Use AC_LINK instead of AC_COMPILE in order to prevent false https://hg.python.org/cpython/rev/2a3c0ad52b99 -- ___ Python tracker

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: For SVN access, I think it's probably Martin or perhaps Benjamin. Apparently svn.python.org still lives on the old Europe-based infrastructure... Perhaps it would be good to switch the externals repo to hg, actually? --

[issue24400] Awaitable ABC incompatible with functools.singledispatch

2015-07-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset cb1aafc9ad7e by Yury Selivanov in branch '3.5': Issue #24400: Resurrect inspect.isawaitable() https://hg.python.org/cpython/rev/cb1aafc9ad7e New changeset a14f6a70d013 by Yury Selivanov in branch 'default': Merge 3.5 (Issue #24400)

[issue24524] python crash using Tkinter

2015-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Will not accept superseder -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24524 ___ ___ Python-bugs-list

[issue24524] python crash using Tkinter

2015-07-03 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- superseder: - tkinter: alloc: invalid block: after askopenfilename ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24524 ___

[issue22810] tkinter: alloc: invalid block: after askopenfilename

2015-07-03 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- nosy: +tomnor ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22810 ___ ___ Python-bugs-list

[issue24555] Python logic error when deal with re and muti-threading

2015-07-03 Thread bee13oy
bee13oy added the comment: #Python logic error when deal with re and muti-threading ##Bug Description When use re and multi-threading it will trigger the bug. Bug type: `Logic Error` Test Enviroment: * `Windows 7 SP1 x64 + python 3.4.3` * `Linux kali 3.14-kali1-amd64 +

[issue24524] python crash using Tkinter

2015-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows 7, no problem on either 2.7.10 or 3.5.0b2 (running from Command Prompt so would see message is there were one). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24524

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Larry Hastings
Larry Hastings added the comment: I just wanna say, thanks everybody for tackling this. Here's hoping it makes it into 3.5 beta 3! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24432

[issue24400] Awaitable ABC incompatible with functools.singledispatch

2015-07-03 Thread Yury Selivanov
Yury Selivanov added the comment: I think we should add inspect.isawaitable(), and have it pass for *anything* that can be used in an await expression (whether that's by implementing the Awaitable protocol, or due to special casing at the interpreter level). I agree. I've committed the

[issue24518] json.dumps should accept key function for ``sort_keys``

2015-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Catherine, if you are going to continue contributing patches, which we hope you do, please sign the PSF Contribution Agreement. https://www.python.org/psf/contrib/ https://www.python.org/psf/contrib/contrib_form/ It would be needed if this patch were to be

[issue24561] [VS2013] Py_InitializeEx causes fatal error being from winnt-service

2015-07-03 Thread Vitaly Murashev
New submission from Vitaly Murashev: [Affects Windows only] Brief description (after analysis in debugger): Py_InitializeEx fails inside internal call: 1. if (initstdio() 0) Py_FatalError( Py_Initialize: can't initialize sys standard streams); 2. inside initstdio():

[issue22810] tkinter: alloc: invalid block: after askopenfilename

2015-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tomas Nordin reported on #24524 (will close as dup) that a similar script crashes python 2.7.9 on Linux debian. -- nosy: +terry.reedy versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org

[issue24561] [VS2013] Py_InitializeEx causes fatal error being from winnt-service

2015-07-03 Thread Vitaly Murashev
Vitaly Murashev added the comment: patch suggested -- keywords: +patch Added file: http://bugs.python.org/file39854/pythonrun.c.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24561 ___

[issue24561] [VS2013] Py_InitializeEx causes fatal error being called from winnt-service

2015-07-03 Thread Vitaly Murashev
Changes by Vitaly Murashev murashev_vit...@mail.ru: -- title: [VS2013] Py_InitializeEx causes fatal error being from winnt-service - [VS2013] Py_InitializeEx causes fatal error being called from winnt-service ___ Python tracker

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Zachary Ware
Zachary Ware added the comment: Antoine Pitrou added the comment: For SVN access, I think it's probably Martin or perhaps Benjamin. Benjamin was the one who set up my access. Perhaps it would be good to switch the externals repo to hg, actually? Moving away from svn.python.org has been on

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Steve Dower
Steve Dower added the comment: The advantage of svn for externals is that nobody needs the history and most people don't need a full enlistment. A hg setup should probably be one repo per project per version, and I'm not sure that's a great idea. --

[issue24524] python crash using Tkinter

2015-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: This should be closed as duplicate of #22810. Tracker malfunctioning right now. -- nosy: +terry.reedy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24524

[issue24555] Python logic error when deal with re and muti-threading

2015-07-03 Thread Matthew Barnett
Matthew Barnett added the comment: Your regex is a pathological case: it suffers from catastrophic backtracking and can take a long time to finish. The other problem is that the re module never releases the GIL, so while it's performing the search in the low-level C code, other Python threads

[issue24520] Stop using deprecated floating-point environment functions on FreeBSD

2015-07-03 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +mark.dickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24520 ___ ___ Python-bugs-list

[issue14458] Non-admin installation fails

2015-07-03 Thread Mark Mikofski
Mark Mikofski added the comment: Anyone still following this issue, as I posted in issue22516, there is an embeddable zipped version of Python-2.7.X built from source using the PCbuild batch files and vc90 toolset for both x86 and x64 called Python Bootstrap:

[issue24458] Documentation for PEP 489

2015-07-03 Thread Eric Snow
Eric Snow added the comment: What is the level of impact of the callback problem? Of the 4 scenarios in [1], it seems to me like #1 (C callbacks w/o a module reference) would be the most common. However, can't that be addressed by adjusting the API, so it would only be a big problem in the

[issue24458] Documentation for PEP 489

2015-07-03 Thread Eric Snow
Eric Snow added the comment: Sorry I didn't get a review in before. Since subinterpreters and multi-phase initialization are on my mind, I have a couple questions: Should there be a note in the Single-phase initialization section (perhaps at the top of the section) that encourages use of

[issue24561] [VS2013] Py_InitializeEx causes fatal error being from winnt-service

2015-07-03 Thread Vitaly Murashev
Vitaly Murashev added the comment: More details: previously Python3.4.3 was compiled in my environment using compiler from VisualStudio-2005 and everything worked well. The crash has come right after changing compiler to the one from VisualStudio-2013 So something definitely changed inside

[issue24524] python crash using Tkinter

2015-07-03 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - duplicate stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24524 ___

[issue22810] tkinter: alloc: invalid block: after askopenfilename

2015-07-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- type: enhancement - crash ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22810 ___ ___

[issue24553] improve test coverage for subinterpreters

2015-07-03 Thread Nick Coghlan
Nick Coghlan added the comment: Sorry about the misleading reference to tracemalloc in my email - it was actually test_atexit I was debugging in the PEP 432 branch. tracemalloc only came up in that context because test.support.run_in_subinterp() automatically skips subinterpreter tests when

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2c

2015-07-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6fd63f0a0026 by Steve Dower in branch '3.4': Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. https://hg.python.org/cpython/rev/6fd63f0a0026 New changeset ebc8559b2e57 by Steve Dower in branch '3.5': Issue #24432: Update Windows builds to

[issue24525] [doc] missing word

2015-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Fix is to 2.7 specific note about not using stuff not exposed in 3.x. -- nosy: +terry.reedy resolution: - fixed stage: - resolved status: open - closed type: enhancement - behavior ___ Python tracker

[issue24525] [doc] missing word

2015-07-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 25985b0c4dbf by Terry Jan Reedy in branch '2.7': Issue #24525: Add missing word. Patch by Vincent Legoll. https://hg.python.org/cpython/rev/25985b0c4dbf -- nosy: +python-dev ___ Python tracker

[issue24563] Encoding declaration: doc supported encodings

2015-07-03 Thread Terry J. Reedy
New submission from Terry J. Reedy: The source .rst for https://docs.python.org/3/reference/lexical_analysis.html#encoding-declarations has at the end: .. XXX there should be a list of supported encodings. While I believe this is impractical, there could be a link to

[issue11245] Implementation of IMAP IDLE in imaplib?

2015-07-03 Thread R. David Murray
R. David Murray added the comment: By the way, the pierslauder id points to 'pierslau...@users.sourceforge.net'. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11245 ___

[issue22810] tkinter: alloc: invalid block: after askopenfilename

2015-07-03 Thread Roch Guillot
Changes by Roch Guillot rochsilver...@gmail.com: -- type: behavior - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22810 ___ ___

[issue24400] Awaitable ABC incompatible with functools.singledispatch

2015-07-03 Thread Ben Darnell
Ben Darnell added the comment: I don't think operator.getfuture() is possible because there are multiple ways of turning an awaitable into a Future. asyncio has one way; tornado has another. -- ___ Python tracker rep...@bugs.python.org

[issue24400] Awaitable ABC incompatible with functools.singledispatch

2015-07-03 Thread Nick Coghlan
Nick Coghlan added the comment: My hypothetical operator.getfuture() would be a functional spelling of what an await expression does to retrieve a future from an awaitable object. Whether that's actually useful is an open question, hence deferring the idea to 3.6 at the earliest :) --

[issue24531] please document that no code preceding encoding declaration is allowed

2015-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I moved the existing comment-only sentence to the first paragraph, where I strongly believe it belongs, and added a second about the first. (PS I opened #24563 to address the xxx visible in the patch.) -- keywords: +patch nosy: +terry.reedy stage:

[issue11245] Implementation of IMAP IDLE in imaplib?

2015-07-03 Thread R. David Murray
R. David Murray added the comment: Thanks, Piers! Sorry for dropping off the map on this, I've been busy. I'll post to python-dev about this and see how the community would like to proceed. -- ___ Python tracker rep...@bugs.python.org

[issue24561] [VS2013] Py_InitializeEx causes fatal error being called from winnt-service

2015-07-03 Thread Steve Dower
Steve Dower added the comment: See #17797 -- resolution: - duplicate status: open - closed superseder: - Visual C++ 11.0 reports fileno(stdin) == 0 for non-console program ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24561

[issue24553] improve test coverage for subinterpreters

2015-07-03 Thread Eric Snow
Eric Snow added the comment: FTR, subinterpreters are already accessible during testing with _testcapi.run_in_subinterp(). * https://hg.python.org/cpython/file/09b223827f63/Modules/_testcapimodule.c#l2615 That function is used here: * Lib/test/test_threading.py *

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: It turns out I have access to the machine: Steve's key is already enabled in the pythondev account. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24432

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Zachary Ware
Zachary Ware added the comment: Sure, can do. I already have a test running on 3.4 as well. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24432 ___

[issue24562] ntpath splitdrive fails on line 161: tuple has no attribute 'replace'

2015-07-03 Thread Dan Zemke
New submission from Dan Zemke: Traceback was: File \drzblobio.py, line 70, in load full_read_path = os.path.join(read_path, fname) File C:\Python34\lib\ntpath.py, line 110, in join p_drive, p_path = splitdrive(p) File C:\Python34\lib\ntpath.py, line 161, in splitdrive normp =

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Steve Dower
Steve Dower added the comment: Just spotted that. How about I kick off 3.5 and 2.7 with the old build files to test and you get 3.6 and 2.7 new? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24432

[issue24562] ntpath splitdrive fails on line 161: tuple has no attribute 'replace'

2015-07-03 Thread Dan Zemke
Dan Zemke added the comment: Sorry. I just figured that out. Thank you! On Fri, 7/3/15, R. David Murray rep...@bugs.python.org wrote: Subject: [issue24562] ntpath splitdrive fails on line 161: tuple has no attribute 'replace' To: ze...@yahoo.com

[issue22810] tkinter: alloc: invalid block: after askopenfilename

2015-07-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows 7, no problem on either 2.7.10 or 3.5.0b2 (running from Command Prompt so would see message is there were one). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22810

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2c

2015-07-03 Thread Zachary Ware
Zachary Ware added the comment: Would you like to check it in on all branches? I'm about to be separated from my computer for a while. -- title: Upgrade windows builds to use OpenSSL 1.0.2b - Upgrade windows builds to use OpenSSL 1.0.2c ___ Python

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2c

2015-07-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset c49d2ea5e48a by Steve Dower in branch '2.7': Issue #24432: Update Windows builds to use OpenSSL 1.0.2c. https://hg.python.org/cpython/rev/c49d2ea5e48a -- ___ Python tracker rep...@bugs.python.org

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2c

2015-07-03 Thread Steve Dower
Changes by Steve Dower steve.do...@microsoft.com: -- resolution: - fixed stage: needs patch - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24432 ___

[issue24553] improve test coverage for subinterpreters

2015-07-03 Thread Eric Snow
Eric Snow added the comment: Now I'm wondering what further test coverage we really need... -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24553 ___

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Steve Dower
Steve Dower added the comment: I've emailed Benjamin, but I'm not sure when he was getting back. If I'm blocked on this then I guess Zach will have to do it again. I got as far as building and testing for 3.5 without any issues. But if I can't check in to the repository then there's not much

[issue24458] Documentation for PEP 489

2015-07-03 Thread Petr Viktorin
Petr Viktorin added the comment: Verifying modules to work ith subinterpreters is tricky. What level of assurance do you want? Subinterpreters themselves require that you embed Python, which doesn't lend itself to an easy example. I hope 2.6 makes the situation better. Example code is in

[issue24553] improve test coverage for subinterpreters

2015-07-03 Thread Eric Snow
Eric Snow added the comment: Also, I was mistaken about test_tracemalloc. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24553 ___ ___

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Zachary Ware
Zachary Ware added the comment: Steve: what username did you use? Try svn+ssh://python...@svn.python.org/external I'm having to set things up in a new-since-last-time VM to be able to do it, so if that works before I get it done, go for it. --

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Steve Dower
Steve Dower added the comment: Agreed. Build and obviously related tests are fine. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24432 ___ ___

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2c

2015-07-03 Thread Steve Dower
Steve Dower added the comment: Sure, I'll get it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24432 ___ ___ Python-bugs-list mailing list

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread R. David Murray
R. David Murray added the comment: Because svn is still on the old infrastructure, it is quite possible Steve's key didn't get added to pythondev's key list. There might be someone else on infrastructure who could add it, if Benjamin isn't available. -- nosy: +r.david.murray

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Zachary Ware
Zachary Ware added the comment: Already have the source checked in on svn.python.org -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24432 ___

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Steve Dower
Steve Dower added the comment: Yep, Benjamin added it about half an hour ago :) Should have this done fairly soon. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24432 ___

[issue24562] ntpath splitdrive fails on line 161: tuple has no attribute 'replace'

2015-07-03 Thread R. David Murray
R. David Murray added the comment: This error is raised because you called os.path.join incorrectly (with a tuple as one of the arguments). -- nosy: +r.david.murray resolution: - not a bug stage: - resolved status: open - closed type: crash - behavior

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Zachary Ware
Zachary Ware added the comment: It all seems to work (no new failures). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24432 ___ ___

[issue11582] Boilerplate code replaced in Python/ceval.c

2015-07-03 Thread A.M. Kuchling
A.M. Kuchling added the comment: Closing, because neither Amaury nor Raymond likes the idea. Thanks for your work, anyway! -- nosy: +akuchling resolution: - rejected stage: - resolved status: open - closed ___ Python tracker

[issue24432] Upgrade windows builds to use OpenSSL 1.0.2b

2015-07-03 Thread Tim Golden
Tim Golden added the comment: Zach, is there a write-up in the devguide for how to do this? And/or could you send me the same email, please? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24432

[issue24325] Speedup types.coroutine()

2015-07-03 Thread Stefan Behnel
Stefan Behnel added the comment: the undecorated form will never be visible to any code other than the decorator Assuming that 1) it's the first and/or only decorator, 2) it's used to decorate a generator function that returns its own generator and 3) it's really used as a decorator and not

[issue24553] improve test coverage for subinterpreters

2015-07-03 Thread Nick Coghlan
Nick Coghlan added the comment: There are some basic tests in test_capi as well: * https://hg.python.org/cpython/file/09b223827f63/Lib/test/test_capi.py#l344 * https://hg.python.org/cpython/file/default/Programs/_testembed.c -- ___ Python tracker

[issue24400] Awaitable ABC incompatible with functools.singledispatch

2015-07-03 Thread Nick Coghlan
Nick Coghlan added the comment: might be useful in the future is an API design red flag that suggests to me we may not know what good looks like here yet. At the same time, we need something Tornado et al can use to accept the can be used with await expressions, but doesn't implement the

[issue24325] Speedup types.coroutine()

2015-07-03 Thread Mark Shannon
Mark Shannon added the comment: Does this have a measurable performance impact? I'd be surprised if it did. W.r.t. to profiling, the undecorated form will never be visible to any code other than the decorator, so won't show up in the profiler. -- nosy: +Mark.Shannon

[issue24098] Multiple use after frees in obj2ast_* methods

2015-07-03 Thread paul
paul added the comment: ping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24098 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24407] Use after free in PyDict_merge

2015-07-03 Thread paul
paul added the comment: ping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24407 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24103] Use after free in xmlparser_setevents (1)

2015-07-03 Thread paul
paul added the comment: ping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24103 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24104] Use after free in xmlparser_setevents (2)

2015-07-03 Thread paul
paul added the comment: ping -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24104 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24458] Documentation for PEP 489

2015-07-03 Thread Petr Viktorin
Petr Viktorin added the comment: Thanks for the review. I've added the explanation you suggested, and I've made the names monospace (or linked them, where it seemed appropriate). I've also marked *NULL*s like in the rest of the doc. -- Added file:

[issue24400] Awaitable ABC incompatible with functools.singledispatch

2015-07-03 Thread Nick Coghlan
Nick Coghlan added the comment: Sorry, I forgot to state my main conclusion in comparing the consequences of adding inspect.isawaitable vs adding an API specifically for checking isn't Awaitable, but can be used in an await expression: I think we should add inspect.isawaitable(), and have

[issue24555] Python logic error when deal with re and muti-threading

2015-07-03 Thread bee13oy
New submission from bee13oy: Bug 0x01 is the main problem. t.start() t.join(timeout) In normal case, I run a while() in sub-thread, the main thread will get the control of the program after the sub-thread is timed out. But, in our POC, even the sub-thread timed out, the main thread still can't

[issue24400] Awaitable ABC incompatible with functools.singledispatch

2015-07-03 Thread Stefan Behnel
Stefan Behnel added the comment: 1. abc.Coroutine and abc.Awaitable will guarantee that objects that implement them have '__await__' and it's safe to access it (that means that they will fail for generator-based coroutines). Absolutely. That was the main theme behind the whole type split.

[issue24400] Awaitable ABC incompatible with functools.singledispatch

2015-07-03 Thread Yury Selivanov
Yury Selivanov added the comment: If you want to cover the iterable coroutine case, why not add an inspect helper function for that? That's clearly a concrete type (even more concrete than a concrete type) that can be inspected. Because I view iterable coroutines as a temporary, transitional

[issue24325] Speedup types.coroutine()

2015-07-03 Thread Stefan Behnel
Stefan Behnel added the comment: This is not purely about speeding up the code. It's also about avoiding to replace the code object of a function, which is essentially a big and clumsy hack only to achieve setting a flag. Some tools, namely line_profiler, use the current code object as a dict

[issue24458] Documentation for PEP 489

2015-07-03 Thread Petr Viktorin
Petr Viktorin added the comment: Yes! Aside from the callback problem, which is left for another PEP, but limits PEP 489 usefulness in the real world :( It turns out that one is quite a rabbit hole. I'll post my findings on that soon-ish. -- ___

[issue24556] Getopt overwrites variables unexpectedly

2015-07-03 Thread Jak
New submission from Jak: The getopt library has, what I assume is, some unexpected behaviour when adding extra text to command line parameter that getopt expects as a flag. Using input parameters a, b and c as an example below, where a and b both take values and c is a flag. Example code:

[issue24458] Documentation for PEP 489

2015-07-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset bad92d696866 by Nick Coghlan in branch '3.5': Close #24458: PEP 489 documentation https://hg.python.org/cpython/rev/bad92d696866 New changeset 86daa37c1cc9 by Nick Coghlan in branch 'default': Merge fix for #24458 from 3.5

[issue24458] Documentation for PEP 489

2015-07-03 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks and, as you can see, merged :) Am I correct in thinking these docs were the only item remaining for PEP 489? -- resolution: fixed - stage: resolved - status: closed - open ___ Python tracker

[issue24554] GC should happen when a subinterpreter is destroyed

2015-07-03 Thread Graham Dumpleton
Graham Dumpleton added the comment: That GC happens on an object in the wrong interpreter in this case is the problem as it can result in used code execution against the wrong interpreter context. If you are saying this can happen anytime in the life of a sub interpreter and not just in this

  1   2   >