[issue23606] ctypes.util.find_library("c") no longer makes sense

2015-03-09 Thread eryksun
eryksun added the comment: Will manual forwarding eventually be replaced by the loader's ApiSetMap (in the process PEB), i.e. will ucrtbase join ntdll, sechost, kernelbase, and kernel32 in apisetschema.dll? In this case will the CRT API sets only exist in winsxs, i.e. will they no longer be ha

[issue23566] RFE: faulthandler.register() should support file descriptors

2015-03-09 Thread Wei Wu
Wei Wu added the comment: Attached a patch to this issue. Made some changes to faulthandler_get_fileno to accept integer as fd. If a fd is provided, the file member of fatal_error struct is set NULL. An new test case is added and some common testing code is also changed in order to be reused.

[issue23624] str.center inconsistent with format "^"

2015-03-09 Thread Vedran Čačić
New submission from Vedran Čačić: Look at this: >>> format("ab", "^3"), "ab".center(3) ('ab ', ' ab') >>> format("abc", "^4"), "abc".center(4) ('abc ', 'abc ') I'm sure you agree this is inconsistent. As far as I can see, format relies on // (flooring) behaviour when dividing r

[issue23138] cookiejar parses cookie value as int with empty name-value pair and Expires

2015-03-09 Thread Demian Brecht
Demian Brecht added the comment: > I think that for consistency either parse empty name-value pair as key="", > value=None There is already a test present (https://hg.python.org/cpython/file/0469af231d22/Lib/test/test_http_cookiejar.py#l1084) that ensures an unset name/value pair is ignored a

[issue19547] HTTPS proxy support missing without warning

2015-03-09 Thread Demian Brecht
Demian Brecht added the comment: It very well could be. I'd like to be able to repro it first though. I'll try to get some time to look into it, but if someone else can confirm this behavior and attach a test case, that would be great. -- stage: -> test needed ___

[issue23605] Use the new os.scandir() function in os.walk()

2015-03-09 Thread Scott Dial
Scott Dial added the comment: I cloned https://github.com/benhoyt/scandir @ 494f34d784 and ran benchmark.py on a couple systems that are Linux backed by a couple different NFS servers of various quality. First, a Linux VM backed by a Mac OS X NFS server backed by a SSD: $ python benchmark.py

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-09 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Ugh... I'll just cross my fingers and hope that the libfakechroot KBOX2 comes with is new enough. As for a text editor, I'll just probably use something external. *crosses fingers* -- ___ Python tracker

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-09 Thread Cyd Haselton
Cyd Haselton added the comment: Ryan, There are utilities you'll need in the KBOX environment, some of which may not be available at the KBOX download site. You'll need to download the make, gcc 4.8.0 and gawk packages from the download site, and vim and/or nano depending on your preference.

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Ned Deily
Ned Deily added the comment: Regarding tests trying to write into the install directory tree, I'm pretty sure that there have been fixes added for those but I can't recall off the top of my head specific examples. I think the best approach is to use a temporary, writable directory instead; if

[issue23138] cookiejar parses cookie value as int with empty name-value pair and Expires

2015-03-09 Thread Demian Brecht
Changes by Demian Brecht : Removed file: http://bugs.python.org/file38262/issue23138_27.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue23138] cookiejar parses cookie value as int with empty name-value pair and Expires

2015-03-09 Thread Demian Brecht
Changes by Demian Brecht : Removed file: http://bugs.python.org/file38261/issue23138_34.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue23546] Windows, 'Edit withIDLE', and multplie installed versions

2015-03-09 Thread Ned Deily
Ned Deily added the comment: Sorry, my apologies: I was testing incorrectly. Applying 556b9bafdee8 from Python 3 is not sufficient; there are still some other path import issues with extensions and icon files. But it shouldn't be hard to track those down and fix them, assuming supporting '-m

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Steve Dower
Steve Dower added the comment: Do those assume that no-admin privs will cause a failure? This is more an issue of "do I have write permissions for the install directory" (which I guess could be its own skip condition...). -- ___ Python tracker

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Ned Deily
Ned Deily added the comment: "Not sure that we have any precedent for dealing with tests that require admin privileges when installed but not in the source tree?" I think we do. With the OS X installer (and, in theory, other Posix-style installs), we have a similar situation where tests are i

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Steve Dower
Steve Dower added the comment: Should have been right there with those two options, looking basically the same. Though it's possible that something about your machine is messing with the sizing - high DPI on Windows 7 is notorious for that, and there are sure to be other potential causes too.

[issue23546] Windows, 'Edit withIDLE', and multplie installed versions

2015-03-09 Thread Ned Deily
Ned Deily added the comment: Perhaps I misunderstand what you meant but "python -m module_name" is a documented Python 2 feature: https://docs.python.org/2/using/cmdline.html#cmdoption-m I think the failure to initialize when using -m idlelib after copying over __main__.py from Python 3 is ca

[issue23602] Implement __format__ for Fraction

2015-03-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka priority: normal -> low ___ Python tracker ___ ___ Python-bugs-list ma

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: If there was a *customize* option in addition to *all users* and *me only*, I did not see it. I will look harder for a3. Attached is file with 4 failure messages. -- Added file: http://bugs.python.org/file38415/35a2-failures.txt

[issue15582] Enhance inspect.getdoc to follow inheritance chains

2015-03-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch that supports classes, bound and unbound methods, class methods, properties, method and class descriptors. -- Added file: http://bugs.python.org/file38414/inspect_getdoc_inherited.patch ___ Python t

[issue23602] Implement __format__ for Fraction

2015-03-09 Thread Tuomas Suutari
Tuomas Suutari added the comment: Version 3 of the patch. Changes to v2: * Use raw-strings for the regexps. * Make the specifier regexp more robust with \A, \Z and re.DOTALL. * Add more test cases; especially g and e formats and negative fractions. -- Added file: http://bugs.python.or

[issue23602] Implement __format__ for Fraction

2015-03-09 Thread Tuomas Suutari
Tuomas Suutari added the comment: Martin Panter wrote: > Regarding sharing fractions._parse_format_specifier(), perhaps have a look at > _pydecimal._parse_format_specifier() I did find that, but since it was a private function in private module, I was unsure if I can use it here. The _pydecimal

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Paul Moore
Paul Moore added the comment: Please don't install the installer somewhere, just to add an uninstall icon on the start menu. It's possible to uninstall via "Add/Remove Programs". That should be sufficient. -- ___ Python tracker

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Steve Dower
Steve Dower added the comment: Thanks for the details Terry. "Customize" is there for all the options, though I too keep being surprised by just how quickly it gets going when you click one of the other two buttons. The uninstall icon is probably not going to come back :( I spent some time tr

[issue20741] Documentation archives should be available also in tar.xz format

2015-03-09 Thread Mark Lawrence
Mark Lawrence added the comment: Do we need documentation archives in tar.xz format? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker ___ __

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I downloaded .exe from python.org an hour after Steve said 'done' and install went smoothly -- too smoothly as there was not options dialog as to install location or anything. Fortunately, it did not grab 'python'. New crt was first thing installed. Start m

[issue20751] Misleading examples in the descriptor protocol documentation

2015-03-09 Thread Mark Lawrence
Mark Lawrence added the comment: Who is best placed to comment on the suggested docs changes given in msg212035? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2, Python 3.3 ___ Python tracker

[issue23623] Python 3.5 docs need to clarify how to set PATH, etc

2015-03-09 Thread Steve Dower
Steve Dower added the comment: Looks good, thanks Ned. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue23623] Python 3.5 docs need to clarify how to set PATH, etc

2015-03-09 Thread Ned Deily
Changes by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue23623] Python 3.5 docs need to clarify how to set PATH, etc

2015-03-09 Thread Ned Deily
Ned Deily added the comment: Steve, how does https://docs.python.org/dev/using/windows.html look now? (There may have been an update lag.) -- nosy: +ned.deily ___ Python tracker __

[issue23546] Windows, 'Edit withIDLE', and multplie installed versions

2015-03-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: At one time, there would not have been any point. https://docs.python.org/3/library/__main__.html#module-__main__ contains this sentence "For a package, the same effect can be achieved by including a __main__.py module, the contents of which will be executed

[issue22308] add {implementation} to sysconfig.py

2015-03-09 Thread mattip
mattip added the comment: any traction on this? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21610] load_module not closing opened files

2015-03-09 Thread mattip
mattip added the comment: ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailm

[issue19547] HTTPS proxy support missing without warning

2015-03-09 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +demian.brecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19547] HTTPS proxy support missing without warning

2015-03-09 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue21018] [patch] added missing documentation about escaping characters for configparser

2015-03-09 Thread Mark Lawrence
Mark Lawrence added the comment: LGTM so can we have a formal patch review please, thanks. -- nosy: +BreamoreBoy versions: +Python 3.5 ___ Python tracker ___

[issue20659] Want to make a class method a property by combining decorators

2015-03-09 Thread Mark Lawrence
Mark Lawrence added the comment: @"the mulhern" sorry that this slipped under our radar. @Nick I've put you on the nosy list as you actioned #16267 which is referenced in msg211416. -- nosy: +BreamoreBoy, ncoghlan versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2, Python 3.3, P

[issue23616] Idle: conflict between loop execution and undo shortcut.

2015-03-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I believe you are reporting the following behavior, which I believe I have seen before but which seems not to be the subject of a tracker issue. If I run import time for i in range(20): print(i) time.sleep(.5) either in Shell at >>> or from th

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Larry Hastings
Larry Hastings added the comment: Okay, I refreshed the MD5 sums and sizes on the web site, and purged the old files from the CDN. -- ___ Python tracker ___

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Steve Dower
Steve Dower added the comment: Looks like there'll be some installation errors until the CDN catches up, but the full installer will be fine MD5s/sizes: python-3.5.0a2.exe 807a898a6b61696ab9c4257152a939c5 28,762,312 python-3.5.0a2-webinstall.exe dc2cebbb402f117f0590c

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Larry Hastings
Larry Hastings added the comment: > Any idea how long until the CDN picks up the update? curl -X PURGE https://www.python.org/ftp/python/2.7.5/Python-2.7.5.tar.xz will explicitly tell the CDN to pick up the new binaries. Not sure if that works from anywhere or just from dl-files.iad1.psf.io .

[issue23415] add-to-pydotorg does not support .exe installers for Windows

2015-03-09 Thread Georg Brandl
Georg Brandl added the comment: Well, it's not a complicated script. You're welcome to try and debug it, but if the bug is in the depths of new pydotorg, I don't know how easy it is to find. -- ___ Python tracker

[issue23613] searchindex.js is annoying

2015-03-09 Thread Georg Brandl
Georg Brandl added the comment: Most important reason to close this: this is not something to change in Python, but would have to be changed in Sphinx. -- resolution: -> third party status: open -> closed ___ Python tracker

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Steve Dower
Steve Dower added the comment: Scratch that, I screwed up the hg dance (multiple times...). Newer bits coming -- ___ Python tracker ___ __

[issue15582] Enhance inspect.getdoc to follow inheritance chains

2015-03-09 Thread Claudiu Popa
Claudiu Popa added the comment: > The patch adds support only for unbound methods and requires additional > parameter for this. Just curios, which part works only for unbound methods? > It is not what should be done in this issue at all. > It should be easier to write it myself than describe i

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-09 Thread Stefan Krah
Stefan Krah added the comment: Technically we could use the Android buildbot to test both (cross-compiling and Android breakage), but it would be nice to have a separate buildbot that just tests cross-compiling with an easier target (e.g. arm-linux-gnueabi). -- _

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Steve Dower
Steve Dower added the comment: Done, though I may have corrupted alpha 1 in the process :( New MD5s and sizes: python-3.5.0a2.exe 9683ecb837ffa2dd321d564042a90d64 28,762,032 python-3.5.0a2-webinstall.exe b717713c58d0fcabf69c4fdc67a2e581885,256 python-3.5.0a2-amd64.

[issue15582] Enhance inspect.getdoc to follow inheritance chains

2015-03-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch adds support only for unbound methods and requires additional parameter for this. It is not what should be done in this issue at all. I'm interested in this issue so I'll write a patch. It should be easier to write it myself than describe it.

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Larry Hastings
Larry Hastings added the comment: Yup. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue23606] ctypes.util.find_library("c") no longer makes sense

2015-03-09 Thread Steve Dower
Steve Dower added the comment: AIUI, by the time Windows 10 or Visual Studio 2015 releases (since it's now a Windows component, it's technically on a different schedule, even though the main developer is still working against Visual Studio's schedule) and probably sooner (VS 2015 RC is most li

[issue23606] ctypes.util.find_library("c") no longer makes sense

2015-03-09 Thread eryksun
eryksun added the comment: The api-ms-win-crt-* DLLs forward their exports to ucrtbase.dll, which currently uses named exports. When is it planned to remove the named exports? >>> crt = CDLL('ucrtbase') >>> filesystem = CDLL('api-ms-win-crt-filesystem-l1-1-0') >>> math = CDLL('api

[issue15582] Enhance inspect.getdoc to follow inheritance chains

2015-03-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue2292] Missing *-unpacking generalizations

2015-03-09 Thread Ethan Furman
Ethan Furman added the comment: All tests pass on my ubuntu 13.04 system. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue11726] clarify that linecache only works on files that can be decoded successfully

2015-03-09 Thread R. David Murray
R. David Murray added the comment: Sure, clarifying the docs seems sensible. "Any file" is slightly different from the reality. -- nosy: +r.david.murray resolution: rejected -> stage: -> needs patch status: closed -> open title: linecache becomes specific to Python scripts in Python

[issue16318] FTP_TLS in ftplib not supporting prot_p storlines in FTP7.5

2015-03-09 Thread required field
Changes by required field : -- nosy: +required field ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue11726] linecache becomes specific to Python scripts in Python 3

2015-03-09 Thread Thomas Kluyver
Thomas Kluyver added the comment: Someone on reddit ran into this, expecting that linecache can be used for an arbitrary text file: http://www.reddit.com/r/Python/comments/2yetxc/utf8_encoding_problems/ I was quite surprised that the docs say "allows one to get any line from any file." I've al

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-09 Thread Ethan Furman
Ethan Furman added the comment: This would be a build-bot for cross-compiling? As opposed to an android build-bot (which we'll also need) ? -- ___ Python tracker ___ __

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-09 Thread Stefan Krah
Stefan Krah added the comment: On Ubuntu, when I uploaded the script to #5404, I only needed: ./configure --prefix=/tmp/arm-install --without-ensurepip --host=arm-linux-gnueabi --build=x86_64 --disable-ipv6 (And config.site of course.) We just have to fix the pgen etc. issues and someone

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-09 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: This is what I'm using: PYTHON_FOR_BUILD=`realpath ../cpython/python` CC=arm-linux-androideabi-clang CXX=arm-linux-androideabi-clang++ ./configure --host=arm-linux-androideabi --build=x86_64 --disable-ipv6 ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no ac_cv_h

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-09 Thread Stefan Krah
Stefan Krah added the comment: Cross compiling worked for a while in 3.4. It broke again because we don't have a buildbot for that. You should not need 20 args for ./configure. At least on Ubuntu the script from #5404 generally works, but indeed pgen, importlib and the above issue are currently

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-09 Thread Ryan Gonzalez
Ryan Gonzalez added the comment: Python really needs some way of separating the host C compiler and the target C compiler. I'm giving up cross-compiling from my computer and am going to install KBOX on an Android virtual device. It worked for Cyd, it'll work for me. Beats compiling two separa

[issue23623] Python 3.5 docs need to clarify how to set PATH, etc

2015-03-09 Thread Paul Moore
Paul Moore added the comment: At a minimum, the example should show adding setting the 2 script directories to PATH, and not just sys.prefix. -- ___ Python tracker ___ _

[issue23623] Python 3.5 docs need to clarify how to set PATH, etc

2015-03-09 Thread Steve Dower
Steve Dower added the comment: FYI, the docs in the Python 3.5.0a2 CHM are newer than what's on docs.p.o, specifically the "Using Python on Windows" section. (Apparently I need to do something other than commit changes to get the website updated?) https://hg.python.org/cpython/file/tip/Doc/usi

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Steve Dower
Steve Dower added the comment: Well that was embarrassing, but it's fixed now :) Larry, would you like me to rebuild the installer with the fix in it? -- nosy: +larry ___ Python tracker ___

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0469af231d22 by Steve Dower in branch 'default': Issue #23619: Ensure C variable is initialized before using it. https://hg.python.org/cpython/rev/0469af231d22 -- nosy: +python-dev ___ Python tracker

[issue23623] Python 3.5 docs need to clarify how to set PATH, etc

2015-03-09 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21295] Python 3.4 gives wrong col_offset for Call nodes returned from ast.parse

2015-03-09 Thread Mark Shannon
Mark Shannon added the comment: How do I get the start of `(x+y).bit_length()` in `total += (x+y).bit_length()`? With your change, I can't get it from `x`, `x+y`, or from the whole statement. The primary purpose of the locations are for tracebacks, not for static tools. Also, most tools need to

[issue23623] Python 3.5 docs need to clarify how to set PATH, etc

2015-03-09 Thread David Linke
Changes by David Linke : -- nosy: +dalito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue12916] Add inspect.splitdoc

2015-03-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It's not too late for 3.5. Just there is no consensus. -- ___ Python tracker ___ ___ Python-bugs-l

[issue23246] distutils fails to locate vcvarsall with Visual C++ Compiler for Python

2015-03-09 Thread Steve Dower
Steve Dower added the comment: Hard to be sure. It was my contribution originally, and I'm okay to remain unattributed, but I've nosied Jason so he can answer authoritatively (especially since he rewrote most of my original contribution to make it work better :) ). -- nosy: +jason.coo

[issue21295] Python 3.4 gives wrong col_offset for Call nodes returned from ast.parse

2015-03-09 Thread Sven Brauch
Sven Brauch added the comment: But if you need the start of the full expression, can't you just go up in the "parent" chain until the parent is not an expression any more? Could additional API be introduced which provides the value I am looking for as well as the one you need? I was not on th

[issue21295] Python 3.4 gives wrong col_offset for Call nodes returned from ast.parse

2015-03-09 Thread Aivar Annamaa
Aivar Annamaa added the comment: Yes, I also need col_offset to work as advertised because of a real world use case: Thonny (http://thonny.cs.ut.ee/) is a visual Python debugger which highlights the (sub)expression about to be evaluated. -- ___ Pyth

[issue21295] Python 3.4 gives wrong col_offset for Call nodes returned from ast.parse

2015-03-09 Thread Mark Shannon
Mark Shannon added the comment: The column offset has always been the offset of the start of the expression. Therefore the expression `x.y` should have the same offset as the sub-expresssion `x`. Likewise for calls, `f(args)` should have the same offset as the `f` sub expression. Our static a

[issue23618] PEP 475: handle EINTR in the socket module

2015-03-09 Thread STINNER Victor
STINNER Victor added the comment: connect_eintr-3.patch: Different patch, don't retry connect() if it returns EINTR, but poll using poll/select. The patch changes also the asyncio module. -- Added file: http://bugs.python.org/file38412/connect_eintr-3.patch

[issue12916] Add inspect.splitdoc

2015-03-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Ok, so in this case, you are right to move this issue to the Python 3.6 version, and it's too late for 3.5 Thank you for your help and feedbacks. Stephane -- ___ Python tracker

[issue23246] distutils fails to locate vcvarsall with Visual C++ Compiler for Python

2015-03-09 Thread Michael Clerx
Michael Clerx added the comment: Thanks! If I do copy this patch, do I need to add anything to my license text other than a reference in the file itself? -- ___ Python tracker

[issue23618] PEP 475: handle EINTR in the socket module

2015-03-09 Thread STINNER Victor
STINNER Victor added the comment: > http://www.madore.org/~david/computers/connect-intr.html This article contains a program connect_test.c to test how connect() behaves on EINTR. Since it's in the public domain, I attached a copy. The program contains the comment: "All systems function as exp

[issue12916] Add inspect.splitdoc

2015-03-09 Thread Yury Selivanov
Yury Selivanov added the comment: Berker, I agree. Let's wait till 3.6. I still don't like having this function in the inspect module, and I still don't understand why it should be there. -- versions: +Python 3.6 -Python 3.5 ___ Python tracker

[issue2211] Cookie.Morsel interface needs update

2015-03-09 Thread Demian Brecht
Demian Brecht added the comment: New patch addresses most review comments. Thanks for the review Serhiy. -- Added file: http://bugs.python.org/file38410/issue2211_1.patch ___ Python tracker _

[issue21574] Port image types detections from PIL to the imghdr module

2015-03-09 Thread Claudiu Popa
Claudiu Popa added the comment: In general, the patch looks good, I left a couple of comments on Rietvld. It should be applied to 3.5 only. Also, there are some image test files which aren't included in this patch, could you update it to include them? Thanks. -- __

[issue22189] collections.UserString missing some str methods

2015-03-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue23246] distutils fails to locate vcvarsall with Visual C++ Compiler for Python

2015-03-09 Thread Steve Dower
Steve Dower added the comment: > Very ugly :-) And also incorrect on 64-bit interpreters (but not 32-bit interpreters on 64-bit machines, oddly enough), and machines where the user has installed the compiler just for themselves. I'd seriously suggest copying the monkey patch from https://bit

[issue23246] distutils fails to locate vcvarsall with Visual C++ Compiler for Python

2015-03-09 Thread Michael Clerx
Michael Clerx added the comment: @Mark I don't quite understand what you're saying. Distutils supports it, provided you add a line to distutils.cfg. I've been using the PythonXY versions of Python with MinGW (everything before 2.7.9.0) to happily compile for nearly 4 years now. Regarding your

[issue23246] distutils fails to locate vcvarsall with Visual C++ Compiler for Python

2015-03-09 Thread Steve Dower
Steve Dower added the comment: You could also distribute wheels for your Windows users, which they will appreciate much more than being told to install MinGW. (If you do go the latter route, WinPython is a pretty good distribution that sets that stuff up fairly transparently.) -- ___

[issue23246] distutils fails to locate vcvarsall with Visual C++ Compiler for Python

2015-03-09 Thread Steve Dower
Steve Dower added the comment: Python does not support being built with MinGW, but we have "support" to build extensions with MinGW. It isn't great support, and we're open to patches/contributions (none of our core Windows devs use MinGW AFAIK). And yes, VC is different from MinGW because MinG

[issue21159] configparser.InterpolationMissingOptionError is not very intuitive

2015-03-09 Thread Claudiu Popa
Claudiu Popa added the comment: I find the new error messages clear and straight to the point. It would be nice if this would get into 3.5. -- stage: patch review -> commit review ___ Python tracker __

[issue23618] PEP 475: handle EINTR in the socket module

2015-03-09 Thread STINNER Victor
STINNER Victor added the comment: Oops, connect_eintr.py noticed me (thanks to my recent change of the issue #23571 !) that connect_eintr.patch is wrong: socket.connect() returned None with an exception sent, send connect() was interrupted by SIGINT (CTRL+c). Fixed patch. -- Added fil

[issue23618] PEP 475: handle EINTR in the socket module

2015-03-09 Thread STINNER Victor
STINNER Victor added the comment: connect_eintr.py: script calling socket.connect() in a loop and sending SIGARLM signal every millisecond. -- Added file: http://bugs.python.org/file38408/connect_eintr.py ___ Python tracker

[issue23246] distutils fails to locate vcvarsall with Visual C++ Compiler for Python

2015-03-09 Thread Mark Lawrence
Mark Lawrence added the comment: @Michael in case you are not aware Python does not support MINGW. -- ___ Python tracker ___ ___ Pytho

[issue22964] dbm.open(..., "x")

2015-03-09 Thread Claudiu Popa
Changes by Claudiu Popa : -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22189] collections.UserString missing some str methods

2015-03-09 Thread Claudiu Popa
Changes by Claudiu Popa : -- nosy: +Claudiu.Popa versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue21385] in debug mode, compile(ast) fails with an assertion error if an AST node has no line number information

2015-03-09 Thread Claudiu Popa
Changes by Claudiu Popa : -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-03-09 Thread Stefan Krah
Stefan Krah added the comment: > ImportError: cannot import name 'module_from_spec' The command line uses the system python3, which is "too old" and does not have 'module_from_spec' yet. Try running ... python3 -S -m sysconfig --generate-posix-vars ... and then continue with `make`. We s

[issue21478] mock calls don't propagate to parent (autospec)

2015-03-09 Thread Claudiu Popa
Changes by Claudiu Popa : -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue23138] cookiejar parses cookie value as int with empty name-value pair and Expires

2015-03-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think that for consistency either parse empty name-value pair as key="", value=None, or ignore all non-conformed cases. For backward compatibility I prefer first way. -- ___ Python tracker

[issue21271] reset_mock needs parameters to also reset return_value and side_effect

2015-03-09 Thread Claudiu Popa
Changes by Claudiu Popa : -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread Steve Dower
Steve Dower added the comment: I definitely don't want the whole directory, especially from Windows 7 :) (Later versions are better at cleaning up unused files) I'll take a look once I get to work. Thanks -- ___ Python tracker

[issue23138] cookiejar parses cookie value as int with empty name-value pair and Expires

2015-03-09 Thread Demian Brecht
Demian Brecht added the comment: I agree that the current implementation doesn't conform to standards, but do you think those cases are worth fixing as they can potentially break backwards compatibility? I think that the reported case makes sense to fix as the name/value pair are entirely unex

[issue23623] Python 3.5 docs need to clarify how to set PATH, etc

2015-03-09 Thread Paul Moore
New submission from Paul Moore: With Python 3.5 on Windows defaulting (for all users installs) to the read-only "Program Files" directory, and with "Add Python to PATH" having problems adding the per-user "user scripts" directory to PATH, the Python 3.5 documentation needs to explain the recom

[issue23619] Python 3.5.0a2 installer fails on Windows

2015-03-09 Thread STINNER Victor
STINNER Victor added the comment: Same error on my Windows 7 VM. I have VS 2008 & 2010 installed, but also Python 2.7, 3.3 and 3.4 (all installed twice: 32&64 bits). It's not a fresh Windows :-) Here is a ZIP of Python 3.5* logs in my Temp directory. I cannot compress the whole directory, it's

[issue19610] setup.py does not allow a tuple for classifiers

2015-03-09 Thread Éric Araujo
Éric Araujo added the comment: I think classifiers and keywords are the only commonly used fields. This issue could be limited to classifiers, or also include other list fields. -- ___ Python tracker

  1   2   >