musically_ut je proslijedio/a tweet korisnika/ceMatthias Bussonnier
Me: Who does side-effects in a __getitem__?
collections.defaultdict: (* averts eyes *)
Me: (* looks at own code *) Oh. Hmm. Well, I am become why we can't have nice things.
%config IPCompleter.greedy = True
#pythonhttps://twitter.com/Mbussonn/status/1159561298075459584 …
musically_ut je dodan/na,
Matthias Bussonnier @Mbussonn
Odgovor korisnicima @amuellerml @GaelVaroquaux i sljedećem broju korisnika: 2
Well yes, but actually no. We do have the option, the issue is __getitem__ can trigger arbitrary side effect or compute, so it's not enabled by default (was a couple of years ago, and was reverted due to too many issues). pic.twitter.com/Ee9sVyrdAV
01:38 - 9. kol 2019.
0 replies
1 proslijeđeni tweet
2 korisnika označavaju da im se sviđa
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.