[issue13620] Support Chrome in webbrowser.py

2011-12-19 Thread Arnaud Calmettes
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.

[issue13620] Support Chrome in webbrowser.py

2011-12-19 Thread Arnaud Calmettes
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/webbr

[issue13620] Support Chrome in webbrowser.py

2011-12-19 Thread Arnaud Calmettes
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

[issue13617] Reject embedded null characters in wchar* strings

2011-12-18 Thread Arnaud Calmettes
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_unico

[issue13617] Reject embedded null characters in wchar* strings

2011-12-18 Thread Arnaud Calmettes
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/file

[issue13522] Document error return values for PyFloat_* and PyComplex_*

2011-12-17 Thread Arnaud Calmettes
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/issue13

[issue13522] Document error return values for PyFloat_* and PyComplex_*

2011-12-17 Thread Arnaud Calmettes
Arnaud Calmettes added the comment: Fixed. -- Added file: http://bugs.python.org/file24014/diff_complex_rst ___ Python tracker <http://bugs.python.org/issue13

[issue13522] Document error return values for PyFloat_* and PyComplex_*

2011-12-17 Thread Arnaud Calmettes
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/issue13

[issue13522] Document error return values for PyFloat_* and PyComplex_*

2011-12-17 Thread Arnaud Calmettes
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 o