[issue22895] test failure introduced by the fix for issue #22462

2014-11-22 Thread Éric Araujo
Éric Araujo added the comment: What about using “not sysconfig.is_python_build()”? -- nosy: +eric.araujo ___ Python tracker ___ ___ Py

[issue22919] Update PCBuild for VS 2015

2014-11-22 Thread Steve Dower
Steve Dower added the comment: Pushed some changes based on Zach's feedback and added a new complete patch (minus the deletion of the PC/VS9.0 and PC/VS10.0 folders). -- Added file: http://bugs.python.org/file37251/cpython_93607_to_93616.diff ___ Pyt

[issue22918] Doc for __iter__ makes inexact comment about dict.__iter__

2014-11-22 Thread R. David Murray
R. David Murray added the comment: Ah, I see. So the python3 docs should say "and should be equivalent to iter(dict.keys())" ? Or maybe the whole phrase should just be dropped. -- ___ Python tracker

[issue22915] sax.parser cannot get xml data from a subprocess pipe

2014-11-22 Thread R. David Murray
R. David Murray added the comment: Has anyone investigated what exactly sax uses SystemId/SetBase *for*? I think think we need that info in order to decide what to do, and I'm not familiar with sax. -- ___ Python tracker

[issue22921] SSLContext's check_hostname needlessly intertwined with SNI

2014-11-22 Thread Donald Stufft
New submission from Donald Stufft: The SSLContext().wrap_socket() method allows you to pass in a server_hostname option which will be used for two purposes, it will be used as the server name for SNI and it will be used to verify the server name of the certificate. However currently if the Ope

[issue22918] Doc for __iter__ makes inexact comment about dict.__iter__

2014-11-22 Thread Éric Araujo
Éric Araujo added the comment: The Python 2 doc is alright, the same line says that d.__iter__() is equivalent to d.iterkeys(). -- ___ Python tracker ___ ___

[issue22917] Calculating problem

2014-11-22 Thread heme
heme added the comment: Thank you I understand that it is not always that you see what you get (GW basic has shurely cut off the big precision, and Python doesnt, so I see the small difference. I will take care of thinking of it next time! Sorry for any inconvience. brg Henning Mark Law

[issue22919] Update PCBuild for VS 2015

2014-11-22 Thread Steve Dower
Steve Dower added the comment: Fixed and pushed a minor issue with debug builds - I wasn't setting the 'g' suffix on the tcltk libs correctly. -- ___ Python tracker ___

[issue22919] Update PCBuild for VS 2015

2014-11-22 Thread Martin Dengler
Changes by Martin Dengler : -- nosy: +mdengler ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue22917] Calculating problem

2014-11-22 Thread Mark Lawrence
Mark Lawrence added the comment: https://docs.python.org/3/tutorial/floatingpoint.html -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue22917] Calculating problem

2014-11-22 Thread heme
heme added the comment: Hi SilentGhost Thanx for a quick response. Sorry to hear that it is not a bug, my old GW basic interpretor from 1988 has no problem with this simple calculation (123.56 - 62.12 = 61.44) but my new Python interpreter cannot give me a correct answer. Yes, I know about

[issue22915] sax.parser cannot get xml data from a subprocess pipe

2014-11-22 Thread Jocelyn
Jocelyn added the comment: Forgot to attach the testcase when opening the bug. -- Added file: http://bugs.python.org/file37250/toto.py ___ Python tracker ___

[issue22915] sax.parser cannot get xml data from a subprocess pipe

2014-11-22 Thread Jocelyn
Jocelyn added the comment: Here is a patch to add a test to test_sax.py. I'm not sure on the fix. Is the following one a correct one ? def prepareParser(self, source): if source.getSystemId() is not None: -self._parser.SetBase(source.getSystemId()) +self._p

[issue22918] Doc for __iter__ makes inexact comment about dict.__iter__

2014-11-22 Thread R. David Murray
R. David Murray added the comment: They aren't equivalent in python2, either. I think probably the wording should be changed to something like "and the method keys() should return an iterable that provides access to the same data". -- nosy: +r.david.murray ___

[issue22916] Interpreter segfault on attempted tab complete

2014-11-22 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue22919] Update PCBuild for VS 2015

2014-11-22 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: +BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue14010] deeply nested filter segfaults

2014-11-22 Thread Ethan Furman
Ethan Furman added the comment: >From Terry Reedy in issue22920: -- Ian Kelly (python-list, version unspecified) got "Segmentation fault (core dumped)". With 2.7, 3.4.2, 3.5, I get same in interactive interpreter, the Windows "python has stopped working" box from co

[issue22920] Crash with itertools.chain.from_iterable

2014-11-22 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman resolution: -> duplicate status: open -> closed superseder: -> deeply nested filter segfaults ___ Python tracker ___ __

[issue22920] Crash with itertools.chain.from_iterable

2014-11-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: Crash with itertools -> Crash with itertools.chain.from_iterable ___ Python tracker ___ ___ Pyth

[issue22919] Update PCBuild for VS 2015

2014-11-22 Thread Steve Dower
Steve Dower added the comment: Oh, one other thing I just thought of: the current release of nmake (in VS 2015) has a regression that will make TCL and TK fail to build, but I have a workaround for their makefile. OpenSSL also had a problem with VC14 but their fix isn't in the build we've got

[issue22920] Crash with itertools

2014-11-22 Thread Terry J. Reedy
New submission from Terry J. Reedy: import itertools l = [] it = itertools.chain.from_iterable(l) l.append(it) next(it) Ian Kelly (python-list, version unspecified) got "Segmentation fault (core dumped)". With 2.7, 3.4.2, 3.5, I get same in interactive interpreter, the Windows "python has st

[issue22920] Crash with itertools

2014-11-22 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22916] Interpreter segfault on attempted tab complete

2014-11-22 Thread eryksun
eryksun added the comment: This isn't a bug in Python or tab completion. You can reproduce the fault by referencing s.transformable twice and then deleting both references. The getter for TransformableDrawable.transformable calls wrap_transformable to create a wrapper for the underlying C++ o

[issue22919] Update PCBuild for VS 2015

2014-11-22 Thread Steve Dower
Changes by Steve Dower : Added file: http://bugs.python.org/file37247/projects_full.diff ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue22919] Update PCBuild for VS 2015

2014-11-22 Thread Steve Dower
New submission from Steve Dower: I've basically finished the core of the work to refresh the PCBuild project files and support building with VS 2015, and I believe it's ready to merge in. Though the title says VS 2015, builds will work fine with VS 2010 and VS 2013 (and probably VS 2012, but I

[issue22916] Interpreter segfault on attempted tab complete

2014-11-22 Thread Ned Deily
Ned Deily added the comment: This is very unlikely to be a problem in Python itself, rather a problem with the third-party python-sfml package or a build interaction issue. Have you asked on either an Arch or a python-sfml list about this? What happens if you you try "dir(s)" instead? -

[issue22918] Doc for __iter__ makes inexact comment about dict.__iter__

2014-11-22 Thread Éric Araujo
New submission from Éric Araujo: https://docs.python.org/3/reference/datamodel#object.__iter__ > This method should return a new iterator object that can iterate over all the > objects > in the container. For mappings, it should iterate over the keys of the > container, and > should also be ma

[issue22917] Calculating problem

2014-11-22 Thread SilentGhost
SilentGhost added the comment: Hi Henning, this is not a bug. This is to do with how floating point numbers represented in computers. I'd suggest https://en.wikipedia.org/wiki/IEEE_floating_point as a starting point. Briefly, due to binary base that the computers operate on, not every number

[issue22917] Calculating problem

2014-11-22 Thread heme
New submission from heme: Hi guys I am very new to this, (just started my first lines today) so I am using a book to learn Python. BUT there is something wrong: This is my program (from the book): # This is not quite true outside of USA # and is based on my dim memories of my younger years

[issue22733] MSVC ffi_prep_args doesn't handle 64-bit arguments properly

2014-11-22 Thread Steve Dower
Steve Dower added the comment: Nosying the other Windows guys - seems like the ctypes nosy list is inactive, and this only affects MSVC. -- nosy: +tim.golden, zach.ware ___ Python tracker _

[issue22914] Rewrite of Python 2/3 porting HOWTO

2014-11-22 Thread Brett Cannon
Brett Cannon added the comment: I removed a bunch of sections for two reasons. One is they are redundant. If you follow the HOWTO and actually read What's New then you will get a bunch of those same details anyway. The tools will also handle the details for you and so you really don't have to

[issue22638] ssl module: the SSLv3 protocol is vulnerable ("POODLE" attack)

2014-11-22 Thread Donald Stufft
Donald Stufft added the comment: Yea see: http://sources.debian.net/src/openssl/1.0.2~beta3-1/debian/rules/#L29 The configure options they are running with are: no-idea no-mdc2 no-rc5 no-zlib enable-tlsext no-ssl2 no-ssl3 no-ssl3-method enable-unit-test -- ___

[issue22638] ssl module: the SSLv3 protocol is vulnerable ("POODLE" attack)

2014-11-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: If that's the case, then I agree we can backport e971f3c57502 to the bugfix branches. -- ___ Python tracker ___ ___

[issue22638] ssl module: the SSLv3 protocol is vulnerable ("POODLE" attack)

2014-11-22 Thread Donald Stufft
Donald Stufft added the comment: Right, they did that because Debian has disabled SSLv3 in OpenSSL in Jessie. -- ___ Python tracker ___ __

[issue22834] Unexpected FileNotFoundError when current directory is removed

2014-11-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset d065e6474b67 by Zachary Ware in branch 'default': Issue #22834: cwd can't not exist on Windows, skip the test https://hg.python.org/cpython/rev/d065e6474b67 -- ___ Python tracker

[issue22916] Interpreter segfault on attempted tab complete

2014-11-22 Thread Kevin Smith
New submission from Kevin Smith: I am getting a segmentation fault in the interpreter when trying to tab complete options for a module. I am running python 3.4.2 on Arch Linux. Python 3.4.2 (default, Oct 8 2014, 13:44:52) [GCC 4.9.1 20140903 (prerelease)] on linux Type "help", "copyright", "

[issue21815] imaplib truncates some untagged responses

2014-11-22 Thread Berker Peksag
Changes by Berker Peksag : -- versions: +Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1610654] cgi.py multipart/form-data

2014-11-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue19980] Improve help('non-topic') response

2014-11-22 Thread Zachary Ware
Zachary Ware added the comment: In that case, it would be good to make sure it still applies and passes the tests. Last time I tried it didn't, and I was called away before I could leave a note to that effect (for which I am sorry). However, I don't have a strong enough opinion on this issue for

[issue22638] ssl module: the SSLv3 protocol is vulnerable ("POODLE" attack)

2014-11-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > FYI Debian dropped ssl.PROTOCOL_SSLv3 from Python 2.7 in the upcoming > Jessie release: This is not really what the Debian patch does. What it does is allow the ssl module to compile if SSLv3 is disabled in the OpenSSL build. -- ___

[issue22638] ssl module: the SSLv3 protocol is vulnerable ("POODLE" attack)

2014-11-22 Thread Federico Ceratto
Federico Ceratto added the comment: FYI Debian dropped ssl.PROTOCOL_SSLv3 from Python 2.7 in the upcoming Jessie release: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768611 -- nosy: +federico3 ___ Python tracker

[issue21815] imaplib truncates some untagged responses

2014-11-22 Thread Lita Cho
Lita Cho added the comment: Here is the patch merged together. I apologize for not getting it to you sooner. -- Added file: http://bugs.python.org/file37245/imaplib_bracket_fix.patch ___ Python tracker

[issue22915] sax.parser cannot get xml data from a subprocess pipe

2014-11-22 Thread Avneesh Chadha
Changes by Avneesh Chadha : -- nosy: +Avneesh.Chadha ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue22869] Split pylifecycle.c out from pythonrun.c

2014-11-22 Thread Nick Coghlan
Nick Coghlan added the comment: Thanks folks - Zach's right, that wasn't supposed to move. I missed the second copy in pylifecycle.c because it's all #ifdef'ed out on Linux, so the linker didn't complain about the duplication. -- ___ Python tracker

[issue19980] Improve help('non-topic') response

2014-11-22 Thread Mark Lawrence
Mark Lawrence added the comment: Did I test the last patch? I would hope so but I simply can't remember as it's nearly four months ago, sorry :( -- ___ Python tracker ___ _

[issue22915] sax.parser cannot get xml data from a subprocess pipe

2014-11-22 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/