[issue1700] Regular Expression inline flags not handled correctly for some unicode characters

2007-12-25 Thread Nguyen Quan Son
New submission from Nguyen Quan Son: There is an inconsistency in handling RE inline flags ( e.g. '(?iu)' ) when pattern consists of some unicode characters, for example characters in range from '\u1ea0' to '\u1ef9'. Please see code attached for a demonstration of the problem. -- comp

[issue1699] unconditional definiton of _BSD_SOURCE breaks builds with g++-4.3

2007-12-25 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: -> loewis priority: -> high __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Uns

[issue1697] Problems with float and "6" type

2007-12-25 Thread Christian Heimes
Christian Heimes added the comment: Your results are correct and expected. You can find more information at: http://effbot.org/pyfaq/why-are-floating-point-calculations-so-inaccurate.htm http://en.wikipedia.org/wiki/IEEE_754 -- nosy: +tiran resolution: -> invalid status: open -> closed

[issue1699] unconditional definiton of _BSD_SOURCE breaks builds with g++-4.3

2007-12-25 Thread Matthias Klose
Changes by Matthias Klose: -- nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue1699] unconditional definiton of _BSD_SOURCE breaks builds with g++-4.3

2007-12-25 Thread Matthias Klose
New submission from Matthias Klose: as seen in the logs from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455400 both pyconfig.h and png.h define _BSD_SOURCE, which leads to a build failure with current GCC from the trunk, when both headers are included by an extension. Either define it only

[issue1698] urlparse and usernames containing @

2007-12-25 Thread Olivier Croquette
New submission from Olivier Croquette: Some servers allow the @ character is usernames. It gives URLs like: ftp://[EMAIL PROTECTED]@host/dir [EMAIL PROTECTED] could for example by an email address. I am not sure if this is RFC compliant. What's sure is that is makes trouble with urlparse: >>

[issue1697] Problems with float and "6" type

2007-12-25 Thread Pedro Clemente Pereira Neto
New submission from Pedro Clemente Pereira Neto: Problems with float and "6" type Hi, I am having problems both in the Windows version on the Linux version of Python as put some number with some 6 type that it always returns a value me, following examples: >>> 2.0 2.0 >>> 1.55 1.55 >>> 1.56 1.5