[issue6103] Static library (libpythonX.Y.a) installed in incorrect location

2011-09-16 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: It would be nice to get some feedback on this. -- ___ Python tracker <http://bugs.python.org/issue6103> ___ ___ Python-bug

[issue1222585] C++ compilation support for distutils

2011-09-16 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Could this get some attention, please? -- ___ Python tracker <http://bugs.python.org/issue1222585> ___ ___ Python-bugs-list m

[issue9284] inspect.findsource() cannot find source for doctest code

2011-06-07 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Here's an attempted patch against 2.7. It seemed nice to put the test in test_doctest, but maybe it belongs in inspect... -- keywords: +needs review, patch Added file: http://bugs.python.org/file22270/issue9284

[issue9284] inspect.findsource() cannot find source for doctest code

2011-06-09 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Would it still be possible to get this into 2.7.2? It's a 2.6-2.7 regression, would be nice to fix, and it seems fairly low-impact. -- nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/i

[issue9284] inspect.findsource() cannot find source for doctest code

2011-06-09 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: I'm fine with moving the test; I put it in doctest because the inspect behavior we're relying upon here seems somewhat doctest-specific, and the test itself is a doctest. Do you want me to move it? I'll fix up the other

[issue9284] inspect.findsource() cannot find source for doctest code

2011-06-09 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Here's a fresh patch. -- Added file: http://bugs.python.org/file22297/issue9284.diff ___ Python tracker <http://bugs.python.org/i

[issue9284] inspect.findsource() cannot find source for doctest code

2011-06-09 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : Removed file: http://bugs.python.org/file22270/issue9284.diff ___ Python tracker <http://bugs.python.org/issue9284> ___ ___ Python-bugs-list m

[issue1475523] gettext breaks on plural-forms header

2011-06-27 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: This looks similar to https://bugs.gentoo.org/show_bug.cgi?id=373115. Is it the same thing, or should I file a separate bug for it? (Sorry, I don't intend to hijack this bug, but I don't know much about gettext and the patch here looks somewhat

[issue5375] Unified locals/consts array + register-based instructions

2011-06-27 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Yeah, I probably won't work on this anytime soon. I think this has also become less interesting as pypy has made progress. -- ___ Python tracker <http://bugs.python.org/i

[issue1475523] gettext breaks on plural-forms header

2011-06-27 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Looks like this was the problem: http://git.fedorahosted.org/git/?p=virt-manager.git;a=commitdiff;h=cb56316cf3702f03b05e30f406ff3028e45f7bfb. E.g., the empty Plural-Forms header is throwing off the python gettext parser

[issue12291] file written using marshal in 3.2 can be read by 2.7, but not 3.2 or 3.3

2011-06-27 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue12291> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12425] gettext breaks on empty plural-forms value

2011-06-28 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : See https://bugzilla.redhat.com/show_bug.cgi?id=692632 for more details and a proposed patch. -- components: Library (Lib) messages: 139347 nosy: djc priority: normal severity: normal status: open title: gettext breaks on empty plural-forms value

[issue1475523] gettext breaks on plural-forms header

2011-06-28 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Okay, I've filed issue12425. -- ___ Python tracker <http://bugs.python.org/issue1475523> ___ ___ Python-bugs-list m

[issue12450] Use the Grisu algorithms to convert floats to strings

2011-06-30 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue12450> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12571] Python built on Linux 3.0 doesn't include DLFCN

2011-07-15 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : This seems similar to issue 12326, but it doesn't seem similar enough to include it there: the DLFCN module seems to not be built when running against a 3.0 kernel. See https://bugs.gentoo.org/show_bug.cgi?id=374579. -- messages: 140391 nosy

[issue12571] Python built on Linux 3.0 doesn't include DLFCN

2011-07-15 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- versions: +Python 2.7, Python 3.2 ___ Python tracker <http://bugs.python.org/issue12571> ___ ___ Python-bugs-list mailin

[issue12326] Linux 3: tests should avoid using sys.platform == 'linux2'

2011-07-15 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue12326> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12555] PEP 3151 implementation

2011-07-15 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue12555> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1625] bz2.BZ2File doesn't support multiple streams

2010-09-18 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue1625> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10036] compiler warnings for various modules on Linux buildslaves

2010-10-19 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: At least one of these also happens on Gentoo: Modules/_ctypes/libffi/src/dlmalloc.c:3193: warning: implicit declaration of function 'mremap' Modules/_ctypes/libffi/src/dlmalloc.c:3193: warning: cast to pointer from integer of different size Modul

[issue10036] compiler warnings for various modules on Linux buildslaves

2010-10-19 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Current Ubuntu builds from the buildbot also only show the libffi warning: http://www.python.org/dev/buildbot/builders/x86%20Ubuntu%20Shared%203.x/builds/2326/steps/compile/logs/warnings I suspect we don't really fix libffi compile warnings becau

[issue1813] Codec lookup failing under turkish locale

2010-10-27 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: We've included this patch in Gentoo for about two years now. Can we get some discussion going on doing something like this? -- nosy: +djc ___ Python tracker <http://bugs.python.org/i

[issue7247] test_fcntl_64_bit from test_fcntl.py fails in Python 2.6.4

2010-10-27 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: I'm also unable to reproduce this. -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue7247> ___ ___ Pytho

[issue10213] tests shouldn't fail with unset timezone

2010-10-27 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : test_strptime in test_time fails when the timezone is not set: == FAIL: test_strptime (test.test_time.TimeTestCase

[issue9281] Race condition in distutils.dir_util.mkpath()

2010-10-27 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Still, shouldn't this also be fixed in 2.7? -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue9281> ___ ___

[issue10213] tests shouldn't fail with unset timezone

2010-10-28 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: You can easily reproduce (at least on Gentoo) by copying /usr/share/zoneinfo/Factory to /etc/localtime. By checking for this exact message, I don't think the chance is very high that we're hiding a Python bug. I also think that Python tests s

[issue10221] {}.pop('a') raises non-standard KeyError exception

2010-10-28 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : d...@miles ~ $ python2.7 Python 2.7 (r27:82500, Oct 4 2010, 10:01:41) [GCC 4.3.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> {}.pop('a') Traceback (mo

[issue10221] {}.pop('a') raises non-standard KeyError exception

2010-10-28 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- components: +Interpreter Core versions: +Python 2.6, Python 2.7, Python 3.1 ___ Python tracker <http://bugs.python.org/issue10

[issue6103] Static library (libpythonX.Y.a) installed in incorrect location

2010-10-28 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue6103> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2010-10-28 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue6731> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1222585] C++ compilation support for distutils

2010-10-28 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue1222585> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9520] Add Patricia Trie high performance container

2010-11-11 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue9520> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5800] make wsgiref.headers.Headers accept empty constructor

2010-11-24 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- keywords: +needs review ___ Python tracker <http://bugs.python.org/issue5800> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10084] SSL support for asyncore

2010-12-01 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue10084> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10618] regression in subprocess.call() command quoting

2010-12-03 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : http://mercurial.selenic.com/bts/issue2534 is a regression in 2.7.1 relative to 2.7, around the way commands are called (it seems to concern subprocess.call()). The error seems to be raised from mercurial's util.system() call, which uses subprocess

[issue10618] regression in subprocess.call() command quoting

2010-12-03 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Ask, Jesse, sorry, I got confused about multiprocessing and subprocess. Taking you out of the nosy now. -- nosy: -asksol, jnoller ___ Python tracker <http://bugs.python.org/issue10

[issue8194] Incompatible API change in xmlrpclib.Transport.parse_response() of Python 2.7 and 3.2

2010-12-06 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Can we get a decision on this? It's kind of sad that this regression wasn't fixed in 2.7.1. -- nosy: +djc ___ Python tracker <http://bugs.python.

[issue11115] csv readers and writers should be context managers

2011-02-04 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : The context managers should simply forward to the underlying file object. -- components: Library (Lib) messages: 127876 nosy: djc priority: normal severity: normal status: open title: csv readers and writers should be context managers versions

[issue11115] csv readers and writers should be context managers

2011-02-04 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- type: -> feature request versions: -Python 2.6 ___ Python tracker <http://bugs.python.org/issue5> ___ ___ Python-bugs-lis

[issue7733] asyncore docs reference is unclear

2010-01-31 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Yeah, I'll get to it. :) -- ___ Python tracker <http://bugs.python.org/issue7733> ___ ___ Python-bugs-list mailing list

[issue1537721] csv module: add header row to DictWriter

2010-02-23 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Fixed in SVN, r78384. -- ___ Python tracker <http://bugs.python.org/issue1537721> ___ ___ Python-bugs-list mailing list Unsub

[issue1537721] csv module: add header row to DictWriter

2010-02-23 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- assignee: -> djc resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue1537721> ___ ___

[issue8004] add small server to serve docs

2010-02-23 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : I'd like to put something like this in Doc, to make it easier to actually review the built documentation. (I guess we could put it in Tools, I'd just like it better if it was right there with the other stuff.) Good idea? Thomas Wouters kind o

[issue8004] add small server to serve docs

2010-02-23 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: I do almost all of my development on servers, so while I guess I could mount the remote file system and do that, that's not very easy to do (since I access my servers from multiple boxes, some of which run Windows, etc). I guess if not many people do

[issue8004] add small program to serve docs

2010-02-23 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Sure, I'm happy to fix up the little things. The point is that this works and solves (IMO) a real problem, so I wonder if we can get this in. -- ___ Python tracker <http://bugs.python.org/i

[issue7733] asyncore docs reference is unclear

2010-02-23 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Fixed in r78415. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue7733> ___ __

[issue8039] precedence rules for ternary operator

2010-03-02 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : So http://docs.python.org/reference/expressions.html doesn't currently mention the ternary operator as far as I can see. Maybe this is trivial, but it would be nice to know where it fits into the hierarchy. (I.e., my co-worker just came up to me a

[issue8039] precedence rules for ternary operator

2010-03-02 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +ezio.melotti ___ Python tracker <http://bugs.python.org/issue8039> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1537721] csv module: add header row to DictWriter

2010-03-04 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Testing on Windows with this: Index: Lib/test/test_csv.py === --- Lib/test/test_csv.py(revision 78430) +++ Lib/test/test_csv.py(working copy) @@ -9,6 +9,7 @@ import tempfile

[issue1537721] csv module: add header row to DictWriter

2010-03-04 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Committed in r78660 after positive comment from briancurtin re Windows. Hopefully this fixes Solaris, as well. -- ___ Python tracker <http://bugs.python.org/issue1537

[issue1537721] csv module: add header row to DictWriter

2010-03-05 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Both the solaris and windows slaves seem to have succeeded this time. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/iss

[issue7946] Convoy effect with I/O bound threads and New GIL

2010-03-26 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue7946> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8483] asyncore.dispatcher.__repr__() is weird

2010-04-21 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : This is rather confusing: Python 2.6.4 (r264:75706, Mar 8 2010, 08:41:55) [GCC 4.3.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import socket, asyncore >

[issue8483] asyncore.dispatcher.__repr__() is weird

2010-04-21 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +josiah.carlson, josiahcarlson ___ Python tracker <http://bugs.python.org/issue8483> ___ ___ Python-bugs-list mailin

[issue8483] asyncore.dispatcher.__repr__() is weird

2010-04-21 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Current guess for this behavior: dispatcher doesn't have __str__, so __getattr__ escalates to _socket.socket.__str__, which gets redirected to _socket.socket.__repr__. -- ___ Python tracker

[issue8483] asyncore.dispatcher.__repr__() is weird

2010-04-21 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: David, just have a look at the interpreter transcript, in particular the results of the print statements. I'm not sure why it happens, in my previous message I just stated a hypothesis. -- ___ Python tr

[issue8483] asyncore.dispatcher's __getattr__ method produces confusing effects

2010-04-22 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: I definitely like the patch, but ideally we would also have a patch adding a __str__ on dispatcher, right? Which would just return the repr(self) result. -- ___ Python tracker <http://bugs.python.org/issue8

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2019-09-03 Thread Dirkjan Ochtman
Change by Dirkjan Ochtman : -- nosy: -djc ___ Python tracker <https://bugs.python.org/issue6731> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7946] Convoy effect with I/O bound threads and New GIL

2019-09-03 Thread Dirkjan Ochtman
Change by Dirkjan Ochtman : -- nosy: -djc ___ Python tracker <https://bugs.python.org/issue7946> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29427] Option to skip padding for base64 urlsafe encoding/decoding

2019-09-03 Thread Dirkjan Ochtman
Change by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <https://bugs.python.org/issue29427> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17239] XML vulnerabilities in Python

2019-09-03 Thread Dirkjan Ochtman
Change by Dirkjan Ochtman : -- nosy: -djc ___ Python tracker <https://bugs.python.org/issue17239> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7247] test_fcntl_64_bit from test_fcntl.py fails in Python 2.6.4

2019-09-03 Thread Dirkjan Ochtman
Change by Dirkjan Ochtman : -- nosy: -djc ___ Python tracker <https://bugs.python.org/issue7247> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2142] difflib.unified_diff(...) produces invalid patches

2021-02-18 Thread Dirkjan Ochtman
Change by Dirkjan Ochtman : -- nosy: -djc ___ Python tracker <https://bugs.python.org/issue2142> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6103] Static library (libpythonX.Y.a) installed in incorrect location

2020-11-11 Thread Dirkjan Ochtman
Change by Dirkjan Ochtman : -- nosy: -djc ___ Python tracker <https://bugs.python.org/issue6103> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14030] Be more careful about selecting the compiler in distutils

2012-02-16 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue14030> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14030] Be more careful about selecting the compiler in distutils

2012-02-16 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : distutils incorrectly handles CFLAGS as 1 argument instead of space-separated list of arguments. distutils should respect environment variables, which set compiler, linker etc. --- Lib/distutils/unixccompiler.py +++ Lib/distutils/unixccompiler.py @@ -297,7

[issue14393] Incorporate Guide to Magic Methods?

2012-03-23 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : Should we perhaps ask if we can include https://github.com/RafeKettler/magicmethods in the official docs? It seems nice (and now ranks higher on Google than the official docs...). -- assignee: docs@python components: Documentation messages: 156639

[issue1222585] C++ compilation support for distutils

2012-04-13 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Ping, again. I'm sorry, I didn't write any of these patches and would not be a great fit for writing tests. -- ___ Python tracker <http://bugs.python.org

[issue1762561] unable to serialize Infinity or NaN on ARM using marshal

2012-04-13 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Could we reconsider ARM support at this time? Seems like ARM support has been surging over the past few years, and it's becoming more supported by Linux distributions. Seems like a pity to leave a patch like this out here. -- nosy:

[issue1222585] C++ compilation support for distutils

2017-07-28 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: -djc ___ Python tracker <http://bugs.python.org/issue1222585> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14831] make r argument on itertools.combinations() optional

2012-05-16 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : I'm not sure why this is allowed for permutations() but not combinations(). -- messages: 160874 nosy: djc priority: normal severity: normal status: open title: make r argument on itertools.combinations() opt

[issue14831] make r argument on itertools.combinations() optional

2012-05-16 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- components: +Library (Lib) versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue14831> ___ ___ Python-bugs-list m

[issue14831] make r argument on itertools.combinations() optional

2012-05-16 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- versions: +Python 3.2 -Python 3.3 ___ Python tracker <http://bugs.python.org/issue14831> ___ ___ Python-bugs-list mailin

[issue14831] make r argument on itertools.combinations() optional

2012-05-16 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: [[], [0], [1], [2], [0, 1], [0, 2], [1, 2], [0, 1, 2]] That is, all possible combinations. -- ___ Python tracker <http://bugs.python.org/issue14

[issue14908] datetime.datetime should have a timestamp() method

2012-05-25 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : There's datetime.fromtimestamp() and datetime.timetuple(), but no datetime.timestamp(). It should be possible to round-trip a UNIX timestamp through a datetime.datetime. -- messages: 161558 nosy: djc priority: normal severity: normal status:

[issue15520] Document datetime.timestamp() in 3.3 What's New

2012-08-01 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman: It seems nice if datetime.timestamp() would be mentioned in the What's New. Does that seem acceptable? I'm happy to whip up a patch. -- assignee: docs@python components: Documentation messages: 167096 nosy: djc, docs@python priority: norma

[issue6308] termios fix for QNX breaks HP-UX

2012-08-01 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Can we have someone take a look at this? It seems fairly innocuous. -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue6

[issue16286] Optimize a==b and a!=b for bytes and str

2012-10-19 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue16286> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20767] Some python extensions can't be compiled with clang 3.4

2014-04-01 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue20767> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20767] Some python extensions can't be compiled with clang 3.4

2014-04-01 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Can we have some more feedback on this? -- ___ Python tracker <http://bugs.python.org/issue20767> ___ ___ Python-bugs-list m

[issue20767] Some python extensions can't be compiled with clang 3.4

2014-04-01 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: That does look to be a different issue, though. -- ___ Python tracker <http://bugs.python.org/issue20767> ___ ___ Python-bug

[issue16570] Absolute imports fail to take full path into account?

2012-11-28 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman: This seems confusing: djc@enrai test $ ls -lR .: total 0 drwxr-xr-x 4 djc users 160 Nov 28 15:35 pkg ./pkg: total 4 -rw-r--r-- 1 djc users 39 Nov 28 15:37 http.py -rw-r--r-- 1 djc users 0 Nov 28 15:34 __init__.py drwxr-xr-x 3 djc users 136 Nov 28 15:40

[issue16570] Absolute imports fail to take full path into account?

2012-11-28 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: It's not nonsensical. Something exactly like it came up while I was looking into porting couchdb-python to Python 3. couchdb-python has had a couchdb.http module for a while now; it didn't start clashing with the stdlib until Python 3. Als

[issue16570] Absolute imports fail to take full path into account?

2012-11-28 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Never mind, I get what you're getting at now. I thought that the cwd was added to the sys.path, not the containing directory for the executed script. I'll look into using __main__. Thanks! -- ___ Pyth

[issue17136] ctypes tests fail with clang on non-OS X

2013-02-05 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman: I recently filed http://llvm.org/bugs/show_bug.cgi?id=15153, prompted by https://bugs.gentoo.org/show_bug.cgi?id=427338 (for 2.7, and https://bugs.gentoo.org/show_bug.cgi?id=427330 for 3.2), for which I found http://bugs.python.org/issue9852. Similar

[issue17136] ctypes tests fail with clang on non-OS X

2013-02-05 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Thanks, I've filed https://github.com/atgreen/libffi/issues/29. -- ___ Python tracker <http://bugs.python.org/is

[issue17136] ctypes tests fail with clang on non-OS X

2013-02-06 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Is there a particular reason for not upstreaming the PyObjC changes? -- ___ Python tracker <http://bugs.python.org/issue17

[issue17136] ctypes tests fail with clang on non-OS X

2013-02-09 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: libffi now has this fix: https://github.com/atgreen/libffi/commit/6a790129427121f7db2d876e7218a3104e6d2741 Can someone test with that? -- ___ Python tracker <http://bugs.python.org/issue17

[issue17136] ctypes tests fail with clang on non-OS X

2013-02-12 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: libffi-3.0.12 has been released with that fix. Perhaps that should be included in future Python releases? -- nosy: +benjamin.peterson, georg.brandl, larry priority: normal -> release blocker ___ Python trac

[issue21591] "exec(a, b, c)" not the same as "exec a in b, c" in nested functions

2014-07-23 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue21591> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21591] "exec(a, b, c)" not the same as "exec a in b, c" in nested functions

2014-07-24 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: I came up with a patch that shifts the compatibility hack we have for the tuple form of exec from run-time (in exec_statement()) to the CST-to-AST transformation (in ast_for_exec_stmt()). It seems to pass the tests (including the ones Robert pasted in here

[issue21591] "exec(a, b, c)" not the same as "exec a in b, c" in nested functions

2014-07-24 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Oh, one specific question: I'm not sure if I should free the "old" expr1 (the top-level exec value) before overwriting it with the new one. -- ___ Python tracker <http://bugs.pyt

[issue21591] "exec(a, b, c)" not the same as "exec a in b, c" in nested functions

2014-07-29 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Thanks to Victor Stinner for the review! -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue21591] "exec(a, b, c)" not the same as "exec a in b, c" in nested functions

2014-08-09 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: I can take a look at the py failure next week. Keeping the run-time compatibility code seems sensible, but I'm not sure if it'd fix the py test? I don't think reverting the changes at this poi

[issue21591] "exec(a, b, c)" not the same as "exec a in b, c" in nested functions

2014-08-10 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Thanks, Benjamin, for reverting the run-time bits. -- ___ Python tracker <http://bugs.python.org/issue21591> ___ ___ Python-bug

[issue20324] gcc-4.3 support on python-3.3 (libmpdec)

2014-01-21 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman: See https://bugs.gentoo.org/show_bug.cgi?id=498640: What compiler versions are supported for 3.3? We noticed an issue when compiling 3.3.3 with gcc 4.3: /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: build/temp.linux-x86_64

[issue20324] gcc-4.2.4 support on python-3.3 (libmpdec)

2014-01-21 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Given this, WONTFIXing this seems reasonable to me, FWIW. -- ___ Python tracker <http://bugs.python.org/issue20324> ___ ___

[issue6312] httplib fails with HEAD requests to pages with "transfer-encoding: chunked"

2010-05-26 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: The fix in r80583 is bad. It fails to close() the response (which previously worked as expected), meaning that the connection can't be re-used. (I ran into this because Gentoo has backported the 2.6-maint fixes to their 2.6.5 distribution.) Shall I o

[issue8877] 2to3 fixes stdlib import wrongly

2010-06-02 Thread Dirkjan Ochtman
New submission from Dirkjan Ochtman : d...@enrai src $ ls -l test/* -rw-r--r-- 1 djc users 34 Jun 2 16:00 test/http.py -rw-r--r-- 1 djc users 0 Jun 2 16:00 test/__init__.py d...@enrai src $ cat test/http.py from httplib import BadStatusLine d...@enrai src $ 2to3 test/* RefactoringTool

[issue2459] speedup for / while / if with better bytecode

2010-06-02 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Is this still relevant / will it get some love in the future? -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue2

  1   2   >