pt., 8 paź 2021 o 04:48 S Pradeep Kumar napisał(a):
> ...
> Note that we considered and rejected using a full def-signature syntax like
>
> (record: PurchaseRecord, permissions: List[AuthPermission], /) ->
> FormattedItem
>
> because it would be more verbose for common cases and could
czw., 12 lis 2020 o 19:41 Paul Sokolovsky napisał(a):
>
> Hello,
>
> On Thu, 12 Nov 2020 09:55:10 -0800
> Guido van Rossum wrote:
>
> > The position of PEP 622/634/535/636 authors is clear: we see this as a
> > necessary feature to support using enums (e.g. Color.RED) or constants
> > defined in
This is not a bug, this is correct behavior of any sql database.
2016-06-15 8:40 GMT+02:00 ninostephen mathew :
> Respected Developer(s),
> while writing a database module for one of my applications in python I
> encountered something interesting. I had a username and password
2013/9/12 Ethan Furman et...@stoneleaf.us:
On 09/11/2013 02:39 PM, Tim Delaney wrote:
I would think that retrieving the keys from the dict would return the
transformed keys (I'd
call them canonical keys).
The more I think about this the more I agree. A canonicaldict with a key
function
2013/5/7 Eli Bendersky eli...@gmail.com:
4) Using _getframe(N) here seems like an overkill to me. What we really need
is just the module in which the current execution currently is (i.e. the
metaclass's __new__ in our case). Would it make sense to add a new function
somewhere in the stdlib of
2013/5/7 Ethan Furman et...@stoneleaf.us:
On 05/07/2013 07:48 AM, Piotr Duda wrote:
What about adding simple syntax (I proposed this earlier, but no one
commented) that take care of assigning name and module, something
like:
def name = expression
which would be rough equivalent
2013/5/7 Ethan Furman et...@stoneleaf.us:
On 05/07/2013 08:01 AM, Piotr Duda wrote:
2013/5/7 Ethan Furman et...@stoneleaf.us:
On 05/07/2013 07:48 AM, Piotr Duda wrote:
What about adding simple syntax (I proposed this earlier, but no one
commented) that take care of assigning name
2013/5/3 Barry Warsaw ba...@python.org:
On May 03, 2013, at 07:40 PM, Steven D'Aprano wrote:
The problem is that this is not an expression, it is a statement. The
advantage of the convenience function is not just that it is shorter, but
that it is an expression.
Exactly right, but let's stop
2013/4/26 Nick Coghlan ncogh...@gmail.com
On Fri, Apr 26, 2013 at 8:29 AM, Barry Warsaw ba...@python.org wrote:
On Apr 25, 2013, at 03:19 PM, Guido van Rossum wrote:
Clearly this is a trick question. :-)
A bit, yes. :)
I was told when this was brought up previously (a week ago?) that