[issue8771] Socket freezing under load issue on Mac.

2010-05-19 Thread Alice Bevan-McGregor
Alice Bevan-McGregor added the comment: I can confirm this issue also effecting 2.5.4 on my Mac. -- versions: +Python 2.5 ___ Python tracker ___ _

[issue8771] Socket freezing under load issue on Mac.

2010-05-19 Thread R. David Murray
R. David Murray added the comment: Why do you think this is a bug in Python? I'm not yet saying it isn't, but we'll need additional information to show that it is. Given that it works on Linux, it seems like the most likely case would be that it is an issue with the OS (perhaps requiring ad

[issue8771] Socket freezing under load issue on Mac.

2010-05-19 Thread Alice Bevan-McGregor
Alice Bevan-McGregor added the comment: Unfortunately, unless I can get instructions on how to properly diagnose socket libraries, I've exhausted my ability to debug this. I used to be a C programmer, but that was 12 years ago. I'm hoping to a) confirm the problem exists on Mac (not just my

[issue2504] Add gettext.pgettext() and variants support

2010-05-19 Thread Bernie H. Innocenti
Bernie H. Innocenti added the comment: While we're waiting for this patch to be upstreamed, what's the best way to emulate this functionality with the current gettext module? I'm looking at the patch and it seems that code similar to this might work? def pgettext(ctx, msg): return gett

[issue444582] Finding programs in PATH, addition to os

2010-05-19 Thread Dan Buch
Changes by Dan Buch : -- nosy: +meatballhat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue8772] sysconfig: _get_default_scheme can be made public?

2010-05-19 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : Currently there is no way to get the default scheme for *current* platform other than plainly *assuming* that that is os.name unless it is posix, in which case it becomes posix_prefix. PyPM needs to know this. But I am slightly reluctant to hardcode it

[issue8772] sysconfig: _get_default_scheme can be made public?

2010-05-19 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Ideally I like to have a function like this: def get_current_scheme(usersite=False): scheme = os.name if usersite: scheme += '_user' elif scheme == 'posix':

[issue2281] Enhanced cPython profiler with high-resolution timer

2010-05-19 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- assignee: gregory.p.smith -> pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue8714] Delayed signals in the REPL on OpenBSD (possibly libpthread related)

2010-05-19 Thread Henry Precheur
Henry Precheur added the comment: The bug is also present with Python 3.1 on OpenBSD 4.7-current. -- ___ Python tracker ___ ___ Python

[issue8714] Delayed signals in the REPL on OpenBSD (possibly libpthread related)

2010-05-19 Thread Henry Precheur
Changes by Henry Precheur : -- versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue1184112] Missing trailing newline with comment raises SyntaxError

2010-05-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: This has been fixed in 2.7 and 3.2. -- nosy: +benjamin.peterson resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue8770] Make 'python -m sysconfig' print something useful

2010-05-19 Thread Ray.Allen
Ray.Allen added the comment: Add get_paths()'s output seems reasonable and simple enough, also we could make the output format prettier. -- nosy: +ysj.ray ___ Python tracker ___

[issue4769] b64decode should accept strings or bytes

2010-05-19 Thread Dan Buch
Dan Buch added the comment: This appears to still be an issue in py3k. I've attached the command and output when running ``python3 -m base64`` with various options and inputs. If there's consensus on a solution, I'd be happy to take a crack at making a patch. -- nosy: +meatballhat A

[issue8773] mailbox module is needlessly executable

2010-05-19 Thread Dan Buch
New submission from Dan Buch : While running various modules with the ``-m`` flag to check for command-line behavior, I noticed that the mailbox module currently has svn:executable set. The module contains no ``if __name__ == '__main__'`` magic and, as one would expect, nothing happens when i

[issue8774] 0xe7 in ``heapq.__about__`` causes badness

2010-05-19 Thread Dan Buch
New submission from Dan Buch : I noticed while running ``python3 -m tabnanny -v Lib/*.py`` that the process died at heapq.py. The 0x37 char in "François Pinard" (in the ``__about__`` attr) was the culprit. The attached patch replaces it with '\xe7'. Changing the encoding cookie was not nece

[issue8774] 0xe7 in ``heapq.__about__`` causes badness

2010-05-19 Thread Dan Buch
Changes by Dan Buch : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue8746] *chflags detection broken on FreeBSD 9-CURRENT

2010-05-19 Thread Garrett Cooper
Garrett Cooper added the comment: . -- Added file: http://bugs.python.org/file17414/config.log ___ Python tracker ___ ___ Python-bugs-

[issue8729] The Mapping ABC's __eq__ method should return NotImplemented if the other type is not a Mapping

2010-05-19 Thread Daniel Stutzbach
Daniel Stutzbach added the comment: Done: http://codereview.appspot.com/1193044 This is my first time using Rietveld. Let me know if I've done anything wrong. -- ___ Python tracker ___

[issue2504] Add gettext.pgettext() and variants support

2010-05-19 Thread Wil Clouser
Wil Clouser added the comment: Yes. You can see an in-production implementation at http://github.com/clouserw/tower/blob/master/tower/__init__.py#L51 (I'm overriding ugettext to support an optional context). -- ___ Python tracker

[issue8759] 2.7: wrong user site directory on Linux

2010-05-19 Thread Ronald Oussoren
Ronald Oussoren added the comment: Shridar: that is correct a framework install will not look in ~/.local, but only in ~/Library/Python/2.7 (there is an install scheme in distutils that describes the exact layout). Technically the name "Python" subdirectory is sysconfig.get_config_var("PYTH

<    1   2