[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:

[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:

[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:

[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:

[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:

[issue24303] OSError 17 due to _multiprocessing/semaphore.c assuming a one-to-one Pid -> process mapping.

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

[issue23102] distutils: isinstance checks fail with setuptools-monkeypatched Extension/Distribution

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

[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

[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-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-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-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-23 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue21591> ___ ___ 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: That does look to be a different issue, though. -- ___ Python tracker <http://bugs.python.org/issue20767> ___ ___ Python-bug

[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

[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> ___ ___

[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

[issue17514] Add the license to argparse.py

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

[issue10213] tests shouldn't fail with unset timezone

2013-02-23 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: I guess option 3 would be the best (in that people get more usable libraries). Option 2 seems okay as well. I don't much like 1 or 4. -- ___ Python tracker <http://bugs.python.org/is

[issue17239] XML vulnerabilities in Python

2013-02-20 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +djc ___ Python tracker <http://bugs.python.org/issue17239> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17228] Building without PYMALLOC fails

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

[issue17228] Building without PYMALLOC fails

2013-02-19 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +hynek, ned.deily, ronaldoussoren ___ Python tracker <http://bugs.python.org/issue17228> ___ ___ Python-bugs-list mailin

[issue17202] Add .bat line to .hgeol

2013-02-15 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +georg.brandl, pitrou ___ Python tracker <http://bugs.python.org/issue17202> ___ ___ Python-bugs-list mailing list Unsub

[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

[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-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-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-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

[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

[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
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

[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:

[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

[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

[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:

[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

[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
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
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

[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

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

[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

[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

[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

[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

[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:

[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:

[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

[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

[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:

[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

[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

[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:

[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

[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: 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

[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

[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
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: 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-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

[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

[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

[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.

[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

[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

[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:

[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:

[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:

[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:

[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:

[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:

[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

[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

[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

[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-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

[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

[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

[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

[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

[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:

[issue6785] IncompleteRead / BadStatus when parsing http://peakoil.mobi

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

[issue8138] wsgiref.simple_server.SimpleServer claims to be multithreaded

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

[issue8906] Document TestCase attributes in class docstring

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

[issue8867] serve.py (using wsgiref) cannot serve Python docs under Python3 due to encoding issues

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

[issue8450] httplib: false BadStatusLine() raised

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

[issue7141] 2to3 should add from __future__ import print_statement

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

[issue7186] Document specialness of __doc__, and possibly other "special" attributes

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

[issue7225] fwrite() compiler warnings

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

[issue7828] chr() and ord() documentation for wide characters

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

[issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

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

[issue9314] inconsistent result when concatenating list with iterators

2010-07-20 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Hmm, I'm still not entirely sure that += shouldn't disallow this as well, just because of the inconsistency. I understand the reasoning now, but it feels like maybe it should be an implementation detail, and it should just be disallowed (refus

[issue9314] inconsistent result when concatenating list with iterators

2010-07-20 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Hmm, that's pretty subtle. I guess I understand, at least. -- ___ Python tracker <http://bugs.python.org/issue9314> ___ ___

[issue9314] inconsistent result when concatenating list with iterators

2010-07-20 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Sure, but: >>> a = ['a', 'b', 'c'] >>> a += 'def' >>> a ['a', 'b', 'c', 'd', 'e', 'f'] I think either way is fine (I&#

  1   2   >