On Wed, Dec 20, 2017 at 5:29 PM, Eric V. Smith wrote:
> There is definitely a passive bias towards using types with dataclasses in
> that the Eric (the author) doesn't appear to want an example without them
> in the pep/docs.
>
>>
>> I'm not sure what such an example would look like. Do you mean
On 12/20/2017 8:13 PM, Eric V. Smith wrote:
There is definitely a passive bias towards using types with
dataclasses in that the Eric (the author) doesn't appear to want an
example without them in the pep/docs.
I'm not sure what such an example would look like. Do you mean without
annotations
On 12/20/2017 6:57 PM, Mike Miller wrote:
On 2017-12-19 02:53, Paul Moore wrote:
Also, the fact that no-one raised this issue during the whole time the
PEP was being discussed (at least as far as I recollect) and that
Guido (who of all of us should be most aware of what is and isn't
acceptable u
On 2017-12-19 02:53, Paul Moore wrote:
Also, the fact that no-one raised this issue during the whole time the
PEP was being discussed (at least as far as I recollect) and that
Guido (who of all of us should be most aware of what is and isn't
acceptable use of annotations in the stdlib) approved t
On Wed, Dec 20, 2017 at 03:23:16PM -0800, Chris Barker wrote:
> On Wed, Dec 20, 2017 at 2:31 AM, Steven D'Aprano
> wrote:
> > Even when it works, the guarantee is quite weak. For instance, even
> > the object type is not preserved:
> >
> > py> class MyDict(dict):
> > ... pass
> > ...
> > py>
On Mon, Dec 18, 2017, at 05:23, Antoine Pitrou wrote:
> On Sun, 17 Dec 2017 21:07:02 -0500
> Random832 wrote:
> >
> > Is there any practical for of having the flag off for one slot and on
> > for another slot that's been added later?
> >
> > Could this be replaced (that is, a slot for such a thi
Following this discussion, I opened two issues:
* https://bugs.python.org/issue32387: "Disallow untagged C extension
import on major platforms"
* https://bugs.python.org/issue32388: "Remove cross-version binary
compatibility"
Regards
Antoine.
On Sat, 16 Dec 2017 14:22:57 +0100
Antoine Pitrou
On Mon, Dec 18, 2017 at 08:49:54PM -0800, Nathaniel Smith wrote:
> On Mon, Dec 18, 2017 at 7:58 PM, Steven D'Aprano wrote:
> > I have a script which today prints data like so:
[...]
> To make sure I understand, do you actually have a script like this, or
> is this hypothetical?
The details are m
On Tue, 19 Dec 2017 17:32:52 -0800
Nathaniel Smith wrote:
>
> > In any case, there are so many ways
> > to spoil the first point for yourself that it's hardly worth treating as an
> > important constraint.
>
> I guess the underlying issue here is partly the question of what the
> pprint module
On Tue, Dec 19, 2017 at 04:56:16PM -0800, Steve Dower wrote:
> On 19Dec2017 1004, Chris Barker wrote:
> >(though I assume order is still ignored when comparing dicts, so:
> >eval(pprint(a_dict)) == a_dict will still hold.
>
> Order had better be ignored when comparing dicts, or plenty of code wi
10 matches
Mail list logo