For some reason, this post from INADA Naoki shows up on the python-list
email archives, but not comp.lang.python, which is what I use.
INADA Naoki wrote at Sat May 14 10:32:12 EDT 2016:
> Mark and Sweep GC is triggered when many new **tracked** objects are
> created and not destroyed.
>
> Since
Hi,
I have two AES implementation programs:
AES-1:http://pastebin.com/TrQ5iaxc
AES-2: http://pastebin.com/mXRyprKL
I
have one binary file which is encrypted with some other AES program and
it is getting decrypted with AES-1 but not with AES-2. I have shared
both the programs link with yo
Steven D'Aprano writes:
> Is anyone able to demonstrate a replicable performance impact due to
> garbage collection?
As Laurent describes, Python uses refcounting, and then does some gc in
case there was dead circular structure that the refcounting missed.
Your example had no circular structure s
Steven D'Aprano wrote:
> Just for kicks, I've been playing around with running code snippets with
> and without the garbage collector enabled, looking to see if it will make
> any obvious difference to performance.
>
> So far, I haven't found any.
>
> For instance, I tried:
>
> a = [i**3 for i
On Sun, May 15, 2016 at 12:28 AM, Ganesh Pal wrote:
> The script show the below output , this looks fine for me. Do you see any
> problems with this ?
>
> gpal-ae9703e-1# python unitest1.py
> ERROR:root:Failed scanning
> E
> ==
>
On Sat, May 14, 2016 at 8:57 AM Ben Finney
wrote:
> If you dislike someone's behaviour, consider that they may not have a
> well-thought-out or coherent rason for it; and, if pressed to come up
> with a reason, we will employ all our faculties to *make up* a reason
> (typically without be
I have recently been going through "Data Science From Scratch" which may be
interesting. There is a podcast with the author on talk python to me.
https://talkpython.fm/episodes/show/56/data-science-from-scratch
On Sat, May 14, 2016 at 10:33 AM, Michael Selik
wrote:
> You might also be interest
Mark and Sweep GC is triggered when many new **tracked** objects are
created and
not destroyed.
Since integer doesn't have reference to another objects, it's not tracked
object.
So your sample code doesn't show difference of GC.
You can see gc stats via gc.set_debug(gc.DEBUG_STATS).
Play this scr
You might also be interested in "Python for Data Analysis" for a thorough
discussion of Pandas.
http://shop.oreilly.com/product/0636920023784.do
On Sat, May 14, 2016 at 10:29 AM Michael Selik
wrote:
> David, it sounds like you'll need a thorough introduction to the basics of
> Python.
> Check ou
David, it sounds like you'll need a thorough introduction to the basics of
Python.
Check out the tutorial: https://docs.python.org/3/tutorial/
On Sat, May 14, 2016 at 6:19 AM David Shi wrote:
> Hello, Michael,
>
> I discovered that the problem is "two columns of data are put together"
> and "are
>
> > Hi Team,
> >
> > Iam on python 2.7 and Linux . I need inputs on the below program ,
>
> "I am" is two words, not one. I hope you wouldn't write "Youare"
> or "Heis" :-) Whenever you write "Iam", I read it as the name "Ian", which
> is very distracting.
>
>
I am lazy fellow and you are sm
Just for kicks, I've been playing around with running code snippets with and
without the garbage collector enabled, looking to see if it will make any
obvious difference to performance.
So far, I haven't found any.
For instance, I tried:
a = [i**3 for i in range(200)]
del a[:]
thinking that
Ben Finney writes:
> TL;DR: because we're all human, and human behaviour needs either
> immediate face-to-face feedback or social enforcement to correct
> selfishness and abrasiveness.
Some people rightly regret this universal human tendency. I have been
contacted privately and asked (my paraphr
Hello, Michael,
I discovered that the problem is "two columns of data are put together" and
"are recognised as one column".
This is very strange. I would like to understand the subject well.
And, how many ways are there to investigate into the nature of objects
dynamically?
Some object types onl
It looks like you're getting a Series. Apparently more that one row has the
same index.
On Fri, May 13, 2016 at 11:30 PM Michael Selik
wrote:
> What were you hoping to get from ``df[0]``?
> When you say it "yields nothing" do you mean it raised an error? What was
> the error message?
>
> Have yo
I suspect that one could produce a class that is not a type,
Say: has not a complete type definition. Think of type for example with
the distinction of strings and numbers.
Types start from low level units. A class definition must know about
strings and numbers, it inherits this knowledge
16 matches
Mail list logo