[PATCH] D37855: [bindings] allow null strings in Python 3

2017-10-21 Thread Masud Rahman via Phabricator via cfe-commits
frutiger closed this revision. frutiger added a comment. Landed in https://reviews.llvm.org/rL316264. https://reviews.llvm.org/D37855 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D37855: [bindings] allow null strings in Python 3

2017-09-27 Thread Masud Rahman via Phabricator via cfe-commits
frutiger added a comment. //Friendly poke!// https://reviews.llvm.org/D37855 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D37855: [bindings] allow null strings in Python 3

2017-09-14 Thread Masud Rahman via Phabricator via cfe-commits
frutiger created this revision. Some API calls accept 'NULL' instead of a char array (e.g. the second argument to 'clang_ParseTranslationUnit'). For Python 3 compatibility, all strings are passed through 'c_interop_string' which expects to receive only 'bytes' or 'str' objects. This change exten