return from function

2015-12-21 Thread Emil Natan
I'm completely new to Python. I have the following function to find the parent for domain. It removes the left most label from the name and then checks if SOA record exists for the reminder, if not it calls itself recursively removing another label and checking again for SOA record. It works well

Re: (Execution) Termination bit, Alternation bit.

2015-12-21 Thread Skybuck Flying
The original idea I posted is less about sending a signal to another processor. It is more about how to break out of an instruction sequence. Example of problem: Main: while Condition1 do begin while Condition2 do begin while Condition3 do begin Routine1

v3.5.1 - msi download

2015-12-21 Thread Renato Emanuel Dysangco
hello is an **.msi* version of your *Python 3.5.1 (32 bit)* in the pipeline soon? thanks for your time -- https://mail.python.org/mailman/listinfo/python-list

Re: return from function

2015-12-21 Thread Jon Ribbens
On 2015-12-20, Emil Natan wrote: > I have the following function to find the parent for domain. It removes the > left most label from the name and then checks if SOA record exists for the > reminder, if not it calls itself recursively removing another label and > checking again

Re: v3.5.1 - msi download

2015-12-21 Thread Mark Lawrence
On 19/12/2015 17:45, Renato Emanuel Dysangco wrote: hello is an **.msi* version of your *Python 3.5.1 (32 bit)* in the pipeline soon? thanks for your time msi files are not being made available for 3.5. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do

[issue25918] AssertionError in lib2to3 on 2.7.11 Windows

2015-12-21 Thread Zachary Ware
Changes by Zachary Ware : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___

Re: Ignore error with non-zero exit status

2015-12-21 Thread Random832
Thomas 'PointedEars' Lahn writes: > Chris Angelico wrote: CA Proof that percent formatting isn't planned for deprecation, much less CA removal. TL>>> Then it would have failed to accomplish that. CA There is strong support for it in certain quarters of python-dev. […] TL>>> There

Re: Catogorising strings into random versus non-random

2015-12-21 Thread duncan smith
On 21/12/15 03:01, 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 > > >

Re: Catogorising strings into random versus non-random

2015-12-21 Thread Ian Kelly
On Mon, Dec 21, 2015 at 9:40 AM, duncan smith wrote: > Finite state machine / transition matrix. Learn from some English text > source. Then process your strings by lower casing, replacing underscores > with spaces, removing trailing numeric characters etc. Base your score

[issue25848] Tkinter tests failed on Windows buildbots

2015-12-21 Thread Zachary Ware
Zachary Ware added the comment: Larry: considering that 3.4 is now officially out of bugfix mode, how long do you want to keep the 3.4 buildbots around? From a selfish buildmaster configurator perspective, axing the 3.4 bots simplifies a few things :) --

[issue20440] Use Py_REPLACE/Py_XREPLACE macros

2015-12-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: According to the results of recent poll [1], Py_SETREF is the most popular candidate. It was also one of leaders in previous poll [2], and this is a name used in original Antoine's proposition [3]. [1]

Re: v3.5.1 - msi download

2015-12-21 Thread Zachary Ware
On Mon, Dec 21, 2015 at 6:49 AM, Mark Lawrence wrote: > On 19/12/2015 17:45, Renato Emanuel Dysangco wrote: >> >> hello >> >> is an **.msi* version of your *Python 3.5.1 (32 bit)* in the pipeline >> soon? >> >> thanks for your time >> > > msi files are not being made

Re: Ignore error with non-zero exit status

2015-12-21 Thread Mark Lawrence
On 21/12/2015 14:19, Thomas 'PointedEars' Lahn wrote: 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

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

2015-12-21 Thread Zachary Ware
Zachary Ware added the comment: I like Serhiy's suggestion to use the old walk implementation on Windows if the argument is bytes, with a DeprecationWarning (like all other bytes operations in os on Windows). There was no warning that bytes paths would stop working with os.walk, so we should

What could cause a plot fail in my code?

2015-12-21 Thread Robert
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"

[issue4709] Mingw-w64 and python on windows x64

2015-12-21 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___

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

2015-12-21 Thread Robert
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 > > but it has error on plot function. The error message is as following: > - >

Re: Catogorising strings into random versus non-random

2015-12-21 Thread Mark Lawrence
On 21/12/2015 16:49, Ian Kelly wrote: On Mon, Dec 21, 2015 at 9:40 AM, duncan smith wrote: Finite state machine / transition matrix. Learn from some English text source. Then process your strings by lower casing, replacing underscores with spaces, removing trailing

Re: Catogorising strings into random versus non-random

2015-12-21 Thread Paul Rubin
Steven D'Aprano writes: > Does anyone have any suggestions for how to do this? Preferably something > already existing. I have some thoughts and/or questions: I think I'd just look at the set of digraphs or trigraphs in each name and see if there are a lot that aren't found

Re: Catogorising strings into random versus non-random

2015-12-21 Thread duncan smith
On 21/12/15 16:49, Ian Kelly wrote: > On Mon, Dec 21, 2015 at 9:40 AM, duncan smith wrote: >> Finite state machine / transition matrix. Learn from some English text >> source. Then process your strings by lower casing, replacing underscores >> with spaces, removing

<    1   2