Re: stop prohibition of comp.lang.python ! D'Oliveiro should wear this as a badge of honour.

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 11:06:30 PM UTC, P. timoriensis wrote: > >> stop prohibition of comp.lang.python ! > >> > >> it is childish to do this prohibition business ! > >> > >> don't you have spam filters ? > > > > The prohibition part of the subject line is added by Lawrence D'Oliveiro > >

Re: Copy-on-write friendly Python garbage collection (Posting On Python-List Prohibited)

2018-01-01 Thread Niles Rogoff
> Niles, if you want to claim wxjmfauth is right, you'll have to present > some actual evidence.  He's claimed for years that Python's Unicode > support is buggy (as he does here), without ever demonstrating a bug. > We've long ago tired of trying to reason with him. > > The tradeoffs of memory u

Re: ✨🍰✨ python 2018 wiki - a piece of cake ✨🍰✨

2018-01-01 Thread Chris Angelico
On Tue, Jan 2, 2018 at 9:44 AM, wrote: > On Monday, January 1, 2018 at 2:54:26 PM UTC, S. I. wrote: >> https://practical-scheme.net/wiliki/wiliki.cgi?python >> >> no register, no nothing ! just edit. >> >> ✨🍰✨ python - a piece of cake ✨🍰✨ >> >> just edit or enter acode.py entry with

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread Chris Angelico
On Tue, Jan 2, 2018 at 9:11 AM, wrote: > On Monday, January 1, 2018 at 9:35:06 PM UTC, Chris Angelico wrote: >> On Tue, Jan 2, 2018 at 7:16 AM, Chris Green wrote: >> > Dennis Lee Bieber wrote: >> >> >> >> Well... "break" does bypass the rest of the block, but it still >> >> exits >> >> v

Re: ✨🍰✨ python 2018 wiki - a piece of cake ✨🍰✨

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 2:54:26 PM UTC, S. I. wrote: > https://practical-scheme.net/wiliki/wiliki.cgi?python > > no register, no nothing ! just edit. > > ✨🍰✨ python - a piece of cake ✨🍰✨ > > just edit or enter acode.py entry with > > {{{ > > print(" oh yes, 2018 ") > >

Re: stop prohibition of comp.lang.python !

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 3:00:19 PM UTC, S. I. wrote: > stop prohibition of comp.lang.python ! > > it is childish to do this prohibition business ! > > don't you have spam filters ? The prohibition part of the subject line is added by Lawrence D'Oliveiro when he posts on google groups as h

web fw performance with Erlang

2018-01-01 Thread Wu Xi
>> Well, a little implicitly. Pointing out Erlang superiority in a pythonic >> newsgroup is, of course, heresy. > > Python is fourth in the latest TIOBE index, Erlang doesn't even make the top > 20, so in what way is it superior? > > Python doesn't need Pinky and the Brain in its quest to take

Re: ... (Posting On Python-List Prohibited)

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 9:28:01 PM UTC, Wu Xi wrote: > > Blocking of spamming and trolling prevents oppression of people who want to > > use the list, funded by PSF, for its purpose, discussion of Python. > > why are PSF funds privileged over anybody else's fund, which has zero > privilege

Re: ... (Posting On Python-List Prohibited)

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 10:21:15 PM UTC, P. timoriensis wrote: > >>> Blocking of spamming and trolling prevents oppression of people who want > >>> to use the list, funded by PSF, for its purpose, discussion of Python. > >> > >> why are PSF funds privileged over anybody else's fund, which ha

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 9:35:06 PM UTC, Chris Angelico wrote: > On Tue, Jan 2, 2018 at 7:16 AM, Chris Green wrote: > > Dennis Lee Bieber wrote: > >> > >> Well... "break" does bypass the rest of the block, but it still > >> exits > >> via the end of the block. I have a tendency to try

Humble Book Bundle: Python by Packt

2018-01-01 Thread beliavsky--- via Python-list
One can purchase the following Python books and videos published by Packt for $15 at https://www.humblebundle.com/books/python-by-packt-book-bundle for about the next two weeks. Python Data Analysis Cookbook Mastering Python, Second Edition Learning Robotics using Python Python Programming with

Re: ... (Posting On Python-List Prohibited)

2018-01-01 Thread Peter J. Holzer
On 2018-01-01 21:27:00 +, Wu Xi wrote: > > Blocking of spamming and trolling prevents oppression of people who > > want to use the list, funded by PSF, for its purpose, discussion of > > Python. > > why are PSF funds privileged over anybody else's fund, which has zero > privilege? Because the

Re: ... (Posting On Python-List Prohibited)

2018-01-01 Thread Chris Angelico
On Tue, Jan 2, 2018 at 8:27 AM, Wu Xi wrote: > >> Blocking of spamming and trolling prevents oppression of people who want to >> use the list, funded by PSF, for its purpose, discussion of Python. > > why are PSF funds privileged over anybody else's fund, which has zero > privilege? If you want

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread Chris Angelico
On Tue, Jan 2, 2018 at 7:16 AM, Chris Green wrote: > Dennis Lee Bieber wrote: >> >> Well... "break" does bypass the rest of the block, but it still exits >> via the end of the block. I have a tendency to try for one "return" per >> procedure (so I'm more likely to have an "if ...: break"

Re: ... (Posting On Python-List Prohibited)

2018-01-01 Thread Wu Xi
> Blocking of spamming and trolling prevents oppression of people who want to > use the list, funded by PSF, for its purpose, discussion of Python. why are PSF funds privileged over anybody else's fund, which has zero privilege? -- https://mail.python.org/mailman/listinfo/python-list

Re: ... (Posting On Python-List Prohibited)

2018-01-01 Thread Terry Reedy
On 1/1/2018 1:28 PM, Wu Xi wrote: on https://mail.python.org/pipermail/python-list/2018-January/subject.html#start which feeds intocomp.lang.python, a lot of messages are missing. Appearantly there is some oppression scheme going on. Blocking of spamming and trolling prevents o

Re: Copy-on-write friendly Python garbage collection (Posting On Python-List Prohibited)

2018-01-01 Thread Ned Batchelder
On 1/1/18 1:49 PM, Niles Rogoff wrote: On Mon, 01 Jan 2018 10:42:58 -0800, breamoreboy wrote: On Monday, January 1, 2018 at 10:14:59 AM UTC, wxjm...@gmail.com wrote: Le lundi 1 janvier 2018 08:35:53 UTC+1, Lawrence D’Oliveiro a écrit : On Monday, January 1, 2018 at 7:52:48 AM UTC+13, Paul Rub

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread Chris Green
Dennis Lee Bieber wrote: > > Well... "break" does bypass the rest of the block, but it still exits > via the end of the block. I have a tendency to try for one "return" per > procedure (so I'm more likely to have an "if ...: break" then "if ...: > return"). I have always tried to enforc

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread John Q Hacker
Sorry, delete string "n't". I mean that you would strcuture your code with that architecture. Hate that. marxos On 1/1/18, John Q Hacker wrote: >>> I don’t use gotos in C code. Why should it be “harder” in a higher-level >>> language? >> >> Good for you. >> >> Looking at 14 million lines of Li

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread John Q Hacker
>> I don’t use gotos in C code. Why should it be “harder” in a higher-level >> language? > > Good for you. > > Looking at 14 million lines of Linux kernel sources, which are in C, > over 100,000 of them use 'goto'. About one every 120 lines. Most use of goto's implies a lack of understanding of th

Re: How to create a python extension module from a shared library?

2018-01-01 Thread Etienne Robillard
So far I found the SWIG method quite good. But I really think that I will try patching CFFI to use libclang natively. Etienne Le 2017-12-29 à 20:00, Etienne Robillard a écrit : Hi all, I would like to extend uWSGI by creating a CPython extension module for the libuwsgi.so shared library inc

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread From
(Posting On Python-List Prohibited) why ? -- https://mail.python.org/mailman/listinfo/python-list

Re: Copy-on-write friendly Python garbage collection

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 12:53:03 PM UTC, Wu Xi wrote: > breamoreboy: > > On Sunday, December 31, 2017 at 6:19:13 PM UTC, Wu Xi wrote: > >> breamoreboy: > >>> An interesting write up on something that is incorporated into Python 3.7 > >>> https://engineering.instagram.com/copy-on-write-friend

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread bartc
On 01/01/2018 15:06, From wrote: (Posting On Python-List Prohibited) why ? Huh? I'm posting to the usenet group comp.lang.python (an off-topic reply to an off-topic remark, but it happens). I've no idea what the prohibited part is about, if that's what you're pos

Re: Scientific Python moving to Python 3 only.

2018-01-01 Thread MRAB
On 2018-01-01 06:10, Terry Reedy wrote: https://github.com/numpy/numpy/blob/master/doc/neps/dropping-python2.7-proposal.rst Numpy people currently plan to stop adding features to their 2.7 branch after Dec 31, 2018 and stop adding bug fixes to the last version supporting 2.7 a year later, Dec 31

Re: Copy-on-write friendly Python garbage collection (Posting On Python-List Prohibited)

2018-01-01 Thread Niles Rogoff
On Mon, 01 Jan 2018 10:42:58 -0800, breamoreboy wrote: > On Monday, January 1, 2018 at 10:14:59 AM UTC, wxjm...@gmail.com wrote: >> Le lundi 1 janvier 2018 08:35:53 UTC+1, Lawrence D’Oliveiro a écrit : >> > On Monday, January 1, 2018 at 7:52:48 AM UTC+13, Paul Rubin wrote: >> > > I wonder if thing

... (Posting On Python-List Prohibited)

2018-01-01 Thread Wu Xi
>>     (Posting On Python-List Prohibited) >> why ? > I'm posting to the usenet group comp.lang.python (an off-topic reply to an > off-topic remark, but it happens). > I've no idea what the prohibited part is about, if that's what you're posting > about. But there have been dozens o

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread bartc
On 01/01/2018 14:54, Peter J. Holzer wrote: On 2017-12-30 11:07:56 -0500, Dennis Lee Bieber wrote: Yes. I don't know any language which enforces "pure" structured programming. They all have some constructs (goto, break, return, exceptions, ...) to leave a block early. I don't think that invali

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread Peter J. Holzer
On 2017-12-30 11:07:56 -0500, Dennis Lee Bieber wrote: > On Sat, 30 Dec 2017 13:46:14 +0100, "Peter J. Holzer" > declaimed the following: > > >I don't think this is correct. Structured programming is much older: > >ALGOL 60 was already a block structured language and Dijkstra wrote > >"goto consi

Re: tkinter MP working like a charm

2018-01-01 Thread Wu Xi
Abdur-Rahmaan Janhangeer: > it seems that the original poster's mail went missing > > leugenpresse means lying press btw > > weird > > i doubt the author wanted to prank us by announcing i did this and that. > > Abdur-Rahmaan Janhangeer, > Mauritius > abdurrahmaanjanhangeer.wordpress.com > > O

Re: Mr. Conway in 50 lines of code (Posting On Python-List Prohibited)

2018-01-01 Thread Wu Xi
the short versions are not equivalent, proggy won't work with them > def neighbours(point): > x,y = point > > yield x + 1 , y > yield x - 1 , y > yield x , y + 1 > yield x , y - 1 #this is proof that life can emerge > inside of computers and cellular automat

Re: Anaconda Navigator : Add App

2018-01-01 Thread Ian
Anaconda is v3.6 very 2017'ish by now... ;-) -- https://mail.python.org/mailman/listinfo/python-list

Re: you shortened it, but you broke it too... ;-)

2018-01-01 Thread Ned Batchelder
On 12/31/17 8:15 PM, Wu Xi wrote: def neighbours(point): x,y = point yield x + 1 , y yield x - 1 , y yield x , y + 1 yield x , y - 1 #this is proof that life can emerge inside of computers and cellular automatons, yield x + 1 , y + 1

Re: tkinter MP working like a charm - almost...

2018-01-01 Thread Wu Xi
from tkinter import * ; from tkinter import messagebox import asyncio , random async def one_url(url): """ This is a multi threaded tkinter demo where tasks run in the background and aim to not freeze the tk GUI, py v3.7""" sec = random.randint(1, 8) await asyncio.sleep(sec )

Re: Copy-on-write friendly Python garbage collection

2018-01-01 Thread Wu Xi
breamore...@gmail.com: > On Sunday, December 31, 2017 at 6:19:13 PM UTC, Wu Xi wrote: >> breamoreboy: >>> An interesting write up on something that is incorporated into Python 3.7 >>> https://engineering.instagram.com/copy-on-write-friendly-python-garbage-collection-ad6ed5233ddf >> >> Appearantly,

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread breamoreboy
On Sunday, December 31, 2017 at 6:56:16 PM UTC, bartc wrote: > On 31/12/2017 17:01, breamoreboy wrote: > > >Further I've never once in 17 years of using Python been tearing my hair out > >over the lack of goto > > Neither have I over all the advanced features of Python I never use, and > for do

Re: Copy-on-write friendly Python garbage collection

2018-01-01 Thread breamoreboy
On Sunday, December 31, 2017 at 6:19:13 PM UTC, Wu Xi wrote: > breamoreboy: > > An interesting write up on something that is incorporated into Python 3.7 > > https://engineering.instagram.com/copy-on-write-friendly-python-garbage-collection-ad6ed5233ddf > > Appearantly, Erlang is the way to go, w

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread bartc
On 01/01/2018 00:40, MRAB wrote: On 2017-12-31 23:21, bartc wrote: [Block delimiting] proc fn2(int a)= ... end (or possibly "inline f123="). [snip] OT: if "case ... esac" and "if ... fi", why not "proc ... corp"? :-) (I don't think Algol-68 used corp otherwise it might have been copied

Re: Copy-on-write friendly Python garbage collection

2018-01-01 Thread INADA Naoki
FYI: https://bugs.python.org/issue31558 INADA Naoki On Mon, Jan 1, 2018 at 12:39 AM, wrote: > An interesting write up on something that is incorporated into Python 3.7 > https://engineering.instagram.com/copy-on-write-friendly-python-garbage-collection-ad6ed5233ddf > > -- > Kindest regards.