[issue13522] Document error return values for PyFloat_* and PyComplex_*
Arnaud Calmettes added the comment: Hi, Here is the patch I propose for this issue. This is my first attempt to contribute to Python, so please don't hit me too hard if I did something wrong. :) When browsing the source code of complexobject.c, I also noticed that the return values of the _Py_c_quot and _Py_c_pow (which return zero in case of error) weren't documented at http://docs.python.org/dev/c-api/complex.html#_Py_c_quot -- nosy: +arnaudc Added file: http://bugs.python.org/file24007/patch ___ Python tracker <http://bugs.python.org/issue13522> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13522] Document error return values for PyFloat_* and PyComplex_*
Arnaud Calmettes added the comment: I fixed the typo and the markup. -- Added file: http://bugs.python.org/file24009/patch ___ Python tracker <http://bugs.python.org/issue13522> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13522] Document error return values for PyFloat_* and PyComplex_*
Arnaud Calmettes added the comment: Fixed. -- Added file: http://bugs.python.org/file24014/diff_complex_rst ___ Python tracker <http://bugs.python.org/issue13522> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13522] Document error return values for PyFloat_* and PyComplex_*
Arnaud Calmettes added the comment: Previous patch was also wrong, sorry! -- keywords: +patch Added file: http://bugs.python.org/file24015/complex.rst-2.patch ___ Python tracker <http://bugs.python.org/issue13522> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13617] Reject embedded null characters in wchar* strings
Arnaud Calmettes added the comment: Here is a patch for the documentation. I added warnings for, PyUnicode_AsWideChar*, PyUnicode_EncodeFSDefault and PyUnicode_AsUnicode*, since they're all concerned by this issue. -- nosy: +arnaudc Added file: http://bugs.python.org/file24034/doc_unicode.patch ___ Python tracker <http://bugs.python.org/issue13617> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13617] Reject embedded null characters in wchar* strings
Arnaud Calmettes added the comment: I removed the hints "using wcslen on the result of PyUnicode_AsWideChar*", since the resulting wchar_t strings may not be null-terminated -- Added file: http://bugs.python.org/file24037/doc_unicode-2.patch ___ Python tracker <http://bugs.python.org/issue13617> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13620] Support Chrome in webbrowser.py
Arnaud Calmettes added the comment: Hi. The patch works fine on my box with Chromium 16 under Archlinux. However, I think it might not work under Ubuntu or Debian, since the program is named "chromium-browser" on these distros, and it is missing from the list of tested browser. I am setting up an Ubuntu box to test and confirm this. -- nosy: +arnaudc ___ Python tracker <http://bugs.python.org/issue13620> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13620] Support Chrome in webbrowser.py
Arnaud Calmettes added the comment: The new patch works under Ubuntu but not not under Archlinux anymore (where the program is named "chromium"). Here is a patch that works with python 3.3 under both distributions. -- Added file: http://bugs.python.org/file24056/webbrowser.py-2.patch ___ Python tracker <http://bugs.python.org/issue13620> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue13620] Support Chrome in webbrowser.py
Arnaud Calmettes added the comment: Here is a patch against the 3.3 documentation, mentionning the new supported browser types. -- Added file: http://bugs.python.org/file24057/webbrowser_doc.patch ___ Python tracker <http://bugs.python.org/issue13620> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com