c__ = c
A.c.__func__.__qualname__ = "A.c.__func__"
print(A.c) #
print(A.c.__func__) #
dumps(A.c) # works
dumps(A.c.__func__) # works
```
Can we make the `__func__` objects picklable this way?
haael
___
Python-Dev mailing list -- py
Because there's no reason to include them, since they are already in
the root (builtins) namespace.
You'll notice that in Python 3, the "types" module only contains types
which are not obviously accessed through easier means:
OK, makes sense, but in this case it would be handy to have some
Because there's no reason to include them, since they are already in
the root (builtins) namespace.
You'll notice that in Python 3, the "types" module only contains types
which are not obviously accessed through easier means:
OK, makes sense, but in this case it would be handy to have some l
Sorry if I am asking the obvious, but why are the aliases of set types not
included in the 'types' module? I thought for a moment that they are just
classes, but no, they introduce themselves as built-in types, just like any
other standard Python type.
> print type(set([1, 2, 4]))
> print