[issue15993] Windows: 3.3.0-rc2.msi: test_buffer fails

2012-09-21 Thread Stefan Krah
Stefan Krah added the comment: The high and low words of the 64-bit value are switched: >>> a = array.array('Q', [1]) >>> m = memoryview(a) >>> m[0]= 2**32+5 >>> m[0] 21474836481 >>> struct.unpack_from('8s', m, 0) (b'\x01\x00\x00\x00\x05\x00\x00\x00',) Can anyone reproduce this in a source bui

[issue15844] weird import errors

2012-09-21 Thread Ezio Melotti
Ezio Melotti added the comment: Closing for lack of reproducible test case. -- resolution: -> invalid stage: -> committed/rejected status: pending -> closed ___ Python tracker

[issue15852] typos in curses argument error messages

2012-09-21 Thread Ezio Melotti
Ezio Melotti added the comment: Can't you use assertRaisesRegex? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15996] pow() for complex numbers is rough around the edges

2012-09-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > Well, C99 covers pow for *real* numbers just fine; it's complex numbers > where no-one wants to pin down what the behaviour should be. C99 contains cpow. Perhaps we should use conditional compilation? -- ___ Py

[issue15826] Increased test coverage of test_glob.py

2012-09-21 Thread Ezio Melotti
Ezio Melotti added the comment: FTR this is addressed in #15845. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15845] Fixing some byte-to-string conversion warnings

2012-09-21 Thread Ezio Melotti
Ezio Melotti added the comment: -if basename == '': +if len(basename) == 0: This should be "if not basename:" -if tail == curdir: +cdir = curdir +if isinstance(tail, bytes): +cdir = bytes(curdir, 'ASCII') +if tail == cdir: This will raise an

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated. Added tests. -- Added file: http://bugs.python.org/file27243/posix_path_converter_2.patch ___ Python tracker ___diff -r 24136a7

[issue12067] Doc: remove errors about mixed-type comparisons.

2012-09-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- Removed message: http://bugs.python.org/msg169961 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- Removed message: http://bugs.python.org/msg169959 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue11715] Building Python on multiarch Debian and Ubuntu

2012-09-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- Removed message: http://bugs.python.org/msg169954 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue15996] pow() for complex numbers is rough around the edges

2012-09-21 Thread Mark Dickinson
Mark Dickinson added the comment: Well, C99 covers pow for *real* numbers just fine; it's complex numbers where no-one wants to pin down what the behaviour should be. So I don't think we need the man page reference. If we're writing tests for complex pow, we might also want to consider addin

[issue15996] pow() for complex numbers is rough around the edges

2012-09-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Larry Hastings
Larry Hastings added the comment: Ah! It seems Python is anti-Oxford Comma. Carry on! ;-) Wouldn't test_os be the natural place? I don't understand why you're having difficulty finding a suitable place. -- ___ Python tracker

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > But please add regression tests checking > that the error message is what we want. Immediately as soon as I find a suitable place for this test. Should be somewhere tests for bytes/unicode filenames. > I'd personally prefer the Oxford Comma there ("string,

<    1   2