Message289608
Agreed. Seems much the same as other argument constants,
like pickle.HIGHEST_PROTOCOL for the "protocol" argument. These are not
changing the API, just adding a helper constant to avoid the magic values.
-Ben
On Tue, Mar 14, 2017 at 12:24 PM, Brett Cannon <report@bugs.python.org>
wrote:
>
> Brett Cannon added the comment:
>
> I agree with David that I don't see how adding a constant to the module is
> really a complication of an API.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue29540>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2017-03-14 17:06:54 | benhoyt | set | recipients:
+ benhoyt, brett.cannon, rhettinger, bob.ippolito, vstinner, r.david.murray, berker.peksag, serhiy.storchaka, Alex Gordon, andrewnester |
2017-03-14 17:06:54 | benhoyt | link | issue29540 messages |
2017-03-14 17:06:54 | benhoyt | create | |
|