[issue30450] Pull Windows dependencies from GitHub rather than svn.python.org

2017-06-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: I just disabled viewvc on svn.python.org because of a security problem. -- ___ Python tracker ___

Namedtuple problem #32.11.d

2017-06-05 Thread Deborah Swanson
I have a list of namedtuples: [{Record}(r0=v0, r1=v1,...,r10=v10,r11='',...r93='') . . . {Record}(r0=v0, r1=v1,...,r10=v10,r11='',...r93='')] In the first section of code, I process some of the first 10 columns (r0=v0, r1=v1,...,r10=v10), and place the results in

[issue29077] build failure when enabling dtrace on FreeBSD

2017-06-05 Thread Kubilay Kocak
Kubilay Kocak added the comment: For what it's worth, the koobs-freebsd-current buildbot worker has DTrace enabled and can be used to build/test Python/dtrace bits Zach and I spoke recently about getting custom builds hooked up to GitHub, which I believe is now already possible, so all that's

[issue30579] Allow traceback objects to be instantiated/mutated/annotated

2017-06-05 Thread Nathaniel Smith
Nathaniel Smith added the comment: My understanding is that the major difference between a real traceback object and a TracebackException object is that the latter is specialized for printing, so it can be lighter weight (no pinning of frame objects in memory), but loses some utility (can't

[issue30579] Allow traceback objects to be instantiated/mutated/annotated

2017-06-05 Thread Nick Coghlan
Nick Coghlan added the comment: Rather than allowing this on tracebacks directly, I'd prefer to build on the "TracebackException" work and allow traceback summaries in all the places where we currently require real tracebacks (including exception __traceback__ attributes):

[issue30579] Allow traceback objects to be instantiated/mutated/annotated

2017-06-05 Thread Nathaniel Smith
Nathaniel Smith added the comment: Uh, please ignore the random second paste of the jinja2 URL in the middle of the second to last paragraph. -- ___ Python tracker

[issue30579] Allow traceback objects to be instantiated/mutated/annotated

2017-06-05 Thread Nathaniel Smith
New submission from Nathaniel Smith: Currently, traceback objects don't expose any public constructor, are immutable, and don't have a __dict__ or allow subclassing, which makes it impossible to add extra annotations them. It would be nice if these limitations were lifted, because there are

[issue30303] IDLE: Add _utest to textview and add textview tests

2017-06-05 Thread Louie Lu
Louie Lu added the comment: Mariatta: yes, louisom is my GitHub account. but I migrate to mlouielu this new account. Should I add louisom to b.p.o GitHub account list? -- ___ Python tracker

[issue30303] IDLE: Add _utest to textview and add textview tests

2017-06-05 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Louie Lu, are you louisom on GitHub? Here in the b.p.o it shows that you have signed CLA, indicated with an asterisk next to your username. Somehow on GitHub the bot could not verify that you've signed it. Please clarify. Thanks. -- nosy: +Mariatta

[issue30557] faulthandler does not correctly filter fatal exceptions on Windows

2017-06-05 Thread Steve Dower
Steve Dower added the comment: Thanks. Apparently that "filter out bit 4" thing didn't exist in Win7. Guess I need to track down the actual docs and confirm exactly where that happens. Doesn't break the important functionality though, just the test. I don't know that the exit code is stable

[issue12067] Doc: remove errors about mixed-type comparisons.

2017-06-05 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___

[issue30578] Misleading example in sys.set_coroutine_wrapper docs

2017-06-05 Thread Nick Coghlan
New submission from Nick Coghlan: In issue 24342, the invocation of coroutine wrappers specified via sys.set_coroutine_wrapper was fixed to catch and report the case of infinite recursion, where the wrapper attempts to instantiate a nested coroutine (which would call the wrapper, which would

[issue30052] URL Quoting page links to function Bytes instead of defintion

2017-06-05 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Backport PR looks good so I went ahead and merged it :) Thanks. -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker

[issue30052] URL Quoting page links to function Bytes instead of defintion

2017-06-05 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 798cfb212383a6f5a31b610825d1af1d376804b2 by Mariatta (Nick Coghlan) in branch '3.6': bpo-30052: Always regenerate cross-references (GH-1339) (GH-1921) https://github.com/python/cpython/commit/798cfb212383a6f5a31b610825d1af1d376804b2 --

Re: openpyxl reads cell with format

2017-06-05 Thread Christopher Reimer
On 6/5/2017 4:55 PM, Gregory Ewing wrote: Mahmood Naderan wrote: from a button on a web page, I chose "export as excel" to download the data. Do you get an option to export in any other format? CSV would be best, since you can trivially read that with Python's csv module. If Excel is the

[issue29929] Eliminate implicit __main__ relative imports

2017-06-05 Thread Nick Coghlan
Nick Coghlan added the comment: Ronald: that depends somewhat on how the installation is handled. For example, for entrypoints-style scripts, the entirety of __main__ is auto-generated anyway, and anyone using "./setup.py develop" or "pip install -e ." to add a suitable sys.path entry during

[issue23019] pyexpat.errors wrongly bound to message strings instead of message codes

2017-06-05 Thread Martin Panter
Martin Panter added the comment: Also, even in the Py 3 docs, the ErrorCode parser attribute is said to be numeric, but there is a suggestion to compare it with “constants” defined in the “errors” (module) object. I guess it should be clarified that you can’t compare it directly; perhaps

[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-05 Thread Zachary Ware
Zachary Ware added the comment: New changeset ddf8f141f0181f9cac05c87383ea60887acffaec by Zachary Ware in branch '2.7': [2.7] bpo-30417: Disable 'cpu' resource on Travis (GH-1928) https://github.com/python/cpython/commit/ddf8f141f0181f9cac05c87383ea60887acffaec --

[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-05 Thread Zachary Ware
Zachary Ware added the comment: New changeset 58e5dd1a03b3ce421f07085f8cd6e8566a1ed197 by Zachary Ware in branch '3.5': [3.5] bpo-30417: Disable 'cpu' resource on Travis (GH-1928) https://github.com/python/cpython/commit/58e5dd1a03b3ce421f07085f8cd6e8566a1ed197 --

[issue30577] Multidimensional comprehensions cannot access class variables except in the first for

2017-06-05 Thread Zachary Ware
Changes by Zachary Ware : -- stage: -> resolved status: open -> closed superseder: -> Comprehensions in a class definition mostly cannot access class variable ___ Python tracker

[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-05 Thread Zachary Ware
Zachary Ware added the comment: New changeset d125738e93a35125d0edbe8070dd47160bcda829 by Zachary Ware in branch '3.6': [3.6] bpo-30417: Disable 'cpu' and 'tzdata' resources on Travis (GH-1928) https://github.com/python/cpython/commit/d125738e93a35125d0edbe8070dd47160bcda829 --

[issue30577] Multidimensional comprehensions cannot access class variables except in the first for

2017-06-05 Thread Fengyang Wang
Fengyang Wang added the comment: It looks like this is a duplicate of http://bugs.python.org/issue11796 Sorry for the noise. -- resolution: -> duplicate ___ Python tracker

[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-05 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +2034 ___ Python tracker ___ ___

Re: openpyxl reads cell with format

2017-06-05 Thread Gregory Ewing
Mahmood Naderan wrote: from a button on a web page, I chose "export as excel" to download the data. Do you get an option to export in any other format? CSV would be best, since you can trivially read that with Python's csv module. If Excel is the only format available, you should complain to

[issue12067] Doc: remove errors about mixed-type comparisons.

2017-06-05 Thread Martin Panter
Martin Panter added the comment: Yes I think I committed all the documentation. Someone needs to decide whether to use Andy’s tests as they are, or perhaps modify or drop some or all of them. -- ___ Python tracker

[issue30577] Multidimensional comprehensions cannot access class variables except in the first for

2017-06-05 Thread Fengyang Wang
Fengyang Wang added the comment: By the way, in Python 2.7 at least, this was working. -- ___ Python tracker ___

[issue30577] Multidimensional comprehensions cannot access class variables except in the first for

2017-06-05 Thread Fengyang Wang
New submission from Fengyang Wang: Reduced reproduction: class X: r = [1, 2, 3] z = [(i, j) for i in [4, 5] for j in r] fails with "NameError: name 'r' is not defined". The expected behavior would be for r to be resolved as the r in the class namespace. Note in contrast that class Y:

[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-05 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +2033 ___ Python tracker ___ ___

Re: Openpyxl cell format

2017-06-05 Thread Gregory Ewing
Mahmood Naderan wrote: Maybe... But specifically in my case, the excel file is exported from a web page. I think there should be a way to read the content as a pure text. What form are you getting the file in? Are you being given an Excel file, or are you loading a text file into Excel? The

[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-05 Thread Zachary Ware
Changes by Zachary Ware : -- pull_requests: +2032 ___ Python tracker ___ ___

[issue30417] [buildbot] Disable the cpu resources on slow buildbots

2017-06-05 Thread Zachary Ware
Zachary Ware added the comment: New changeset c53b13b270767948fddb58b287149c499f9a03c4 by Zachary Ware in branch 'master': bpo-30417: Disable 'cpu' and 'tzdata' resources on Travis (GH-1928) https://github.com/python/cpython/commit/c53b13b270767948fddb58b287149c499f9a03c4 --

[issue30576] http.server should support HTTP compression (gzip)

2017-06-05 Thread Martin Panter
Martin Panter added the comment: Why do you want to this? Encoding files on the fly seems out of scope of the SimpleHTTPRequestHandler class to me, but perhaps a more flexible API that could be plugged in by the user could be beneficial. See

[issue30557] faulthandler does not correctly filter fatal exceptions on Windows

2017-06-05 Thread Ned Deily
Ned Deily added the comment: Buildbot failure? http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/521 -- nosy: +ned.deily ___ Python tracker

[issue30557] faulthandler does not correctly filter fatal exceptions on Windows

2017-06-05 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +2031 ___ Python tracker ___ ___

[issue26103] Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)

2017-06-05 Thread Aaron Hall
Changes by Aaron Hall : -- pull_requests: +2030 ___ Python tracker ___ ___

[issue30557] faulthandler does not correctly filter fatal exceptions on Windows

2017-06-05 Thread Steve Dower
Steve Dower added the comment: New changeset e6a23c8f9a3ce05b759599696cc131c2d9d147ac by Steve Dower in branch 'master': bpo-30557: faulthandler now correctly filters and displays exception codes on Windows (#1924)

Re: converting Julian date to normal date

2017-06-05 Thread Larry Martell
On Mon, Jun 5, 2017 at 6:11 PM, sum abiut wrote: > i am using python,and django as my web framework. I use sqlalchemy to > connect to MSSQL data that is running Epicor database. Epicor is using > julian > > * date. How to you convert julian date to normal date* You cross

converting Julian date to normal date

2017-06-05 Thread sum abiut
i am using python,and django as my web framework. I use sqlalchemy to connect to MSSQL data that is running Epicor database. Epicor is using julian * date. How to you convert julian date to normal date* *cheers,* -- https://mail.python.org/mailman/listinfo/python-list

[issue30388] ndbm can't iterate through values on OS X

2017-06-05 Thread Ned Deily
Ned Deily added the comment: It would be helpful if you could provide the output of this command: otool -L $(python3.6 -c 'import _dbm;print(_dbm.__file__)') if necessary, substituting whatever command name(s) you are using to invoke python when failing. --

[issue11874] argparse assertion failure with brackets in metavars

2017-06-05 Thread wim glenn
wim glenn added the comment: May I ask, how to assign reviewers for CPython pull requests? https://github.com/python/cpython/pull/1826 has been sitting there for 10 days and the only comment was from a bot. -- ___ Python tracker

[issue30462] urllib does not support NO_PROXY environment variable containing domain with asterisk

2017-06-05 Thread Jiri Hnidek
Jiri Hnidek added the comment: Hi Xiang, * I added entry to Misc/NEWS * I added my name to Misc/ACKS (without diacritics) * I added/updated several unit tests * I updated PR (two commits squashed into one commit) Cheers, Jiri -- ___ Python tracker

[issue30545] Enum equality across modules: comparing objects instead of values

2017-06-05 Thread Adrian Wan
Changes by Adrian Wan : -- nosy: +adrianwan2 status: pending -> open ___ Python tracker ___

[issue26103] Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)

2017-06-05 Thread Aaron Hall
Aaron Hall added the comment: Bumping this - I intend to work on this next, if no objections. -- ___ Python tracker ___

Re: openpyxl reads cell with format

2017-06-05 Thread Thomas Jollans
On 05/06/17 16:46, Mahmood Naderan wrote: >> if the cell is an Excel date, it IS stored as a numeric > > As I said, the "shape" of the cell is similar to date. The content which is > "4-Feb" is not a date. It is a string which I expect from cell.value to read > it as "4-Feb" and nothing else. >

Re: Bug or intended behavior?

2017-06-05 Thread Skip Montanaro
On Mon, Jun 5, 2017 at 2:26 PM, Marko Rauhamaa wrote: > Interestingly, however, Python hasn't extended that principle to the > expression syntax. You could have: > >>>> 1 + 2*3 >7 >>>> 1+2 * 3 >9 In a later post, you referenced a Wikipedia page on order of

[issue30521] IDLE: Add navigate bar and replace current goto dialog

2017-06-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: What problem are you trying to solve with this idea and patch? A popup go to line box is standard enough for editors that beginners have no problem with it. That asked, I read the sublime-text doc on the go-anywhere bar. While it is a cute idea, I think

[issue30532] email.policy.SMTP.fold() mangles long headers

2017-06-05 Thread R. David Murray
R. David Murray added the comment: Ping the issue again next week if I don't get to it this weekend. -- ___ Python tracker ___

Re: Bug or intended behavior?

2017-06-05 Thread Michael Torrie
On 06/05/2017 02:05 PM, Marko Rauhamaa wrote: > Michael Torrie : >> On 06/05/2017 01:26 PM, Marko Rauhamaa wrote: >>> Interestingly, however, Python hasn't extended that principle to the >>> expression syntax. You could have: >>> >>>>>> 1 + 2*3 >>>7 >>>>>> 1+2 * 3

Re: Download

2017-06-05 Thread Michael Torrie
On 06/05/2017 09:16 AM, Maria Alonso-Martirena wrote: > Good morning, > > You asked me to subscribe before writing to you and i've already done so. I > need your help: I’ve just downloaded Python for Windows (versión 3.6.1.). > However, when I try to open it, it just says “modify”, “repair” or >

[issue30532] email.policy.SMTP.fold() mangles long headers

2017-06-05 Thread Joel Hillacre
Joel Hillacre added the comment: Rebased the github PR on latest master to get the windows build passing CI. Is there anything I need to do to keep the PR moving? -- ___ Python tracker

Re: Bug or intended behavior?

2017-06-05 Thread Marko Rauhamaa
Michael Torrie : > On 06/05/2017 01:26 PM, Marko Rauhamaa wrote: >> Interestingly, however, Python hasn't extended that principle to the >> expression syntax. You could have: >> >>>>> 1 + 2*3 >>7 >>>>> 1+2 * 3 >>9 > > And thankfully they didn't. Because it

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Paul Moore
Changes by Paul Moore : -- nosy: -paul.moore ___ Python tracker ___ ___

[issue25023] time.strftime('%a'), ValueError: embedded null byte, in ko locale

2017-06-05 Thread Shaun Walbridge
Shaun Walbridge added the comment: For reference if anyone else still runs into this issue: the affected DLL is ucrtbase.dll, and the faulty version is 10.0.10240.0, which shipped with the 1507 release of Windows 10, the Windows 10 SDK, and Visual Studio 2015 RTM. This issue was resolved at

Re: Bug or intended behavior?

2017-06-05 Thread Michael Torrie
On 06/05/2017 01:26 PM, Marko Rauhamaa wrote: > Interestingly, however, Python hasn't extended that principle to the > expression syntax. You could have: > >>>> 1 + 2*3 >7 >>>> 1+2 * 3 >9 And thankfully they didn't. Because it wouldn't make sense to do so. Having whitespace

Re: Bug or intended behavior?

2017-06-05 Thread Chris Angelico
On Tue, Jun 6, 2017 at 5:26 AM, Marko Rauhamaa wrote: > Peter Pearson : > >> On Fri, 2 Jun 2017 10:17:05 -0700 (PDT), sean.diza...@gmail.com wrote: >> [snip] >> print "foo %s" % 1-2 >>> Traceback (most recent call last): >>> File "", line 1, in

Fwd: Welcome to the "Python-list" mailing list

2017-06-05 Thread Maria Alonso-Martirena
Good afternoon, I sent you an email this afternoon asking for help. As you can see in this email, I have been admited already. Could you help me with the matter I asked you please? Thanks. Kind regards, María Alonso-Martirena. -- Forwarded message -- From:

Download

2017-06-05 Thread Maria Alonso-Martirena
Good morning, You asked me to subscribe before writing to you and i've already done so. I need your help: I’ve just downloaded Python for Windows (versión 3.6.1.). However, when I try to open it, it just says “modify”, “repair” or “uninstall”. How can I solve this problem? Why is it not

[issue30576] http.server should support HTTP compression (gzip)

2017-06-05 Thread Pierre Quentel
Changes by Pierre Quentel : -- type: -> enhancement ___ Python tracker ___ ___

[issue30576] http.server should support HTTP compression (gzip)

2017-06-05 Thread Pierre Quentel
New submission from Pierre Quentel: The server in http.server currently doesn't support HTTP compression. I propose to implement it in the method send_head() of SimpleHTTPRequestHandler this way : for each GET request, if the request header "Accept-Encoding" is present and includes "gzip"

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread R. David Murray
Changes by R. David Murray : -- nosy: -r.david.murray ___ Python tracker ___ ___

Re: openpyxl reads cell with format

2017-06-05 Thread Mahmood Naderan via Python-list
OK thank you very much. As you said, it seems that it is too late for my python script. Regards, Mahmood On Monday, June 5, 2017 10:41 PM, Dennis Lee Bieber wrote: On Mon, 5 Jun 2017 14:46:18 + (UTC), Mahmood Naderan via Python-list

Re: Bug or intended behavior?

2017-06-05 Thread Marko Rauhamaa
Peter Pearson : > On Fri, 2 Jun 2017 10:17:05 -0700 (PDT), sean.diza...@gmail.com wrote: > [snip] > print "foo %s" % 1-2 >> Traceback (most recent call last): >> File "", line 1, in >> TypeError: unsupported operand type(s) for -: 'str' and 'int' > > Others have

ANN: pandas v0.20.2 released

2017-06-05 Thread Tom Augspurger
I'm pleased to announce the release of pandas 0.20.2. This is a minor bug-fix release in the 0.20.x series and includes some small regression fixes, bug fixes, and performance improvements. See the Whatsnew Page to see all of the

Nikola v7.8.7 is out!

2017-06-05 Thread Chris Warrick
On behalf of the Nikola team, I am pleased to announce the immediate availability of Nikola v7.8.7. This is a part-emergency bugfix, part-world domination release. What is Nikola? === Nikola is a static site and blog generator, written in Python. It can use Mako and Jinja2

[issue30567] Leak in sys.getwindowsversion

2017-06-05 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___

Re: How to change variable from list to float

2017-06-05 Thread Peter Pearson
On Mon, 5 Jun 2017 11:13:54 +0100, Paul Barry wrote: > On 3 June 2017 at 15:42, Gary Barker wrote: > >> I have searched for a solution to this but have not found a suitable >> example. >> >> The attached code generates this error: Traceback (most recent call last): >>

Re: Bug or intended behavior?

2017-06-05 Thread Chris Angelico
On Tue, Jun 6, 2017 at 3:01 AM, Peter Pearson wrote: > On Fri, 2 Jun 2017 10:17:05 -0700 (PDT), sean.diza...@gmail.com wrote: > [snip] > print "foo %s" % 1-2 >> Traceback (most recent call last): >> File "", line 1, in >> TypeError: unsupported operand type(s)

Re: Bug or intended behavior?

2017-06-05 Thread Peter Pearson
On Fri, 2 Jun 2017 10:17:05 -0700 (PDT), sean.diza...@gmail.com wrote: [snip] print "foo %s" % 1-2 > Traceback (most recent call last): > File "", line 1, in > TypeError: unsupported operand type(s) for -: 'str' and 'int' Others have already pointed out that you're assuming the wrong

[issue30177] pathlib.resolve(strict=False) only includes first child

2017-06-05 Thread Antoine Pietri
Antoine Pietri added the comment: I updated the PR to fix the Windows part of the issue thanks to Zachary who gave me access to a Windows machine. -- ___ Python tracker

[issue30575] Python interpreter crashes on macOS

2017-06-05 Thread Ned Deily
Ned Deily added the comment: Sorry but, without more information, no one is likely to want to try to pursue this issue. There are too many components, Python and non-Python, here that could cause a crash and trying to interface to other libraries using extensions like cffi (and ctypes) is

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Decorater
Decorater added the comment: turns out it was crashing because I forgot to add in Py_Initialize. -- ___ Python tracker ___

[issue30575] Python interpreter crashes on macOS

2017-06-05 Thread Yibo Wang
New submission from Yibo Wang: I am writing python wrapper for rust library, everything goes fine until execution finishes. "Python quit unexpectedly" [1]25805 segmentation fault python3 To reproduce, download code from GitHub repo provided by this

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Decorater
Decorater added the comment: I found where the crash was at. It was at my call to PyRun_SimpleString. Something in the string caused it to crash. -- ___ Python tracker

Re: Transitioning from Linux to Windows

2017-06-05 Thread Irmen de Jong
On 3-6-2017 15:44, chitt...@uah.edu wrote: > Ideally, I would like to set up the user on their Windows 7/10 system so that > they can "login" to the ubuntu system (say putty) - change working directory > (to where desired) - run the script (on the ubuntu system) - and scp the file > back to the

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2017-06-05 Thread Wonsup Yoon
Changes by Wonsup Yoon : -- pull_requests: +2029 ___ Python tracker ___ ___ Python-bugs-list

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2017-06-05 Thread Wonsup Yoon
Changes by Wonsup Yoon : -- title: bug in unicodedata.normalize: u1176, u11a7 and u11c3 -> bugs in unicodedata.normalize: u1176, u11a7 and u11c3 ___ Python tracker

[issue25910] Fixing links in documentation

2017-06-05 Thread Jim Fulton
Jim Fulton added the comment: +1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25910] Fixing links in documentation

2017-06-05 Thread Guido van Rossum
Guido van Rossum added the comment: I suggest the following replacement for that paragraph in Doc/license.txt, as well as in LICENSE: In May 2000, Guido and the Python core development team moved to BeOpen.com to form the BeOpen PythonLabs team. In October of the same year, the PythonLabs

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Zachary Ware
Changes by Zachary Ware : -- assignee: docs@python -> nosy: -docs@python, zach.ware ___ Python tracker ___

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Decorater
Decorater added the comment: E:\Users\Elsword\Documents\GitHub\TinyURL\app>call "E:\Program Files (x86)\Micro soft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat" E:\Users\Elsword\Documents\GitHub\TinyURL\app>cd "E:\Users\Elsword\Documents\Git Hub\TinyURL\app\"

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Decorater
Decorater added the comment: Wait a minute, I think it is because the 32 and 64 bit python36.lib files are in the path environment variable so that might be the reason for the crash. -- ___ Python tracker

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Decorater
Decorater added the comment: I am compiling and linking to 32 bit python based on the folder I entered for the lib file. Unless the lib file in the lib folder is somehow for the 64 bit one. -- ___ Python tracker

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread R. David Murray
R. David Murray added the comment: Agreed, there's nothing for us to do here. It sounds like you may need to go to a help forum to work through your crash. If you learn things that you think it would be valuable to add to the docs, please do submit a doc enhancement issue/PR. --

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Paul Moore
Paul Moore added the comment: My bet is still on something like you compiling your code 32-bit and linking to 64-bit Python, or something like that. -- ___ Python tracker

Re: openpyxl reads cell with format

2017-06-05 Thread Mahmood Naderan via Python-list
>if the cell is an Excel date, it IS stored as a numeric As I said, the "shape" of the cell is similar to date. The content which is "4-Feb" is not a date. It is a string which I expect from cell.value to read it as "4-Feb" and nothing else. Also, I said before that the file is downloaded from

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Decorater
Decorater added the comment: Well looks like with cl.exe it is still crashing. -- ___ Python tracker ___ ___

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Decorater
Decorater added the comment: hmm, maybe it was because I was compiling it inside of the VS2015 IDE in an project file and not with cl.exe directly. -- ___ Python tracker

[issue30537] Using PyNumber_AsSsize_t in itertools.islice

2017-06-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: My note was not directly related to your patch. It was a warning about general replacement of PyLong_AsSsize_t with PyNumber_AsSsize_t. There is a code for which this is dangerous. -- ___ Python tracker

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Paul Moore
Paul Moore added the comment: Worked fine for me: >cl .\pyc.c /I $env:LOCALAPPDATA\Programs\Python\Python36\include >$env:LOCALAPPDATA\Programs\Python\Python36\libs\python36.lib Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24213.1 for x64 Copyright (C) Microsoft Corporation. All

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Decorater
Decorater added the comment: Well the example I linked if I compile it and try to run it it instantly crashes with no explainable reason. I am using the same compiler used to build the core too and the normal interpreter works just fine with the code I am trying to embed. So it seems to

[issue30388] ndbm can't iterate through values on OS X

2017-06-05 Thread Forest Gregg
Forest Gregg added the comment: I have been trying to make a small reproducible example, but haven't been able to isolate it. Running this script [1] csv_example on mac os x under either py27 or py3 does seem *often* cause this problem [2], [3]: [1]

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Paul Moore
Paul Moore added the comment: I'm a bit confused what you're asking for here. Certainly if you embed Python, you can get crashes, just as with any other C program. Pass an invalid pointer to a Python API, build your application and the Python DLL with incompatible C runtimes, free memory you

[issue30574] Document why embedding the interpreter can sometimes crash.

2017-06-05 Thread Decorater
New submission from Decorater: According to this example at https://docs.python.org/3/extending/embedding.html#very-high-level-embedding you can use something similar on embedding the interpreter. However for some reason it can crash on Windows and probably some other platforms no matter

[issue30520] loggers can't be pickled

2017-06-05 Thread Vinay Sajip
Changes by Vinay Sajip : -- pull_requests: +2027 ___ Python tracker ___ ___

[issue30573] How to install cmake?

2017-06-05 Thread R. David Murray
R. David Murray added the comment: The pip issue tracker is at https://github.com/pypa/pip/issues if you want to suggest this, but I doubt it will be accepted. The action *is* something optional. -- nosy: +r.david.murray resolution: fixed -> third party type: compile error ->

[issue30537] Using PyNumber_AsSsize_t in itertools.islice

2017-06-05 Thread Will Roberts
Will Roberts added the comment: Thanks for feedback, Serhiy and Raymond! Github PR now has reverted changes except to the calls in islice_new; I am happy to squash if you would like. Serhiy, this is my first time poking around in CPython code. What are the potential consequences of making

[issue30572] pip is broken

2017-06-05 Thread R. David Murray
Changes by R. David Murray : -- resolution: fixed -> third party ___ Python tracker ___

[issue30572] pip is broken

2017-06-05 Thread Dingo64
Dingo64 added the comment: python -m pip install --upgrade pip fixed the pip so now C:\Python35>pip3 install dlib-19.4.0-cp35-cp35m-win_amd64.whl Processing c:\python35\dlib-19.4.0-cp35-cp35m-win_amd64.whl Installing collected packages: dlib Successfully installed dlib-19.4.0 worked.

[issue30573] How to install cmake?

2017-06-05 Thread Dingo64
Dingo64 added the comment: I did: python -m pip install --upgrade pip and then pip3 install cmake went OK. So I would suggest to change notices like "You are using pip version 7.1.2, however version 9.0.1 is available. You should consider upgrading via the 'python -m pip install --upgrade

[issue30573] How to install cmake?

2017-06-05 Thread Dingo64
New submission from Dingo64: When I try to use pip to install something it says it cannot because it doesn't make cmake. When I try to install cmake: C:\Python35>pip3 install cmake Collecting cmake Downloading cmake-0.7.0.tar.gz (29.2MB) 100% || 29.2MB

  1   2   >