[issue1452] subprocess's popen.stdout.seek(0) doesn't raise an error

2007-11-16 Thread Christian Heimes
New submission from Christian Heimes: On Linux: >>> p = subprocess.Popen("ls", stdout=subprocess.PIPE) >>> p.stdout.read() b'...' >>> p.stdout.seek(0) Traceback (most recent call last): File "", line 1, in File "/home/heimes/dev/python/py3k/Lib/io.py", line 809, in seek pos = self.raw.s

[issue1373762] Tweak pprint.PrettyPrinter.format for subclassing

2007-11-16 Thread Kathy Van Stone
Kathy Van Stone added the comment: I might be able to give a more compelling example (aside from the fact wanting it to fit the documentation which implies that one can subclass the pretty printer). I had a structure containing mostly lists, dictionary and primitives that I wanted to display, bu

[issue1432] Strange behavior of urlparse.urljoin

2007-11-16 Thread yan
yan added the comment: That sounds great, thanks a lot. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue1432] Strange behavior of urlparse.urljoin

2007-11-16 Thread Senthil
Senthil added the comment: Yes, you are right. test_urlparse also does not consider the scenarios wherein the relative url +starts with a query like ?y. This needs to be addressed. I shall code the patch to fix it. __ Tracker <[EMAIL PROTECTED]>

[issue1259] string find and rfind methods give a TypeError that is misleading

2007-11-16 Thread Facundo Batista
Facundo Batista added the comment: Moved the function to find.h, cleaned the whitespace issues and documented the reference counting. Commited in trunk, rev 59020. Thanks everybody! -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROT

[issue1453] Python does not honor "CFLAGS" environment variable

2007-11-16 Thread Martin v. Löwis
Martin v. Löwis added the comment: In all versions of make, "make CFLAGS=..." should work fine (although that's not an environment variable). -- nosy: +loewis __ Tracker <[EMAIL PROTECTED]> __

[issue1452] subprocess's popen.stdout.seek(0) doesn't raise an error

2007-11-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Python 2.5 on Windows has the same behaviour, it does not fail. In general, python does not try to hide this kind of differences. -- nosy: +amaury.forgeotdarc __ Tracker <[EMAIL PROTECTED]>

[issue1453] Python does not honor "CFLAGS" environment variable

2007-11-16 Thread Miki Tebeka
Miki Tebeka added the comment: I'll try to be clearer: `./configure --help` states (at the end): Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a

[issue1453] Python does not honor "CFLAGS" environment variable

2007-11-16 Thread Guido van Rossum
Guido van Rossum added the comment: This depends on the version of Make used. See the man page for Make. -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1453] Python does not honor "CFLAGS" environment variable

2007-11-16 Thread Miki Tebeka
New submission from Miki Tebeka: Setting CFLAGS environment variable do not show up in the build process, the gcc flags do not include the CFLAGS flags. -- components: Build messages: 57588 nosy: tebeka severity: normal status: open title: Python does not honor "CFLAGS" environment varia

[issue1453] Python does not honor "CFLAGS" environment variable

2007-11-16 Thread Guido van Rossum
Guido van Rossum added the comment: I think you misunderstand. Passing a variable to configure makes that setting have effect *during the configure run*. __ Tracker <[EMAIL PROTECTED]> __ _

[issue1453] Python does not honor "CFLAGS" environment variable

2007-11-16 Thread Guido van Rossum
Guido van Rossum added the comment: > Any "standard" way to add custom compilation flags?. Beats me. I'm no autoconf expert. -- resolution: -> wont fix status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1453] Python does not honor "CFLAGS" environment variable

2007-11-16 Thread Martin v. Löwis
Martin v. Löwis added the comment: > Any "standard" way to add custom compilation flags?. See the README. Set OPT to influence the optimization flags; set EXTRA_CFLAGS otherwise. __ Tracker <[EMAIL PROTECTED]> __

[issue1453] Python does not honor "CFLAGS" environment variable

2007-11-16 Thread Miki Tebeka
Miki Tebeka added the comment: OK, let's close it then. (However note that in two projects I've checked - vim and pcre the CFLAGS environment variable do get reflected in the build process) Any "standard" way to add custom compilation flags?. __ Tracker <[EMAIL P

[issue1431] pth files not loaded at startup

2007-11-16 Thread Brett Cannon
Brett Cannon added the comment: Fixed in r59033 for Python 2.6. Thanks for the help! -- resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1454] Generators break trace functionality

2007-11-16 Thread Aldo Cortesi
New submission from Aldo Cortesi: I rely heavily on a code coverage analysis engine I developed, and a bug in Python's trace functionality has been bothering me for years. Today I snapped, and finally tracked it down to a minimal test case. To see the problem, play with the following code: impor