On Sat, Jul 18, 2020 at 7:05 AM Marco Sulla
wrote:
>
> >
> > But when frozendicts are merged?
> > I think there is a very little chance.
>
> frozendicts could be used for kwargs:
>
> f(a=1, b=2)
> # some code
> f(a=1, b=2)
>
> For what I know, CPython uses PyDictObject for kwargs. Since dicts are
J Conrado wrote:
>
>
>
>
>
>
>
>
>
>
>
> HI,
>
>
> I have an excel file with several columns, the first day/month,/year and
> hour:
>
>
> Data
> 01/11/2017 00:00
> 01/11/2017 03:00
> 01/11/2017 06:00
> 01/11/2017 09:00
> 01/11/2017 12:00
> 01/11/2017 15:00
> 01/11/2017 18:00
> 01/11
On Sat, 18 Jul 2020 at 05:39, dn via Python-list wrote:
>
> On 18/07/20 3:29 PM, boB Stepp wrote:
> > On Fri, Jul 17, 2020 at 9:48 PM dn via Python-list
> > wrote:
> >>
> >> On 18/07/20 1:53 PM, Castillo, Herbert S wrote:
> >>> I downloaded python not to long ago, and today when I opened Python o
Data Sceptic has a couple podcast and some of the code is open source.
https://dataskeptic.com/blog/episodes/2018/algorithmic-detection-of-fake-news
Thanks
Vincent Davis
720-301-3003
*Want to get a hold of me?*
*SMS: awesome.phone: ok...*
*email: bad!*
On Fri, Jul 17, 2020 at 11:39 PM Mike Dew
Thank you, boB! Yes, I kept on opening the installer. Your directions were
great from memory, and I will look into the Python tutor mailing list. Thanks
again.
Herbert
-Original Message-
From: boB Stepp
Sent: Friday, July 17, 2020 7:43 PM
To: Castillo, Herbert S
Cc: python-list@pytho
$ ./python -VV
Python 3.10.0a0 (heads/master:64053c31a4, Jul 18 2020, 20:14:48)
[GCC 10.1.1 20200718]
dict_bench.py:
import timeit
from string import Template
def autorange(stmt, setup="pass", repeat=5):
if setup == None:
setup = "pass"
t = timeit.Timer(stmt=stmt
On Sun, Jul 19, 2020 at 7:20 AM Marco Sulla
wrote:
>
> I noticed that iterating over a dictionary seems quite slower than creating
> an iterator and iterating over it. Maybe I miss something?
Welcome to microbenchmarks, where the tiniest change suddenly makes
the entire benchmark meaningless :)
On Sat, 18 Jul 2020 at 10:02, Inada Naoki wrote:
> On Sat, Jul 18, 2020 at 7:05 AM Marco Sulla
> wrote:
> > For what I know, CPython uses PyDictObject for kwargs. Since dicts are
> > mutable, it's a problem to cache them properly.
>
> On caller side, Python doesn't use dict at all.
> On callee s
... oh my ... Sure, thank you.
Thinking positive, I wasted a lot of hours, but I discovered
timeit.Timer.autorange
On Sat, 18 Jul 2020 at 23:30, Chris Angelico wrote:
> On Sun, Jul 19, 2020 at 7:20 AM Marco Sulla
> wrote:
> >
> > I noticed that iterating over a dictionary seems quite slower th
On Sun, Jul 19, 2020 at 8:56 AM Marco Sulla
wrote:
>
> ... oh my ... Sure, thank you.
> Thinking positive, I wasted a lot of hours, but I discovered
> timeit.Timer.autorange
>
Nah... You *spent* a lot of hours, almost certainly enjoyably, and
along the way, you learned things! That's not wasted
On 18/07/20 11:48 PM, Oscar Benjamin wrote:
On Sat, 18 Jul 2020 at 05:39, dn via Python-list wrote:
On 18/07/20 3:29 PM, boB Stepp wrote:
On Fri, Jul 17, 2020 at 9:48 PM dn via Python-list
wrote:
On 18/07/20 1:53 PM, Castillo, Herbert S wrote:
I downloaded python not to long ago, and toda
On Sun, Jul 19, 2020 at 6:38 AM Marco Sulla
wrote:
>
> On Sat, 18 Jul 2020 at 10:02, Inada Naoki wrote:
>>
>> On Sat, Jul 18, 2020 at 7:05 AM Marco Sulla
>> wrote:
>> > For what I know, CPython uses PyDictObject for kwargs. Since dicts are
>> > mutable, it's a problem to cache them properly.
>>
12 matches
Mail list logo