Re:

2015-12-21 Thread eryk sun
On Mon, Dec 21, 2015 at 3:08 AM, Animesh Srivastava wrote: > While installin python3.5.1 i m getting 0xc07b error 0xC07B is STATUS_INVALID_IMAGE_FORMAT, so there's something wrong with the executable. Try clearing your browser cache and download the installer again.

Re: Ignore error with non-zero exit status

2015-12-21 Thread Ian Kelly
On Sun, Dec 20, 2015 at 3:46 PM, Thomas 'PointedEars' Lahn wrote: > Chris Angelico wrote: > >> On Mon, Dec 21, 2015 at 8:22 AM, Thomas 'PointedEars' Lahn >> wrote: > > It is supposed to be an attribution *line*, _not_ an attribution novel. > Also, the

Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Ben Finney
Ian Kelly writes: > Better yet, please don't change the Subject header for trivial reasons > in the first place. When the subject of the ongoing discussion changes, it's normal to change the Subject field accordingly. I agree with your admonition against trivial

Re: What could cause a plot fail in my code?

2015-12-21 Thread Peter Otten
Robert wrote: > Hi, > > I find a useful code snippet on link: > > http://stackoverflow.com/questions/25126444/logistic-regression-in-pymc/34400966#34400966 > > but it has error on plot function. The error message is as following: > - > %run "C:\Users\rj\pyprj\logic_regression0.py" >

[issue21579] Python 3.4: tempfile.close attribute does not work

2015-12-21 Thread Марк Коренберг
Марк Коренберг added the comment: So, I'm required to re-implement NamedTemporaryFile by hand like that: fd, name = tempfile.mkstemp(...) try: with io.open(fd, ...) as fff: fff.write('hello') fff.flush() os.fdatasync(fff)

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Ian Kelly
On Mon, Dec 21, 2015 at 1:58 PM, Ben Finney wrote: > Ian Kelly writes: >> This isn't just a Usenet group; it's also a mailing list, and many >> MUAs rely on the Subject header for proper threading. > > If such MUAs do that, they're

How can I produce ARFF files using word2vec-toolkit

2015-12-21 Thread saurabhtiwaririshi
I am doing a machine learning project and I need ARFF files to feed my data to Weka. How can I use word2-vec to produce ARFF files. An example would be much helpful. -- https://mail.python.org/mailman/listinfo/python-list

[issue25919] htp.client PUT method ignores error responses sent immediatly after headers

2015-12-21 Thread R. David Murray
R. David Murray added the comment: Perhaps by doing non-blocking reads between the writes[*]? I suppose it is possible, but it might complicate the code considerably. [*] or re-write it using asyncio, but that is definitely out of scope :) -- nosy: +r.david.murray

[issue21579] Python 3.4: tempfile.close attribute does not work

2015-12-21 Thread R. David Murray
R. David Murray added the comment: You'd have to do that anyway if we implemented a delete=False constructor argument, since you want it deleted if there are any errors, and that's not what a delete=False API would do. If it were me, I'd write it (untested) @contextlib.contextmanager

[issue25919] htp.client PUT method ignores error responses sent immediatly after headers

2015-12-21 Thread SilentGhost
Changes by SilentGhost : -- components: +Library (Lib) -IO versions: +Python 3.5, Python 3.6 -Python 3.4 ___ Python tracker ___

[issue25919] htp.client PUT method ignores error responses sent immediatly after headers

2015-12-21 Thread Wiktor Niesiobedzki
New submission from Wiktor Niesiobedzki: It looks like, when doing PUT together with a file-like object to send, http.client will try to send the whole file before analysing the response from the server. If you do the following: $ dd if=/dev/zero of=/tmp/300mb.zero bs=1M count=300 And then

Re: IDLE 3.5.1 quits unexpectedly (portuguese keyboard)

2015-12-21 Thread eryk sun
On Fri, Dec 18, 2015 at 9:15 PM, Osvaldo Dias dos Santos wrote: > > Pressing the tilde key my iMac portuguese keyboard quits IDLE > unexpectedly (along with any associated files I may be working > on, including code). > > The keyboard image is attached. The tilde key is the

Re: (Execution) Termination bit, Alternation bit.

2015-12-21 Thread Grant Edwards
On 2015-12-21, Dennis Lee Bieber wrote: > On Mon, 21 Dec 2015 13:40:21 +0100, "Skybuck Flying" > declaimed the following: > >>The original idea I posted is less about sending a signal to another >>processor. >> >>It is more about how to break out

[issue25827] Support ICC in configure

2015-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset d7b5c2f99a99 by Zachary Ware in branch '2.7': Issue #25827: Add support for ICC to configure https://hg.python.org/cpython/rev/d7b5c2f99a99 New changeset c5e419464585 by Zachary Ware in branch '3.5': Issue #25827: Add support for ICC to configure

In Python 3, how to append a nested dictionary to a shelve file with the added difficulty of using a for loop?

2015-12-21 Thread Aaron
Hello, I am trying to figure out how to populate a shelve file with a nested dictionary. These are my requirements: -Create shelve file called people.db -Append the shelve file with new people (person_1, person_2, etc.). -Use a for loop to iterate through 'attributes' so that I do not need to

[issue25914] Fix OrderedDict.__sizeof__

2015-12-21 Thread Eric Snow
Eric Snow added the comment: LGTM Thanks for doing that. It's definitely cleaner. :) -- stage: patch review -> commit review ___ Python tracker ___

Re: Ignore error with non-zero exit status

2015-12-21 Thread Ian Kelly
On Dec 21, 2015 4:55 PM, "Terry Reedy" wrote: > > Nothing has changed since except for > https://www.python.org/dev/peps/pep-0498/ > already added to 3.6. https://xkcd.com/927/ -- https://mail.python.org/mailman/listinfo/python-list

[issue21579] Python 3.4: tempfile.close attribute does not work

2015-12-21 Thread R. David Murray
R. David Murray added the comment: Oh, you are right of course. I thought I was looking at _mkstemp_inner but in fact my edit window was over NamedTemporaryFile...I just wasn't paying attention. I have no opinion myself as to whether it is worth the effort/code complexity to implement this

Re: Ignore error with non-zero exit status

2015-12-21 Thread Chris Angelico
On Tue, Dec 22, 2015 at 11:17 AM, Ian Kelly wrote: > On Dec 21, 2015 4:55 PM, "Terry Reedy" wrote: >> >> Nothing has changed since except for >> https://www.python.org/dev/peps/pep-0498/ >> already added to 3.6. > > https://xkcd.com/927/ The 927ness of

In Python 3, how to append a nested dictionary to a shelve file with the added difficulty of using a for loop?

2015-12-21 Thread Aaron Christensen
Hello, I am trying to figure out how to populate a shelve file with a nested dictionary. These are my requirements: -Create shelve file called people.db -Append the shelve file with new people (person_1, person_2, etc.). -Use a for loop to iterate through 'attributes' so that I do not need to

Re: Ignore error with non-zero exit status

2015-12-21 Thread Steven D'Aprano
On Tue, 22 Dec 2015 09:27 am, Thomas 'PointedEars' Lahn wrote: [...] > No, it is not. Your logic is flawed, too, pseudonymous nobody with the > unreadable posting style. If its unreadable, how do you know what it says? "PointedEars", you're doing a marvellous job of acting like a

Re: Library function to encode data to multipart/form-data format?

2015-12-21 Thread Laura Creighton
In a message of Mon, 21 Dec 2015 17:51:00 +, Grant Edwards writes: >Is there a standard library function that can be used to encode data >into multipart/form-data format? IIRC, I looked for this once before >and didn't find anything in the library. > >[I don't want to actually send an HTTP

[issue25920] PyOS_AfterFork should reset socketmodule's lock

2015-12-21 Thread A. Jesse Jiryu Davis
New submission from A. Jesse Jiryu Davis: On some platforms there's an exclusive lock in socketmodule, used for getaddrinfo, gethostbyname, gethostbyaddr. A thread can hold this lock while another forks, leaving it locked forever in the child process. Calls to these functions in the child

[issue25920] PyOS_AfterFork should reset socketmodule's lock

2015-12-21 Thread Ionel Cristian Mărieș
Changes by Ionel Cristian Mărieș : -- nosy: +ionelmc ___ Python tracker ___ ___

[issue21579] Python 3.4: tempfile.close attribute does not work

2015-12-21 Thread Eryk Sun
Eryk Sun added the comment: > To extend support for this to Windows, we can add a > feature to mkstmp to not use O_TEMPORARY O_TEMPORARY is only used for NamedTemporaryFile, not mkstemp. Regarding NamedTemporaryFile, that can be worked around to keep Windows from deleting the file. Just

[issue25911] Regression: os.walk now using os.scandir() breaks bytes filenames on windows

2015-12-21 Thread STINNER Victor
STINNER Victor added the comment: Python 3.5.0 and 3.5.1 are out. I don't think that it's worth to add back bytes support is os.walk() in 3.5.2. I would prefer to do the opposite and really drop bytes support for all filenames in the whole stdlib in 3.6. It's really a bad idea to use bytes on

[issue13317] building with 2to3 generates wrong import paths because build_ext is run after build_py

2015-12-21 Thread Éric Araujo
Éric Araujo added the comment: I’m not active in python-dev anymore. The fix was noted in a previous comment: build.sub_commands in distutils.command.build should list "build_ext" before "build_py". lib2to3.fixes.fix_import will write global instead of local import statements else.

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Jon Ribbens
On 2015-12-21, Steven D'Aprano wrote: > On Tue, 22 Dec 2015 08:44 am, Jon Ribbens wrote about mail clients that use > the Subject line to thread messages: >> Also: Thunderbird, The Bat!, Eudora, Gnus, Outlook, Outlook Express, >> Pegasus Mail, Pine, Apple Mail, Windows Live

[issue25920] PyOS_AfterFork should reset socketmodule's lock

2015-12-21 Thread Yury Selivanov
Yury Selivanov added the comment: Maybe instead of releasing the lock in the forked child process, we should try to acquire the lock in the os.fork() implementation, and then release it? Otherwise, suppose that a call to getaddrinfo (call #1) takes a long amount of time. In the middle of it

Re: Ignore error with non-zero exit status

2015-12-21 Thread Terry Reedy
On 12/21/2015 9:05 AM, Thomas 'PointedEars' Lahn wrote: Chris Angelico wrote: On Tue, Dec 22, 2015 at 12:19 AM, Thomas 'PointedEars' Lahn wrote: Mark Lawrence wrote: On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote: Chris Angelico wrote: But it's been clearly

[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision

2015-12-21 Thread Alessandro Cucci
Alessandro Cucci added the comment: Uploaded a new patch after SilentGhost review comments. As he told me, I've left out milliseconds and nanoseconds, but refactored both python and c code so we could easily add support for them when they will be available. -- Added file:

[issue25920] PyOS_AfterFork should reset socketmodule's lock

2015-12-21 Thread Yury Selivanov
Changes by Yury Selivanov : -- components: +Interpreter Core nosy: +haypo, yselivanov stage: -> needs patch type: -> behavior versions: +Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue25920] PyOS_AfterFork should reset socketmodule's lock

2015-12-21 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___

Re: In Python 3, how to append a nested dictionary to a shelve file with the added difficulty of using a for loop?

2015-12-21 Thread Peter Otten
Aaron Christensen wrote: > Hello, > > I am trying to figure out how to populate a shelve file with a nested > dictionary. > > These are my requirements: > > -Create shelve file called people.db > -Append the shelve file with new people (person_1, person_2, etc.). > -Use a for loop to iterate

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Ian Kelly
On Mon, Dec 21, 2015 at 4:24 PM, Jon Ribbens wrote: > On 2015-12-21, Steven D'Aprano wrote: >> The whole purpose of the change of subject is to indicate in a human-visible >> way that the subject of the thread has changed, i.e. that it is a new

Re: Ignore error with non-zero exit status

2015-12-21 Thread Chris Angelico
On Tue, Dec 22, 2015 at 10:53 AM, Terry Reedy wrote: > Nothing has changed since except for > https://www.python.org/dev/peps/pep-0498/ > already added to 3.6. And the flip side of the argument is https://www.python.org/dev/peps/pep-0461/ in 3.5, expanding on percent

[issue4709] Mingw-w64 and python on windows x64

2015-12-21 Thread Steve Dower
Steve Dower added the comment: As an occasional Linux user, I notice a huge difference between pure Python and extension packages there, but basically always have a compiler handy on my Windows machines. It's all about context and what you're used to :) The advice has always been "Visual

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Jon Ribbens
On 2015-12-21, Ian Kelly wrote: > On Mon, Dec 21, 2015 at 1:58 PM, Ben Finney > wrote: >> Ian Kelly writes: >>> This isn't just a Usenet group; it's also a mailing list, and many >>> MUAs rely on the Subject header for

Re: Meaning and purpose of the Subject field

2015-12-21 Thread Thomas 'PointedEars' Lahn
Jon Ribbens wrote: > On 2015-12-21, Ian Kelly wrote: >> I can't specifically recall if I've used any MUA other than Gmail that >> even attempts threading email messages. > > Also: Thunderbird, The Bat!, Eudora, Gnus, Outlook, Outlook Express, > Pegasus Mail, Pine, Apple

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Steven D'Aprano
On Tue, 22 Dec 2015 08:44 am, Jon Ribbens wrote about mail clients that use the Subject line to thread messages: > Also: Thunderbird, The Bat!, Eudora, Gnus, Outlook, Outlook Express, > Pegasus Mail, Pine, Apple Mail, Windows Live Mail, Yahoo Mail, > Evolution, SquirrelMail, KMail, Windows Mail,

Re: Catogorising strings into random versus non-random

2015-12-21 Thread Christian Gollwitzer
Am 21.12.15 um 09:24 schrieb Peter Otten: Steven D'Aprano wrote: I have a large number of strings (originally file names) which tend to fall into two groups. Some are human-meaningful, but not necessarily dictionary words e.g.: baby lions at play saturday_morning12 Fukushima ImpossibleFork

[issue25873] Faster ElementTree iterating

2015-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a5d5268afd5 by Serhiy Storchaka in branch 'default': Issue #25873: Optimized iterating ElementTree. https://hg.python.org/cpython/rev/5a5d5268afd5 -- nosy: +python-dev ___ Python tracker

Re: Catogorising strings into random versus non-random

2015-12-21 Thread Christian Gollwitzer
Am 21.12.15 um 11:36 schrieb Steven D'Aprano: On Mon, 21 Dec 2015 08:56 pm, Christian Gollwitzer wrote: Apfelkiste:Tests chris$ python score_my.py -8.74 baby lions at play -7.63 saturday_morning12 -6.38 Fukushima -5.72 ImpossibleFork -10.6 xy39mGWbosjY -12.9 9sjz7s8198ghwt -12.1

Re: What could cause a plot fail in my code?

2015-12-21 Thread Peter Pearson
On Mon, 21 Dec 2015 09:29:24 -0800 (PST), Robert wrote: > On Monday, December 21, 2015 at 12:15:54 PM UTC-5, Robert wrote: >> Hi, >> >> I find a useful code snippet on link: >> >> http://stackoverflow.com/questions/25126444/logistic-regression-in-pymc/34400966#34400966 >> >>

Library function to encode data to multipart/form-data format?

2015-12-21 Thread Grant Edwards
Is there a standard library function that can be used to encode data into multipart/form-data format? IIRC, I looked for this once before and didn't find anything in the library. [I don't want to actually send an HTTP POST or an email message, I just need to generate sets of data for test

Re: Categorising strings on meaningful–meaningless spectrum (was: Catogorising strings into random versus non-random)

2015-12-21 Thread Steven D'Aprano
On Monday 21 December 2015 14:45, Ben Finney wrote: > Steven D'Aprano writes: > >> Let's call the second group "random" and the first "non-random", >> without getting bogged down into arguments about whether they are >> really random or not. > > I think we should discuss

[issue25902] Fixed various refcount issues in ElementTree iteration

2015-12-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Martin. Actually this patch is for 3.5 only. In 3.6 the code will be rewrote (issue25873). -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7 ___

Re: Ignore error with non-zero exit status

2015-12-21 Thread Thomas 'PointedEars' Lahn
Mark Lawrence wrote: > On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote: >> Chris Angelico wrote: >>> But it's been clearly stated that .format is not going to do away with >>> percent formatting, and all language of "new-style formatting" has been >>> removed so as not to cause confusion. >>

Re: Catogorising strings into random versus non-random

2015-12-21 Thread Vlastimil Brom
2015-12-21 4:01 GMT+01:00 Steven D'Aprano : > I have a large number of strings (originally file names) which tend to fall > into two groups. Some are human-meaningful, but not necessarily dictionary > words e.g.: > > > baby lions at play > saturday_morning12 > Fukushima >

Re: Ignore error with non-zero exit status

2015-12-21 Thread Thomas 'PointedEars' Lahn
Chris Angelico wrote: > On Tue, Dec 22, 2015 at 12:19 AM, Thomas 'PointedEars' Lahn > wrote: >> Mark Lawrence wrote: >>> On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote: Chris Angelico wrote: > But it's been clearly stated that .format is not going to do away

[issue25148] Windows registry PythonCore key changed inconsistent with other releases

2015-12-21 Thread Mark Hammond
Mark Hammond added the comment: It appears bdist_wininst wasn't updated for this so installed created by distutils don't work in 32bit versions - is there a different bug open for that? (Or I'm doing something wrong, but the installer fails and a quick scan of the source doesn't seem to

[issue25918] AssertionError in lib2to3 on 2.7.11 Windows

2015-12-21 Thread Marc Schlaich
Marc Schlaich added the comment: I'm attaching those bad files. -- Added file: http://bugs.python.org/file41378/PatternGrammar2.7.11.final.0.pickle ___ Python tracker

[issue25918] AssertionError in lib2to3 on 2.7.11 Windows

2015-12-21 Thread Marc Schlaich
Changes by Marc Schlaich : Added file: http://bugs.python.org/file41379/Grammar2.7.11.final.0.pickle ___ Python tracker ___

Re: Ignore error with non-zero exit status

2015-12-21 Thread Chris Angelico
On Tue, Dec 22, 2015 at 12:19 AM, Thomas 'PointedEars' Lahn wrote: > Mark Lawrence wrote: > >> On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote: >>> Chris Angelico wrote: But it's been clearly stated that .format is not going to do away with percent formatting,

Re: Ignore error with non-zero exit status

2015-12-21 Thread Chris Angelico
On Tue, Dec 22, 2015 at 1:05 AM, Thomas 'PointedEars' Lahn wrote: > Chris Angelico wrote: > >> On Tue, Dec 22, 2015 at 12:19 AM, Thomas 'PointedEars' Lahn >> wrote: >>> Mark Lawrence wrote: On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote: >

Re: Catogorising strings into random versus non-random

2015-12-21 Thread Vincent Davis
On Mon, Dec 21, 2015 at 7:25 AM, Vlastimil Brom wrote: > > baby lions at play > > saturday_morning12 > > Fukushima > > ImpossibleFork > > > > > > (note that some use underscores, others spaces, and some CamelCase) while > > others are completely meaningless (or mostly

Re: Ignore error with non-zero exit status

2015-12-21 Thread Thomas 'PointedEars' Lahn
Chris Angelico wrote: > […] Thomas 'PointedEars' Lahn […] wrote: >> Chris Angelico wrote: >>> […] Thomas 'PointedEars' Lahn […] wrote: Mark Lawrence wrote: > On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote: >> Chris Angelico wrote: >>> But it's been clearly stated that

Re: Meaning and purpose of the Subject field

2015-12-21 Thread Random832
Cameron Simpson writes: > Besides, changing the Subject line is _supposed_ to break the > threading in these contexts: such clients clearly consider the > discussion topic (subject) as sufficient definition of a thread, and > changing the topic should imply a new thread to such

Re: Newbie XML problem

2015-12-21 Thread Miki Tebeka
Hi, > config = {id: 1, canvas: (3840, 1024), comment: "a comment", > {id: 4, gate: 3, (0,0, 1280, 1024)}, > {id: 5, gate: 2, (1280, 0, 2560, 1024)}, > {id: 6, gate: 1, (2560, 0, 3840, 1024)}} This is not valid Python. Are you trying to have a list of

[issue25922] canceling a repair install breaks the ability to uninstall repair or re-install

2015-12-21 Thread Kyle S (MrStonedOne)
New submission from Kyle S (MrStonedOne): Title says all. It refuses to install from that point on, complaining that a reboot is needed. -- components: Installation, Windows messages: 256829 nosy: Kyle S (MrStonedOne), paul.moore, steve.dower, tim.golden, zach.ware priority: normal

[issue25922] canceling a repair install breaks the ability to uninstall, repair, or re-install

2015-12-21 Thread Kyle S (MrStonedOne)
Changes by Kyle S (MrStonedOne) : -- title: canceling a repair install breaks the ability to uninstall repair or re-install -> canceling a repair install breaks the ability to uninstall, repair, or re-install ___ Python tracker

[issue25827] Support ICC in configure

2015-12-21 Thread Zachary Ware
Zachary Ware added the comment: The buildbots appear to be happy with this, so I'm closing the issue. The intel-ubuntu-icc Non-Debug builders each had their first green build after this changeset. The OSX ICC builder still has some issues, but they seem to be OSX specific (see issue25589).

Newbie XML problem

2015-12-21 Thread KP
>From my first foray into XML with Python: I would like to retrieve this list from the XML upon searching for the 'config' with id attribute = 'B' config = {id: 1, canvas: (3840, 1024), comment: "a comment", {id: 4, gate: 3, (0,0, 1280, 1024)}, {id: 5, gate:

[issue25878] CPython on Windows builds with /W3, not /W4

2015-12-21 Thread Alexander Riccio
Alexander Riccio added the comment: > This should be about a 2 line change, but the current patch is several > hundred lines of spam. I agree, but wasn't immediately sure how to do so. Unfortunately, I've been working on other things, and I'm not sure when I'll be able to finish this.

[issue25921] project files for wininst-14.0*.exe don't exist

2015-12-21 Thread Mark Hammond
Mark Hammond added the comment: Awesome, thanks, sorry I missed that. -- ___ Python tracker ___ ___

Re: In Python 3, how to append a nested dictionary to a shelve file with the added difficulty of using a for loop?

2015-12-21 Thread Aaron Christensen
Hi Peter, Thanks for the response! Several things you stated definitely got me thinking. I really appreciate the response. I used what you said and I am able to accomplish what I needed. Thanks! Aaron On Mon, Dec 21, 2015 at 7:23 PM, Peter Otten <__pete...@web.de> wrote: > Aaron

Re: Catogorising strings into random versus non-random

2015-12-21 Thread Rick Johnson
On Sunday, December 20, 2015 at 10:22:57 PM UTC-6, Chris Angelico wrote: > DuckDuckGo doesn't give a result count, so I skipped it. Yahoo search yielded: So why bother to mention it then? Is this another one of your "pikeish" propaganda campaigns? --

[issue25878] CPython on Windows builds with /W3, not /W4

2015-12-21 Thread Zachary Ware
Zachary Ware added the comment: That's alright, it'll be here whenever you come back to it, unless somebody else takes it up :) By the way, my wording was poor in my previous message. My 'hundreds of lines of spam' remark was not meant to disparage your patch, but rather Visual Studio's

[issue25921] project files for wininst-14.0*.exe don't exist

2015-12-21 Thread Mark Hammond
New submission from Mark Hammond: Revision 34b35aa1967d pushed new versions of wininst-14.8*.exe, but didn't include the VS project files required to build it, thus meaning it can't reasonably be built from the source tree. -- components: Build messages: 256823 nosy: mhammond,

Re: Meaning and purpose of the Subject field (was: Ignore error with non-zero exit status)

2015-12-21 Thread Cameron Simpson
On 22Dec2015 10:14, Steven D'Aprano wrote: On Tue, 22 Dec 2015 08:44 am, Jon Ribbens wrote about mail clients that use the Subject line to thread messages: Also: Thunderbird, The Bat!, Eudora, Gnus, Outlook, Outlook Express, Pegasus Mail, Pine, Apple Mail, Windows Live

[issue25921] project files for wininst-14.0*.exe don't exist

2015-12-21 Thread Zachary Ware
Zachary Ware added the comment: The project file was moved to PC/bdist_wininst/bdist_wininst.vcxproj. See 55e5be11264e. It's still included in the build solution, but not in the project used for building from the command line. -- nosy: +zach.ware resolution: -> not a bug stage: ->

[issue4709] Mingw-w64 and python on windows x64

2015-12-21 Thread Ralf Gommers
Ralf Gommers added the comment: > @Steve Great, so what needs to be done so that I as a package developer can > do `pip install windows-build-system`, `python setup.py bdist_wheel` and it > actually creates a wheel? (which AFAICT is the same problem). Hi Henry, I expect progress on the

[issue4709] Mingw-w64 and python on windows x64

2015-12-21 Thread Henry Gomersall
Henry Gomersall added the comment: @carlkl right, but it's not really a seamless experience. I think my question is: What needs to still be done in order that a user with a fresh Python install in Windows (and no compiler installed) can do "pip install an_extension_that_needs_compiling" and

[issue25918] AssertionError in lib2to3 on 2.7.11 Windows

2015-12-21 Thread Marc Schlaich
Marc Schlaich added the comment: The issue is in Grammar2.7.11.final.0.pickle or PatternGrammar2.7.11.final.0.pickle. I have copied these files to my manually built Python and getting the same issue in this case. -- ___ Python tracker

Re: Python 3.1 test issue

2015-12-21 Thread rakeshravinlr
On Wednesday, December 16, 2015 at 11:53:14 PM UTC+5:30, George Trojan wrote: > I installed Python 3.1 on RHEL 7.2. The command make test hangs (or > takes a lot of time) on test_subprocess. > > [396/397] test_subprocess > ^C > Test suite interrupted by signal SIGINT. > 5 tests omitted: >

[issue25148] Windows registry PythonCore key changed inconsistent with other releases

2015-12-21 Thread Steve Dower
Steve Dower added the comment: That's a possibility. I won't have a chance to check for a few days, but it should get another bug if it's wrong. -- ___ Python tracker

Re: Catogorising strings into random versus non-random

2015-12-21 Thread Peter Otten
Steven D'Aprano wrote: > I have a large number of strings (originally file names) which tend to > fall into two groups. Some are human-meaningful, but not necessarily > dictionary words e.g.: > > > baby lions at play > saturday_morning12 > Fukushima > ImpossibleFork > > > (note that some use

Re: Catogorising strings into random versus non-random

2015-12-21 Thread Steven D'Aprano
On Monday 21 December 2015 15:22, Chris Angelico wrote: > On Mon, Dec 21, 2015 at 2:01 PM, Steven D'Aprano > wrote: >> I have a large number of strings (originally file names) which tend to >> fall into two groups. Some are human-meaningful, but not necessarily >> dictionary

[issue25902] Fixed various refcount issues in ElementTree iteration

2015-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 00b6a13cfd70 by Serhiy Storchaka in branch '3.5': Issue #25902: Fixed various refcount issues in ElementTree iteration. https://hg.python.org/cpython/rev/00b6a13cfd70 New changeset e09cb2af3092 by Serhiy Storchaka in branch 'default': Issue #25902:

[issue25911] Regression: os.walk now using os.scandir() breaks bytes filenames on windows

2015-12-21 Thread Eryk Sun
Eryk Sun added the comment: The ANSI API is problematic because it returns a best-fit encoding to the system codepage. For example: >>> os.listdir('.') ['ƠƨưƸǀLjǐǘǠǨǰǸ'] >>> os.listdir(b'.') [b'O?u?|?iu?Kj?'] To somewhat work around this problem, listdir and scandir could

[issue25918] AssertionError in lib2to3 on 2.7.11 Windows

2015-12-21 Thread Marc Schlaich
Marc Schlaich added the comment: After deleting them, they are getting recreated and everything works now. -- ___ Python tracker ___

Re: Catogorising strings into random versus non-random

2015-12-21 Thread Steven D'Aprano
On Mon, 21 Dec 2015 08:56 pm, Christian Gollwitzer wrote: > Apfelkiste:Tests chris$ python score_my.py > -8.74 baby lions at play > -7.63 saturday_morning12 > -6.38 Fukushima > -5.72 ImpossibleFork > -10.6 xy39mGWbosjY > -12.9 9sjz7s8198ghwt > -12.1 rz4sdko-28dbRW00u > Apfelkiste:Tests

[issue25869] Faster ElementTree deepcopying

2015-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 090c3e3a648d by Serhiy Storchaka in branch 'default': Issue #25869: Optimized deepcopying ElementTree; it is now 20 times faster. https://hg.python.org/cpython/rev/090c3e3a648d -- nosy: +python-dev ___

[issue25918] AssertionError in lib2to3 on 2.7.11 Windows

2015-12-21 Thread Marc Schlaich
New submission from Marc Schlaich: This simple test case results in a lib2to3 crash with an AssertionError in 2.7.11 source = ''' class Test(object): tests = [] ''' from lib2to3.refactor import RefactoringTool def main(): tool = RefactoringTool([])

[issue23670] Modifications to support iOS as a cross-compilation target

2015-12-21 Thread Nick Coghlan
Nick Coghlan added the comment: Mac OS X 10.5 was the last version to support PowerPC architectures, and according to https://en.wikipedia.org/wiki/Mac_OS_X_Leopard#Release_history, the final version of that was 10.5.8, released in August 2009. While we don't have a section in

Re: Catogorising strings into random versus non-random

2015-12-21 Thread Christian Gollwitzer
Am 21.12.15 um 11:53 schrieb Christian Gollwitzer: So for the spaces, either use a proper trainig material (some long corpus from Wikipedia or such), with punctuation removed. Then it will catch the correct probabilities at word boundaries. Or preprocess by removing the spaces. Christian

[issue4709] Mingw-w64 and python on windows x64

2015-12-21 Thread Steve Dower
Steve Dower added the comment: > What needs to still be done in order that a user with a fresh Python install > in Windows (and no compiler installed) can do "pip install > an_extension_that_needs_compiling" and it _just works_? The package developer takes the time to build a wheel on Windows

[issue25911] Regression: os.walk now using os.scandir() breaks bytes filenames on windows

2015-12-21 Thread Ben Hoyt
Ben Hoyt added the comment: Just to clarify what Victor and Zachary mentioned: bytes filenames have been deprecated only *on Windows* since Python 3.3; bytes filenames are still fine on POSIX. -- ___ Python tracker

[issue25848] Tkinter tests failed on Windows buildbots

2015-12-21 Thread Larry Hastings
Larry Hastings added the comment: I hear your plea. But isn't it almost as easy to just leave it alone? 3.4 won't get many checkins from now on, so it won't actually kick off many tasks. But it would mean the "check the buildbots" step of making a release would be super easy, rather than

[issue25914] Fix OrderedDict.__sizeof__

2015-12-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0a2ea08fcebe by Serhiy Storchaka in branch '3.5': Issue #25914: Fixed and simplified OrderedDict.__sizeof__. https://hg.python.org/cpython/rev/0a2ea08fcebe New changeset 624316fbb39d by Serhiy Storchaka in branch 'default': Issue #25914: Fixed and

[issue25914] Fix OrderedDict.__sizeof__

2015-12-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker

IDLE 3.5.1 quits unexpectedly (portuguese keyboard)

2015-12-21 Thread Osvaldo Dias dos Santos
Hi, Pressing the tilde key my iMac portuguese keyboard quits IDLE unexpectedly (along with any associated files I may be working on, including code). The keyboard image is attached. The tilde key is the second orange one from the top. This key is very important in this language, because

Error

2015-12-21 Thread Amaan Hussain
Hello. I get an error saying "api-ms-win-crt-runtime-l1-1-0.dll is missing" Can you tell me how to fix this. Thanks -- https://mail.python.org/mailman/listinfo/python-list

Re: Ignore error with non-zero exit status

2015-12-21 Thread Mark Lawrence
On 21/12/2015 07:51, Thomas 'PointedEars' Lahn wrote: Chris Angelico wrote: But it's been clearly stated that .format is not going to do away with percent formatting, and all language of "new-style formatting" has been removed so as not to cause confusion. Wishful thinking, twice.

[issue4709] Mingw-w64 and python on windows x64

2015-12-21 Thread Henry Gomersall
Henry Gomersall added the comment: @Steve Great, so what needs to be done so that I as a package developer can do `pip install windows-build-system`, `python setup.py bdist_wheel` and it actually creates a wheel? (which AFAICT is the same problem). My interest is precisely as a package

[issue25869] Faster ElementTree deepcopying

2015-12-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue25900] unittest ignores the first ctrl-c when it shouldn't

2015-12-21 Thread Michael Foord
Michael Foord added the comment: Suggested behaviour sounds good, patch looks sensible. Is it possible to add a test too? -- ___ Python tracker ___

[issue25873] Faster ElementTree iterating

2015-12-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

Please help

2015-12-21 Thread Abdul Basit
I am receiving this error while installing python interpreter version 3.5.1 (32 bit) Error is " This program cannot start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer" I reinstalled this file but again this error message What should I do to remove this issue kindly

[no subject]

2015-12-21 Thread Animesh Srivastava
While installin python3.5.1 i m getting 0xc07b error Please reslove it -- https://mail.python.org/mailman/listinfo/python-list

  1   2   >