Re: nonlocal fails ?

2019-11-23 Thread Chris Angelico
On Sun, Nov 24, 2019 at 10:19 AM Richard Damon wrote: > Yes, as presented, it doesn't handle the concept of scope of variables, > but that starts to get into more complexity than you might want for a > simple model, and it is simple to extend to handle it, either every > scope gets a different col

Re: nonlocal fails ?

2019-11-23 Thread Richard Damon
On 11/23/19 4:18 PM, Peter J. Holzer wrote: > On 2019-11-14 20:29:01 -0500, Dennis Lee Bieber wrote: >> Instead, at a simple level (a common description invokes "Post-It" >> notes) >> >> x = y >> >> means /find/ the object (somewhere in memory) that has a note "y" stuck to >> it.

Re: Python Resources related with web security

2019-11-23 Thread DL Neil via Python-list
Curiosity: why have recent similar enquiries also come from non-resolving domain names? Recently we've seen security-related enquiries (on more than one Python Discussion List) which don't explicitly claim to come from 'white hat hackers' but which do have the potential to have less-than prod

Re: nonlocal fails ?

2019-11-23 Thread Peter J. Holzer
On 2019-11-14 20:29:01 -0500, Dennis Lee Bieber wrote: > Instead, at a simple level (a common description invokes "Post-It" > notes) > > x = y > > means /find/ the object (somewhere in memory) that has a note "y" stuck to > it. Without moving the "y" note, attach an "x" note t

Python Resources related with web security

2019-11-23 Thread Pycode
Hello, can anyone post links for python resources that contain tools and scripts related with security and pentesting? not looking for the obvious such as OWASP,etc can anyone post a list of interesting links? you can also include blogs and forums.. Thanks -- https://mail.python.org/mailman/l

Re: Global variable is undefined at the module level

2019-11-23 Thread Pieter van Oostrum
jacksonhaenc...@gmail.com writes: > This is not accurate. I just tested this in python3 and using the global > keyword allowed me to declare a variable inside the function that was > then visible from the outer scope. What do you mean by that? Anything other than what was said here? > On Tuesday

Would like some design feedback.

2019-11-23 Thread Antoon Pardon
I am working on a module that works out this idea of a piline in python http://code.activestate.com/recipes/580625-collection-pipeline-in-python I have a number of design questions I would like some feedback on. 1) In the recipe the '|' is used as the pipe line operator. I like that for its simi