On 2018-10-12 14:07:56 -0500, Tim Daneliuk wrote:
> On 10/11/2018 12:15 AM, Gregory Ewing wrote:
> > But it's not like that at all. As far as I know, all the
> > attempts that have been made so far to remove the GIL have
> > led to performance that was less than satisfactory. It's a
> > hard proble
On 2018-10-08 20:13:38 +, Grant Edwards wrote:
> On 2018-10-08, Peter J. Holzer wrote:
> > Theoretically I would agree with you: Just use a single tab per
> > indentation level and let the user decide whether that's displayed
> > as 2, 3, 4, or 8 spaces or 57 pixels or whatever.
> >
> > In pra
On 2018-10-09 09:55:34 +0200, Antoon Pardon wrote:
> On 08-10-18 19:43, Peter J. Holzer wrote:
> > On 2018-10-08 10:36:21 +1100, Chris Angelico wrote:
> >> How wide my indents are on my screen shouldn't influence your screen
> >> or your choices.
> > Theoretically I would agree with you: Just use a
On Friday, October 12, 2018 at 8:41:12 PM UTC+1, Paul Rubin wrote:
> 1) If you keep the existing refcount mechanism, you have to put locks
> around all the refcounts, which kills performance since refcounts are
> updated all the time.
I think BUFFERED multi-core reference count garbage collection
Hello,
I’m running a script which basically does a traceroute to the list of hosts
provided, and then pulls up some info by logging in to gateways in the path.
I am running this script for a list of almost 40k hosts in our data centers.
Also, I am using commands module to get the traceroute output.
>Hello,
>I’m running a script which basically does a traceroute to the list of
hosts provided, and then pulls up some info by logging in to gateways in
the path.
>I am running this script for a list of almost 40k hosts in our data
centers.
>Also, I am using commands module to get the traceroute out
dieter :
> Marko Rauhamaa writes:
>> However, I challenge the notion that creating hundreds of thousands of
>> temporary objects is stupid. I suspect that the root cause of the
>> lengthy pauses is that the program maintains millions of *nongarbage*
>> objects in RAM (a cache, maybe?).
>
> Definit
Paul Rubin :
> Note that Java has a lot of [GC] options to choose from:
> https://docs.oracle.com/javase/9/gctuning/available-collectors.htm
I'm all for GC, but Java's GC tuning options are the strongest
counter-argument against it. The options just shift the blame from the
programming language to
On Fri, 12 Oct 2018 09:12:03 -0700, Rob Gaddi wrote:
> On 10/11/2018 11:29 PM, Kaan Taze wrote:
>> Hi everyone,
>>
>> Since this is my first post to mail-list I'm kind of hesitant to ask
>> this question here but as many of you spend years working with Python
>> maybe some of you can guide me.
>>
become wiser in python
me i came from c/java and was doing
for i in range(0, len(list)):
# get list item by index
instead of
for item in list:
XD
well the more you are exposed to py, the better you knoe hoe things work.
reading source of popular projects is really great, and ...
I use a Python script (called directly by '| ' in
.forward) which routes incoming mail to various mailboxes according to
the mailing list it's from (plus a few other criteria). The first
lines of the program are:-
#!/usr/bin/python
#
#
# Mail filtering script
#
import
Hi Shakti
You wrote:
> out = commands.getstatusoutput('traceroute ' + ip)
The page
https://docs.python.org/3/library/subprocess.html#legacy-shell-invocation-functions
describes subprocess.getstatusoutput as one of the "legacy functions from the
2.x commands module. These operations implicitly
Stefan Ram wrote:
> Chris Green writes:
> >msg.get
>
> You can get some information about »get«:
>
> print( "msg.get.__doc__ =", msg.get.__doc__ )
> print( "msg.get.__func__ =", msg.get.__func__ )
> print( "msg.get.__self__ =", msg.get.__self__ )
> print( "msg.get.__str__() =", msg.get.__str_
On 2018-10-13 17:28:27 +0100, Chris Green wrote:
> ('msg.get.__doc__ =', 'Get a header value.\n\nLike
> __getitem__() but return failobj instead of None when the field\n
> is missing.\n')
>
> However it isn't mentioned *anywhere* in the documentation that I can
> see.
On 13/10/2018 18:28, Chris Green wrote:
Stefan Ram wrote:
Chris Green writes:
msg.get
You can get some information about »get«:
print( "msg.get.__doc__ =", msg.get.__doc__ )
print( "msg.get.__func__ =", msg.get.__func__ )
print( "msg.get.__self__ =", msg.get.__self__ )
print( "msg.get._
Chris Green wrote:
> Stefan Ram wrote:
> > Chris Green writes:
> > >msg.get
> >
> > You can get some information about »get«:
> >
> > print( "msg.get.__doc__ =", msg.get.__doc__ )
> > print( "msg.get.__func__ =", msg.get.__func__ )
> > print( "msg.get.__self__ =", msg.get.__self__ )
> > prin
Chris Green schreef op 13/10/2018 om 17:15:
I use a Python script (called directly by '| ' in
.forward) which routes incoming mail to various mailboxes according to
the mailing list it's from (plus a few other criteria). The first
lines of the program are:-
> ...
msg = mailbox.mboxMessage
On 2018-10-13 16:15, Chris Green wrote:
I use a Python script (called directly by '| ' in
.forward) which routes incoming mail to various mailboxes according to
the mailing list it's from (plus a few other criteria). The first
lines of the program are:-
#!/usr/bin/python
#
#
Olivier,
Welcome to the list - before we can help you, we need some more
information :
* What Operating system are you using - Windows/Mac/Linux/Raspberry
Pi/Android for something else ?
* What command or installer did you use to try to install Python.
* What issues did you have during i
5:50 AM Dec 8, 2016 a post was made to this list - subject "Snakify -
free introductory Python online course with exercises"
Recently I was engaged by a student seeking help with some of the
exercises. I found a number of issues at the snakify web site. Thus
began a conversation between me and
bob gailer writes:
> 5:50 AM Dec 8, 2016 a post was made to this list - subject "Snakify -
> free introductory Python online course with exercises"
>
> Recently I was engaged by a student seeking help with some of the
> exercises. I found a number of issues at the snakify web site. Thus
> began
Python 3.7.1rc2 and 3.6.7rc2 are now available. 3.7.1rc2 is a release
preview of the first maintenance release of Python 3.7, the latest
feature release of Python. 3.6.7rc2 is a release preview of the next
maintenance release of Python 3.6, the previous feature release of
Python. Assuming no furthe
On 13Oct2018 14:10, Shakti Kumar wrote:
I’m running a script which basically does a traceroute to the list of
hosts
provided, and then pulls up some info by logging in to gateways in the path.
I am running this script for a list of almost 40k hosts in our data centers.
Also, I am using commands
On 12Oct2018 13:28, Ryan Johnson wrote:
Thanks for the clarification.
If I am creating a class variable, are you suggesting I perform the “if it
exists, great, otherwise make it” logic in the __init__ block or in the class
definition block? Will that even run in a class definition?
The clas
On Wednesday, June 13, 2018 at 7:14:06 AM UTC-4, INADA Naoki wrote:
> > 1st is this script is from a library module online open source
>
> If it's open source, why didn't you show the link to the soruce?
> I assume your code is this:
>
> https://github.com/siddharth2010/String-Search/blob/6770c7
On 2018-10-14 00:13, pjmcle...@gmail.com wrote:
On Wednesday, June 13, 2018 at 7:14:06 AM UTC-4, INADA Naoki wrote:
> 1st is this script is from a library module online open source
If it's open source, why didn't you show the link to the soruce?
I assume your code is this:
https://github.com/
On 2018-10-13, Dennis Lee Bieber wrote:
> However -- my point was that those formats were supported natively at
> the OS level, not some language utility library working on top of the basic
> streams.
>
> A more recent (my age shows) example would be the features in DEC VMS
> Record M
On 2018-10-13, Peter J. Holzer wrote:
>
>> For "just use tabs" to work, all of those tools would have to
>> magically recognize that they're looking at Python source and adjust
>> the tab size accordingly. That isn't going to happen.
>
> Well, no. The idea of "just use tabs" isn't have a differen
28 matches
Mail list logo