16 Jun
2018
16 Jun
'18
5:49 a.m.
Hi, I'm wondering if it's possible and consistent that loosen 'as' assignment, for example:
import psycopg2 as pg import psycopg2.extensions as pg.ex
You can't now assign to an attribute in as statement but are there some reasons? To be honest, I'll be satisfied if the statement above become valid, but also interested in general design decisions about 'as' functionality, I mean, it can be applicable to all expression that can be left side of '=' such as 'list[n]' one, and also other statement than 'import' such as 'with'. Thanks,
2133
Age (days ago)
2133
Last active (days ago)
1 comments
2 participants
participants (2)
-
Nick Coghlan
-
Rin Arakaki