New submission from Serhiy Storchaka: Issue14705 added 'bool' format character to PyArg_ParseTuple for using it for parsing multiple boolean arguments in os module. The proposed patch uses this format character for other boolean arguments. This makes the sources simpler, clearer and more reliable, improves error messages, gets rid of a few rare errors.
---------- components: Extension Modules, Interpreter Core files: use_bool_parsing.diff keywords: patch messages: 170897 nosy: larry, storchaka priority: normal severity: normal status: open title: Using new 'bool' format character type: enhancement versions: Python 3.4 Added file: http://bugs.python.org/file27244/use_bool_parsing.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15999> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com