[issue5945] PyMapping_Check returns 1 for lists

2015-02-02 Thread Buck Golemon
Buck Golemon added the comment: We've hit this problem today. What are we supposed to do in the meantime? -- nosy: +bukzor ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5945

[issue22722] inheritable pipes are unwieldy without os.pipe2

2014-10-24 Thread Buck Golemon
New submission from Buck Golemon: In order to make an inheritable pipe, the code is quite a bit different between posixes that implement pipe2 and those that don't (osx, mainly). I believe the officially-supported path is to call os.pipe() then os.setinheritable(). This seems objectionable

[issue22723] visited-link styling is not accessible

2014-10-24 Thread Buck Golemon
New submission from Buck Golemon: The color needs adjusted such that it has at least 3:1 luminance contrast versus the surrounding non-link text. (See non-inheritable https://docs.python.org/3/library/os.html#os.dup) See also: * http://www.w3.org/TR/WCAG20/#visual-audio-contrast-without

[issue22722] inheritable pipes are unwieldy without os.pipe2

2014-10-24 Thread Buck Golemon
Buck Golemon added the comment: I notice that dup2 grew an `inheritable=True` argument in 3.4. This might be a good precedent to use here, as a third option. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22722

[issue22723] visited-link styling is not accessible

2014-10-24 Thread Buck Golemon
Buck Golemon added the comment: Proposed patch attached. -- keywords: +patch Added file: http://bugs.python.org/file37006/link-color.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22723

[issue22455] idna/punycode give wrong results on narrow builds

2014-09-21 Thread Buck Golemon
New submission from Buck Golemon: I have fixed the issue in my branch here: https://github.com/bukzor/cpython/commit/013e689731ba32319f05a62a602f01dd7d7f2e83 I don't propose it as a patch, but as a proof of concept and point of discussion. If there's no chance of shipping a fix in 2.7.9, feel

[issue1243678] httplib gzip support

2014-01-24 Thread Buck Golemon
Buck Golemon added the comment: I believe this issue is still extant. The tip httplib client neither sends accept-encoding gzip nor supports content-encoding gzip. http://hg.python.org/cpython/file/tip/Lib/http/client.py#l1012 There is a diff to httplib in this attached patch, where

[issue15009] urlsplit can't round-trip relative-host urls.

2012-07-05 Thread Buck Golemon
Buck Golemon buck.gole...@amd.com added the comment: Let's examine x:// absolute-URI = scheme : hier-part [ ? query ] hier-part = // authority path-abempty So this is okay if authority and path-abempty can both be empty strings. authority = [ userinfo @ ] host [ : port ] host

[issue15009] urlsplit can't round-trip relative-host urls.

2012-06-07 Thread Buck Golemon
Buck Golemon b...@yelp.com added the comment: Well i think the real issue is that you can't enumerate the protocals that use netloc. All protocols are allowed to have a netloc. the smb: protocol certainly does, but it's not in the list. The core issue is that smb:/foo and smb:///foo

[issue15009] urlsplit can't round-trip relative-host urls.

2012-06-05 Thread Buck Golemon
New submission from Buck Golemon b...@yelp.com: 1) As long as x is valid, I expect that urlunsplit(urlsplit(x)) == x 2) yelp:///foo is a well-formed (albeit odd) url. It it similar to file:///tmp: it specifies the /foo resource, on the current host, using the yelp protocol (defined on mobile

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-26 Thread Buck Golemon
Buck Golemon buck.gole...@amd.com added the comment: @Barry: Yes, it's still a problem. The ubuntu 10.10 python2.7 still has no multiprocessing. Since the EOL is April 2012, it needs fixed. It may be considered an invalid python bug, since it seems to be strictly related to Ubuntu packaging

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-24 Thread Buck Golemon
Buck Golemon buck.gole...@amd.com added the comment: python2.7.1+ from mercurial supports sem_open (and multiprocessing) just fine. doko: Could you help us figure out why the ubuntu 10.10 python2.7 build has this issue? I believe this issue should be assigned to you? Relevant lines from

[issue8326] Cannot import name SemLock on Ubuntu lucid

2011-04-14 Thread Buck Golemon
Buck Golemon buck.gole...@amd.com added the comment: Isn't this an Ubuntu problem if sem_open only works with some specific kernels? sem_open works fine (python2.6 is using it), but the python2.7 build process didn't detect it properly. This is either a bug with Ubuntu's python2.7 build

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Buck Golemon
Changes by Buck Golemon buck.gole...@amd.com: -- title: Cannot import name SemLock on Ubuntu lucid - Cannot import name SemLock on Ubuntu ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8326

[issue8326] Cannot import name SemLock on Ubuntu

2011-04-14 Thread Buck Golemon
Buck Golemon buck.gole...@amd.com added the comment: I suggest that you try to build from the above mercurial repository and see if the problem persists. How do I know the configuration options that the Ubuntu packager used? -- ___ Python tracker

[issue8326] Cannot import name SemLock on Ubuntu lucid

2011-04-13 Thread Buck Golemon
Buck Golemon buck.gole...@amd.com added the comment: On Ubuntu 10.10 (maverick), python2.6 is functioning correctly, but python2.7 is giving this error again. $ /usr/bin/python2.7 from multiprocessing.synchronize import Semaphore ImportError: This platform lacks a functioning sem_open

[issue9583] PYTHONOPTIMIZE = 0 is not honored

2010-09-20 Thread Buck Golemon
Buck Golemon buck.gole...@amd.com added the comment: Minimal demo: $ setenv PYTHONOPTIMIZE 0 $ python3.1 -OO -c print(__debug__) False I've used this code to get the desired functionality: if [[ $TESTING == 1 || ${PYTHONOPTIMIZE-2} =~ '^(0*|)$' ]]; then #someone is requesting

[issue9583] Document startup option/environment interaction

2010-09-20 Thread Buck Golemon
Buck Golemon buck.gole...@amd.com added the comment: If I understand this code, it means that PYTHONOPTIMIZE set to 1 or 2 works as expected, but set to 0, gives a flag value of 1. static int add_flag(int flag, const char *envs) { int env = atoi(envs); if (flag env

[issue9583] Document startup option/environment interaction

2010-09-20 Thread Buck Golemon
Buck Golemon buck.gole...@amd.com added the comment: that number of times isn't exactly accurate either, since 0 is effectively interpreted as 1. This change would only adversely affect people who use no -O option, set PYTHONOPTIMIZE to '0', and need optimization. I feel like that falls

[issue9583] Document startup option/environment interaction

2010-09-20 Thread Buck Golemon
Buck Golemon buck.gole...@amd.com added the comment: The file is here: http://svn.python.org/view/python/trunk/Python/pythonrun.c?view=markup The second if statement is doing exactly what I find troubling: set the flag even if the incoming value is 0. I guess this is to handle the empty

[issue9583] PYTHONOPTIMIZE = 0 is not honored

2010-08-12 Thread Buck Golemon
New submission from Buck Golemon buck.gole...@amd.com: In our environment, we have a wrapper which enables optimization by default (-OO). Most commandline tools which have a mode-changing flag such as this, also have a flag to do the opposite ( see: ls -t -U, wget -nv -v, ). I'd like

[issue2613] inconsistency with bare * in parameter list

2008-06-04 Thread Buck Golemon
Buck Golemon [EMAIL PROTECTED] added the comment: /agree ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2613 ___ ___ Python-bugs-list mailing list Unsubscribe

[issue2613] inconsistency with bare * in parameter list

2008-05-27 Thread Buck Golemon
Buck Golemon [EMAIL PROTECTED] added the comment: If there's no difference then they should work the same? I agree there's probably little value in 'fixing' it. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2613

[issue2950] silly readline module problem

2008-05-23 Thread Buck Golemon
Buck Golemon [EMAIL PROTECTED] added the comment: I'm not sure what your problem is, but comp.lang.python might be a better place to ask. It's not clear that this is a bug yet. http://groups.google.com/group/comp.lang.python/topics -- nosy: +bgolemon