Message178058
I don't think it worth to add support of keyword for the first mandatory argument. This can freeze the poor and inconsistent () names. For example compress()/decompress() methods of bz2 and lzma objects doesn't support keyword arguments. And why you use "string" name for decompress() argument?
Renaming of "memLevel" argument to "memlevel" is not backward compatible and can break third-part code (if anyone use it). This may require starting of deprecation process. Difference between a code and a documentation is a bug and should be fixed for all Python versions.
Note, that calling a function with keyword arguments is a little slower (a lot of slower for fast functions) than calling a function with positional-only arguments. |
|
Date |
User |
Action |
Args |
2012-12-24 13:39:05 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ezio.melotti, ebfe |
2012-12-24 13:39:05 | serhiy.storchaka | set | messageid: <1356356345.8.0.282888427028.issue16764@psf.upfronthosting.co.za> |
2012-12-24 13:39:05 | serhiy.storchaka | link | issue16764 messages |
2012-12-24 13:39:05 | serhiy.storchaka | create | |
|