[issue34336] Don't promote possibility to omit Optional on optional/defaulted arguments

2018-08-05 Thread Ivan Levkivskyi
Change by Ivan Levkivskyi : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34336] Don't promote possibility to omit Optional on optional/defaulted arguments

2018-08-05 Thread miss-islington
miss-islington added the comment: New changeset e610c4f9984d50b45eb00e04c73c4208c0542a3b by Miss Islington (bot) in branch '3.7': bpo-34336: Don't promote possibility to leave out typing.Optional (GH-8677) https://github.com/python/cpython/commit/e610c4f9984d50b45eb00e04c73c4208c0542a3b

[issue34336] Don't promote possibility to omit Optional on optional/defaulted arguments

2018-08-05 Thread miss-islington
miss-islington added the comment: New changeset 02c4eae35cd24ab71c12b5e61ec22e993ac4839b by Miss Islington (bot) in branch '3.6': bpo-34336: Don't promote possibility to leave out typing.Optional (GH-8677) https://github.com/python/cpython/commit/02c4eae35cd24ab71c12b5e61ec22e993ac4839b

[issue34336] Don't promote possibility to omit Optional on optional/defaulted arguments

2018-08-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +8174 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34336] Don't promote possibility to omit Optional on optional/defaulted arguments

2018-08-05 Thread miss-islington
Change by miss-islington : -- pull_requests: +8175 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34336] Don't promote possibility to omit Optional on optional/defaulted arguments

2018-08-05 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: New changeset 336c945858055059a65134d4c501a85037d70d99 by Ivan Levkivskyi (Ville Skyttä) in branch 'master': bpo-34336: Don't promote possibility to leave out typing.Optional (#8677)

[issue34336] Don't promote possibility to omit Optional on optional/defaulted arguments

2018-08-05 Thread Ville Skyttä
Change by Ville Skyttä : -- keywords: +patch pull_requests: +8172 stage: -> patch review ___ Python tracker ___ ___

[issue34336] Don't promote possibility to omit Optional on optional/defaulted arguments

2018-08-05 Thread Ville Skyttä
New submission from Ville Skyttä : The documentation of typing.Optional seems to promote practices for not specifying Optional that are recommended against in PEP 484: https://www.python.org/dev/peps/pep-0484/#union-types -- end of chapter recommends against inferring Optional.