[issue14323] Normalize math precision in RGB/YIQ conversion

2012-03-16 Thread Brian Landers
Brian Landers br...@packetslave.com added the comment: Matlab docs are here: - http://www.mathworks.com/help/toolbox/images/ref/rgb2ntsc.html - http://www.mathworks.com/help/toolbox/images/ref/ntsc2rgb.html Should these be referenced in the source itself? re new versions: sure, I'll create

[issue14323] Normalize math precision in RGB/YIQ conversion

2012-03-16 Thread Brian Landers
Brian Landers br...@packetslave.com added the comment: Updated to add Matlab refs, also added a roundtrip RGB-YIQ-RGB test to match the other conversions. -- Added file: http://bugs.python.org/file24895/colorlib.patch ___ Python tracker rep

[issue14322] More test coverage for hmac

2012-03-16 Thread Brian Landers
Brian Landers br...@packetslave.com added the comment: Updated to use the correct assert* methods. -- Added file: http://bugs.python.org/file24896/test_hmac.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14322

[issue14322] More test coverage for hmac.py

2012-03-15 Thread Brian Landers
New submission from Brian Landers br...@packetslave.com: Adding some tests to non-default code paths in hmac.py to get to 100% coverage. -- components: Tests files: test_hmac.patch keywords: patch messages: 155913 nosy: packetslave priority: normal severity: normal status: open title

[issue14323] Normalize math precision in RGB/YIQ conversion

2012-03-15 Thread Brian Landers
New submission from Brian Landers br...@packetslave.com: There doesn't seem to be a standard definition for the constants to use when doing the matrix calculations to convert RGB to YIQ or vise versa. Also, the current colorsys library uses two digits of precision for RGB-YIQ but six digits

[issue14323] Normalize math precision in RGB/YIQ conversion

2012-03-15 Thread Brian Landers
Changes by Brian Landers br...@packetslave.com: Added file: http://bugs.python.org/file24867/acks.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14323

[issue14281] Add unit test for cgi.escape method

2012-03-12 Thread Brian Landers
New submission from Brian Landers br...@packetslave.com: The cgi.escape method is deprecated, but it should still have test coverage. This patch adds a test for it. -- components: Tests files: cgi_test_escape.patch keywords: patch messages: 155563 nosy: packetslave priority: normal