[issue2912] let platform.uname try harder

2008-06-10 Thread James Thomas
James Thomas <[EMAIL PROTECTED]> added the comment: Ah, ok, the code under except AttributeError: gives me some good ideas. Should I use the methods utilized there to extract information from the system? ___ Python tracker <[EMAIL PROTECTE

[issue3051] heapq change breaking compatibility

2008-06-11 Thread Thomas Herve
Thomas Herve <[EMAIL PROTECTED]> added the comment: Yes, the last commit did the trick. Thanks. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3051] heapq change breaking compatibility

2008-06-11 Thread Thomas Herve
Thomas Herve <[EMAIL PROTECTED]> added the comment: Sure, that's fine with me. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3051> ___ _

[issue2912] let platform.uname try harder

2008-06-11 Thread James Thomas
James Thomas <[EMAIL PROTECTED]> added the comment: Here is the patch (apply to platform.py) -- keywords: +patch Added file: http://bugs.python.org/file10594/platform.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2912] let platform.uname try harder

2008-06-12 Thread James Thomas
James Thomas <[EMAIL PROTECTED]> added the comment: Your patch works perfectly on windows. Thanks for your help. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3095] multiprocessing initializes flags dict unsafely

2008-06-12 Thread James Thomas
James Thomas <[EMAIL PROTECTED]> added the comment: I believe this patch solves the problem. I added the line Py_DECREF(temp) after the code block shown above. I also changed the line if (PyDict_SetItemString(temp, #name, Py_BuildValue("i", name)) < 0) return to if (P

[issue3124] test_multiprocessing segfaults on Windows

2008-06-16 Thread Thomas Heller
New submission from Thomas Heller <[EMAIL PROTECTED]>: When Python shuts down after running test_multiprocessing on Windows, a segfault occurs (this is with a debug build from trunk): > python26_d.dll!_Py_ForgetReference(_object * op=0x012de740) Line 2023 + 0xf by

[issue3125] test_multiprocessing causes test_ctypes to fail

2008-06-16 Thread Thomas Heller
New submission from Thomas Heller <[EMAIL PROTECTED]>: test_ctypes, when run after testmultiprocessing, fails: ... == ERROR: test_simple (ctypes.test.test_pickling.Pick

[issue3124] test_multiprocessing segfaults on Windows

2008-06-16 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Yes, the patch weakref_cycle.patch from #3100 fixes the problem. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3125] test_multiprocessing causes test_ctypes to fail

2008-06-16 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: IMO this problem occurs because multiprocessing registers pickling support for ctypes, but the ctypes in trunk already has support for pickling. ___ Python tracker <[EMAIL PROTECTE

[issue3125] test_multiprocessing causes test_ctypes to fail

2008-06-16 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Adam Olsen schrieb: > Thomas, do you have a specific command to reproduce this? It runs fine > if I do "./python -m test.regrtest -v test_multiprocessing test_ctypes". > That's with amaury's patch from

[issue3125] test_multiprocessing causes test_ctypes to fail

2008-06-16 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: > Adam Olsen <[EMAIL PROTECTED]> added the comment: > > I see no common symbols between #3102 and #3092, so unless I missed > something, they shouldn't be involved. > > I second the notion that mul

[issue3124] test_multiprocessing segfaults on Windows

2008-06-16 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: > Thomas Heller <[EMAIL PROTECTED]> added the comment: > > Yes, the patch weakref_cycle.patch from #3100 fixes the problem. BTW: I also get a segfault on Linux, which is fixed by this patch. _

[issue3125] test_multiprocessing causes test_ctypes to fail

2008-06-18 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: roudkerk schrieb: > roudkerk <[EMAIL PROTECTED]> added the comment: > > This patch to sharedctypes should fix the problem by adding a > __reduce_ex__() method to a shared ctype object instead of using copy_reg. I ca

[issue3258] ctypes assertion failure in trunk

2008-07-15 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Thanks for the heads up. Fixed in trunk (rev 64971) and py3k (rev 64972). I used "&B" (pointer to bytes) as the format string for pointer to incomplete structure, not "&P". -- resolution

[issue3313] dlopen() error with no error message from dlerror()

2008-07-15 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: I can confirm the problem on ubuntu linux. -- assignee: -> theller nosy: +theller ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3313] dlopen() error with no error message from dlerror()

2008-07-15 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Thanks for the patch, fixed in trunk rev 64977 and py3k rev 64978. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue2470] Need fixer for dl (removed) -> ctypes module

2008-08-07 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: I can review and try out the fixer if someone provides a patch. OTOH I have never used the dl module. Note that dl exposed a lot of RTLD_ constants that ctypes does not yet, so there should be a patch for ctype

[issue3383] ctypes.util fails to find libc in some environments

2008-08-11 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Well, I have no idea what the standard setup on posix boxes is - should objdump and ldconfig be on $PATH or not? Regarding the groups in the regexp: It is my understanding that the parens do not matter because .group(0) is returned,

[issue3554] ctypes.wstring_at and string_at call Python API without the GIL

2008-08-14 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Good catch! Indeed, when PyString_FromString or PyUnicode_FromWideChar fail, Python crashes with Fatal Python error: PyThreadState_Get: no current thread in a debug build, and an access violation in a release build (tested on W

[issue3554] ctypes.wstring_at and string_at call Python API without the GIL

2008-08-19 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: This is fixed now in SVN, in trunk, branches/py3k, and branches/release25-maint. Thanks again. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PR

[issue3265] Python-2.5.2/Modules/_ctypes/malloc_closure.c:70: error: `MAP_ANONYMOUS' undeclared

2008-08-19 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Here is a patch for Modules/_ctypes/malloc_closure.c that may work (totally untested). The code snippet is copied from Modules/mmapmodule.c. -- keywords: +patch Added file: http://bugs.python.org/file11161/malloc_closure

[issue3265] Python-2.5.2/Modules/_ctypes/malloc_closure.c:70: error: `MAP_ANONYMOUS' undeclared

2008-08-19 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Corrected the patch. Added file: http://bugs.python.org/file11162/malloc_closure.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3265] Python-2.5.2/Modules/_ctypes/malloc_closure.c:70: error: `MAP_ANONYMOUS' undeclared

2008-08-19 Thread Thomas Heller
Changes by Thomas Heller <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11161/malloc_closure.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3612] Add some basic mssing types in ctypes.wintypes

2008-08-20 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: I have no objections against this patch - feel free to check it in if it is not too late before the beta. Also I think that LPDWORD and friends are a good idea, you should extend the patch with them. -- assignee: theller -&

[issue3617] Add MS EULA to the list of third-party licenses in the Windows installer

2008-08-20 Thread Thomas Heller
Changes by Thomas Heller <[EMAIL PROTECTED]>: -- nosy: +theller ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3617> ___ ___ Python

[issue3612] Add some basic mssing types in ctypes.wintypes

2008-08-20 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: I think this is too fancy. I would prefer to spell the definitions out like this: LPDWORD = PDWORD = POINTER(DWORD) LPCSTR = LPSTR = c_wchar_p We could avoid the giant __all__ list when we 'import ctypes as _ctypes'

[issue2764] c_char doesn't implement py3k buffer interface

2008-08-21 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: The test has already been fixed and reenabled in rev 65849. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue2404] Backport ctypes support for buffer protocol to Python 2.6 (ref issue1971)

2008-08-21 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: I forgot to close this issue. Already implemented in svn rev 63962. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3785] Can't build ctypes of Python 2.5.2 with Sun Studio 12

2008-09-05 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: The libffi library in Python 2.5 is too old and won't be upgraded to a newer version. I see several possibilities for you: - Use Python 2.6 (if you can live with the beta or wait for the release) - Use Python 2.5, compile with

[issue2145] ctypes.util.find_library(): posix .so without SONAME

2008-09-09 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Cool. -- resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3870] Parser/asdl_c.py requires python in order to build python

2008-09-17 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: I think it would be a good idea to change the Makefile so that it touches these files when no python interpreter is available. -- nosy: +theller ___ Python tracker <[EMAIL PROTECTE

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-17 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Here is a patch, with test, that fixes this problem. -- keywords: +needs review, patch Added file: http://bugs.python.org/file11513/bitfields.patch ___ Python tracker <[EMAIL PROTECTE

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-17 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Updated patch. Added file: http://bugs.python.org/file11514/bitfields-2.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-17 Thread Thomas Heller
Changes by Thomas Heller <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11513/bitfields.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-18 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Updated the unittest so that it works on Windows, too. Added file: http://bugs.python.org/file11515/bitfields-3.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-18 Thread Thomas Heller
Changes by Thomas Heller <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file11514/bitfields-2.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3102] ctypes defines global symbols

2008-09-18 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Is it too late to fix this for Python 2.6 and Python 3.0? ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3900] ctypes: wrong calling convention for _string_at

2008-09-18 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: This is already fixed in SVN, see issue #3554. -- assignee: -> theller nosy: +theller resolution: -> duplicate status: open -> closed ___ Python tracker <[EMAIL

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-23 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Make this a release blocker so hopefully someone will review it. -- priority: -> release blocker ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-24 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Fredrik Lundh schrieb: > Looks fine to me, except for the comment in the test suite. Should > > +# MS compilers do NOT combine c_short and c_int into > +# one field, gcc doesn't. > > perhaps be

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-24 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Skip Montanaro schrieb: > Looks reasonable, though I'm no ctypes maven. Trivial little nit: > In the comment just before the start of CField_FromDesc it says, > in part: > > * Expects the size, index and offse

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-25 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Does the following patch fix the test failure with MingW? Index: cfield.c === --- cfield.c(revision 66611) +++ cfield.c(working copy) @@ -65,10

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-26 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Ok, here is an additional patch bitfields-mingw.patch. It fixes the problem reported by rpetrov, and updates the comments. Please review again ;-). The previous patch bitfields-3.patch has already been applied. Added file

[issue3547] Ctypes is confused by bitfields of varying integer types

2008-09-29 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Committed as SVN rev 66683 (trunk), 66684 (py3k), and 66685 (release25-maint). -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <h

[issue4063] sphinx: make all-pdf does not exist.

2008-10-07 Thread Thomas Guettler
New submission from Thomas Guettler <[EMAIL PROTECTED]>: Hi, after sphinx-quickstart and running "make latex" I get: Build finished; the LaTeX files are in build/latex. Run `make all-pdf' or `make all-ps' in that directory to run these through [EMAIL PROTECTED]:...

[issue4063] sphinx: make all-pdf does not exist.

2008-10-08 Thread Thomas Guettler
Thomas Guettler <[EMAIL PROTECTED]> added the comment: Dear georg, I am sorry that I wasted your time. Yes, I ignored the part '..in that directory'. I couldn't find a way to close this ticket, also I am logging in. Do you need special privileges for this? Nevertheless,

[issue4072] build_py support for lib2to3 is stale

2008-10-09 Thread Thomas Heller
Changes by Thomas Heller <[EMAIL PROTECTED]>: -- nosy: +theller ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4072> ___ ___ Python

[issue4073] distutils build_scripts and install_data commands need 2to3 support

2008-10-09 Thread Thomas Heller
Changes by Thomas Heller <[EMAIL PROTECTED]>: -- nosy: +theller ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4073> ___ ___ Python

[issue4091] python dll not installed in windows system directory

2008-10-09 Thread Thomas Heller
New submission from Thomas Heller <[EMAIL PROTECTED]>: Python 2.6 final and Python 3.0 rc1 do NOT install the python dlls into the windows system directory, even when installing 'for all users' and with admin rights. This causes problems with COM objects implemented in Pyth

[issue4089] linking python2.6.dll crash on windows xp

2008-10-10 Thread Thomas Heller
Changes by Thomas Heller <[EMAIL PROTECTED]>: -- resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue4075] Use WCHAR variant of OutputDebugString

2008-10-11 Thread Thomas Heller
Changes by Thomas Heller <[EMAIL PROTECTED]>: -- nosy: +theller ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4075> ___ ___ Python

[issue4194] default subprocess.Popen buffer size

2010-01-19 Thread Thomas Guettler
Changes by Thomas Guettler : -- nosy: +guettli ___ Python tracker <http://bugs.python.org/issue4194> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5115] Extend subprocess.kill to be able to kill process groups

2010-01-20 Thread Thomas Guettler
Changes by Thomas Guettler : -- nosy: +guettli ___ Python tracker <http://bugs.python.org/issue5115> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7325] tempfile.mkdtemp() does not return absolute pathname when dir is specified

2010-01-25 Thread Thomas Holmes
Thomas Holmes added the comment: I have created a patch for this for Python 3.1 and included an update to the unit tests. The tests were never checking for a relative path and if they did would pas it even when it would have failed due to liberal use of os.path.abspath() The test fix is

[issue7325] tempfile.mkdtemp() does not return absolute pathname when dir is specified

2010-01-25 Thread Thomas Holmes
Thomas Holmes added the comment: As a side note, this was done mostly as an exercise for myself and as a learning experience. Any feedback would be appreciated regardless of any decision on the status of this bug. -- ___ Python tracker <h

[issue1752919] Exception in HTMLParser for special JavaScript code

2010-01-26 Thread Thomas Holmes
Thomas Holmes added the comment: I agree, I do not feel like the precise changes to the tests feel completely ideal. I feel that this problem stems from the fact that the nameCheck function as originally written doesn't seem to completely serve its originally intended purpose. The ori

[issue1752919] Exception in HTMLParser for special JavaScript code

2010-01-26 Thread Thomas Holmes
Thomas Holmes added the comment: Please disregard, I commented on the wrong issue. -- ___ Python tracker <http://bugs.python.org/issue1752919> ___ ___ Python-bug

[issue1752919] Exception in HTMLParser for special JavaScript code

2010-01-26 Thread Thomas Holmes
Changes by Thomas Holmes : -- nosy: -Thomas.Holmes ___ Python tracker <http://bugs.python.org/issue1752919> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7325] tempfile.mkdtemp() does not return absolute pathname when dir is specified

2010-01-26 Thread Thomas Holmes
Thomas Holmes added the comment: I agree, I do not feel like the precise changes to the tests feel completely ideal. I feel that this problem stems from the fact that the nameCheck function as originally written doesn't seem to completely serve its originally intended purpose. The ori

[issue7325] tempfile.mkdtemp() does not return absolute pathname when dir is specified

2010-01-26 Thread Thomas Holmes
Thomas Holmes added the comment: One other thing that crossed my mind while I was thinking over this today. Instead of just relative pathing to '.' I should probably change my path to gettempdir() and then relative path to it since the location of the python executable may not b

[issue7325] tempfile.mkdtemp() does not return absolute pathname when dir is specified

2010-01-27 Thread Thomas Holmes
Thomas Holmes added the comment: I made a new patch off of the 2.7 trunk version. I think I have handled some of the issues more cleanly. Please see Py(27)7325.diff I addressed the issue of using a relative path in the tempdir to achieve the 'guaranteed' ability to write r

[issue7861] 2to3: "import foo" -> "from . import foo"

2010-02-05 Thread Thomas Spura
New submission from Thomas Spura : My custom setup / testcase for testing the transition "import foo" -> "from . import foo": mkdir -p test/sub touch test/sub/__init__.py touch test/__init__.py cat >> test/__init__.py << EOF import sub EOF cat >> t

[issue7861] 2to3: "import foo" -> "from . import foo"

2010-02-05 Thread Thomas Spura
Thomas Spura added the comment: #2446 should be related to this one. -- nosy: +David Wolever ___ Python tracker <http://bugs.python.org/issue7861> ___ ___ Pytho

[issue7861] 2to3: "import foo" -> "from . import foo"

2010-02-08 Thread Thomas Spura
Thomas Spura added the comment: The commit I'm talking about was 22 months ago (r61755), python 2.6.2 was released April 14, 2009. At least strange, that this is not jet in there, but if you think, it will in the next version... -- ___ P

[issue7915] A lists which list.sort seems to leave out of order.

2010-02-11 Thread Thomas Wouters
Thomas Wouters added the comment: You have a nan in your list of tuples, which screws up the sorting. After the first sort, elements 580395-7 are: (0.99257340581672904, 551095), (nan, 551371), (6.6494600485570754e-14, 551526), -- nosy: +twouters resolution: -> invalid status: o

[issue7332] python script segment fault at PyMarshal_ReadLastObjectFromFile in import_submodule

2010-02-16 Thread Thomas Smith
Thomas Smith added the comment: I'm also getting segfaults in PyMarshal_ReadLastObjectFromFile in Python 2.6.2 (on Ubuntu Jaunty). It's very sporadic, I've been reproducing it by running a minimal script 100,000 times, and getting a few core dumps. There are several Ubunt

[issue7959] ctypes memory leak

2010-02-18 Thread Thomas Heller
New submission from Thomas Heller : This little script 'ctypes-leak.py' leaks memory: """ import gc from ctypes import * PROTO = WINFUNCTYPE(None) class Test(object): def func(self): pass def __init__(self): self.v = PROTO(self.func) while

[issue7959] ctypes memory leak

2010-02-23 Thread Thomas Heller
Thomas Heller added the comment: CThunkObject is not registered correctly with the cycle GC. The attached patch, against trunk, fixes the issue. -- keywords: +patch Added file: http://bugs.python.org/file16345/issue7957.patch ___ Python tracker

[issue887237] Machine integers

2010-03-05 Thread Thomas Heller
Thomas Heller added the comment: >> Code duplication is unavoidable because the goal is to give access to >> machine arithmetics which means (# types) x (# operations) of very >> similar looking functions. I considered reducing (perceived) code >> duplication through

[issue8111] docs.python.org/download.html unhelpful.

2010-03-10 Thread Thomas Wouters
New submission from Thomas Wouters : docs.python.org is showing the docs for 2.6.5c2. As its most obvious bad consequence, docs.python.org/download.html doesn't offer any actual downloads, and there are no obvious (to newbies looking to download docs) links to working down

[issue8111] docs.python.org/download.html unhelpful.

2010-03-12 Thread Thomas Wouters
Thomas Wouters added the comment: Things getting worse before they get better? http://docs.python.org/ now shows the 2.7a4 documentation, which is really not good. Perhaps we need some safeguards to make sure that http://docs.python.org/ is a *stable* version of the docs? :P

[issue8111] docs.python.org/download.html unhelpful.

2010-03-12 Thread Thomas Wouters
Thomas Wouters added the comment: Oh, actually, looks like something was redirecting from docs.python.org to docs.python.org/dev. It seems fixed now. (It wasn't just me, though, I got complaints from others that it was 2.7a4 for at least an

[issue8111] docs.python.org/download.html unhelpful.

2010-03-12 Thread Thomas Wouters
Changes by Thomas Wouters : -- ___ Python tracker <http://bugs.python.org/issue8111> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue8111] docs.python.org/download.html unhelpful.

2010-03-12 Thread Thomas Wouters
Changes by Thomas Wouters : -- ___ Python tracker <http://bugs.python.org/issue8111> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue8111] docs.python.org/download.html unhelpful.

2010-03-12 Thread Thomas Wouters
Thomas Wouters added the comment: Nevermind the 2.7a4 comments, I think I'm just not all awake yet. The complaints I got were about it being 2.6.5c2, my browser showing me 2.7a4 may have been stupid autocompletion or something. (Still, pleas

[issue8142] libffi update to 3.0.9

2010-03-18 Thread Thomas Heller
Thomas Heller added the comment: > the ports which are maintained separately still need an update: > > libffi_msvc > libffi trunk now has a port to x86/msvc. might require some > extra updates from libffi. I'll take care of this one. Would it be a good idea to upgrad

[issue8154] os.execlp('true') crashes the interpreter on 2.x

2010-03-18 Thread Thomas Heller
Thomas Heller added the comment: > Thomas, > > Do you remember why your patch for issue1039 was not backported? Probably an oversight only. -- ___ Python tracker <http://bugs.python.o

[issue8142] libffi update to 3.0.9

2010-03-19 Thread Thomas Heller
Thomas Heller added the comment: > We should revert the following chunk for configure.ac to generate the > Makefile's again, so that we are able to run the testsuite at least with > dejagnu: > > -AC_CONFIG_FILES(include/Makefile include/ffi.h Makefile testsuite/Make

[issue8142] libffi update to 3.0.9

2010-03-19 Thread Thomas Heller
Thomas Heller added the comment: > done, and updated the patch for the merge from the trunk. > > -- > Added file: http://bugs.python.org/file16590/libffi-update3.diff This patch passes the ctypes tests and libffi testsuite on this system: Linux tubu64 2.6.24-27-generi

[issue1544339] _ctypes fails to build on Solaris x86 32-bit (Sun compiler)

2010-03-23 Thread Thomas Heller
Thomas Heller added the comment: > It appears to me that no-one is maintaining this separate ctypes > code-base anymore so I'll have to ditch dependencies that use it > (Shapely) unfortunately. This is correct, the separate ctypes code base is linked via svn:external into the c

[issue8314] test_ctypes fails in test_ulonglong on sparc buildbots

2010-04-08 Thread Thomas Heller
Thomas Heller added the comment: Martin, you should probably post your patch to upstream libffi. -- ___ Python tracker <http://bugs.python.org/issue8314> ___ ___

[issue4453] MSI installer shows error message if "Compile .py files to bytecode" option is selected

2010-04-15 Thread Aaron Thomas
Aaron Thomas added the comment: I can verify this will all versions of Windows 7, and the versions of python 32 and 64 bit. I install this at my work to many machines, and every one of them crashes when trying to 'compile py scripts to bytecode' during install. I have to left

[issue4120] Do not embed manifest files in *.pyd when compiling with MSVC

2010-04-26 Thread Thomas Heller
Thomas Heller added the comment: I'm not sure this issue is really done. The current state works fine, but there is one problem remaining: There are Python extensions that seem to need a manifest pointing to the MSVC runtime libs: dlls that start in-process com servers, like pythonco

[issue1549] Regression with __hash__ definition and rich comparison operators

2007-12-03 Thread Thomas Herve
New submission from Thomas Herve: A new behavior was introduced in r59106 in python trunk, which look suspicious to me. Basically, every time a class defines a comparison operator, it's __hash__ method is defined to None. The simple following example shows it: >>> class A(object

[issue1549] Regression with __hash__ definition and rich comparison operators

2007-12-03 Thread Thomas Herve
Thomas Herve added the comment: Of course, I meant unusable. -- nosy: +exarkun __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1549> __ ___ Python-bugs-

[issue1549] Regression with __hash__ definition and rich comparison operators

2007-12-03 Thread Thomas Herve
Thomas Herve added the comment: Also, to be more clear, that happens when you define any of the functions in the name_op array (__lt__, __le___, __gt__, __ge__, ...). It's not just a problem about the object being non hashable. __ Tracker <[EMAIL P

[issue1549] Regression with __hash__ definition and rich comparison operators

2007-12-03 Thread Thomas Herve
Thomas Herve added the comment: There are different ways to fix this. Reverting r59016 is one of them, but I guess it's not an acceptable solution :). >From what I understand of the changes, removing the operations (__lt__, __gt__, __le__, __ge__) from the name_op array would fix thi

[issue1549] Regression with __hash__ definition and rich comparison operators

2007-12-04 Thread Thomas Herve
Thomas Herve added the comment: I gave it a try. The following patch corrects 2 problems: * classes with only __lt__ and __gt__ defined are hashable * classes defining __eq__ get a meaningful exception. I've restricted the hash_name_op to the bare minimum, but no tests failed, so I sup

[issue1552] fromfd() and socketpair() should return wrapped sockets

2007-12-04 Thread Thomas Herve
Thomas Herve added the comment: This is a nice enhancement. I attach a quick patch to add tests for that. -- nosy: +therve Added file: http://bugs.python.org/file8872/1552_test_socket.diff __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1285940] socket intial recv() latency

2007-12-04 Thread Thomas Herve
Thomas Herve added the comment: Can we close this one? -- nosy: +therve _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1285940> _ ___ Python-bugs-

[issue1554] [patch] socketmodule cleanups: allow the use of keywords in socket functions

2007-12-04 Thread Thomas Herve
New submission from Thomas Herve: I attach a patch where I use PyArg_ParseTupleAndKeywords in socketmodule where ARGSUSED was mentioned, or removed ARGSUSED if keywords already used. -- components: Library (Lib) files: socket_keywords.diff messages: 58189 nosy: therve severity: normal

[issue1554] [patch] socketmodule cleanups: allow the use of keywords in socket functions

2007-12-04 Thread Thomas Herve
Thomas Herve added the comment: It's not really for solving a problem, it's an enhancement to allow the functions to be called with keyword parameters. __ Tracker <[EMAIL PROTECTED]> <http://bugs.p

[issue1554] [patch] socketmodule cleanups: allow the use of keywords in socket functions

2007-12-04 Thread Thomas Herve
Thomas Herve added the comment: Alright I'll add tests to the modified functions. I don't think I have to change documentation because I kept the same name for the parameters, but I'll check. Looking at the patch more, maybe it doesn't make sense on the functions takin

[issue1067] test_smtplib failures (caused by asyncore)

2007-12-05 Thread Thomas Wouters
Changes by Thomas Wouters: -- assignee: twouters -> nobody nosy: +nobody __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1067> __ ___ Python-bugs-li

[issue1326] "internal" zipimport.zipimporter feature untested

2007-12-05 Thread Thomas Herve
Thomas Herve added the comment: I attach a patch adding a test and some documentation. This tries to solve issue1325 too. exarkun, does that fulfill your original request? -- nosy: +therve Added file: http://bugs.python.org/file8877/1326.diff __ Tracker

[issue1326] "internal" zipimport.zipimporter feature untested

2007-12-05 Thread Thomas Herve
Thomas Herve added the comment: The patch is against trunk. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1326> __ ___ Python-bugs-list mailing list Unsubs

[issue1557] import distutils.msvccompiler hangs when the environment is too large

2007-12-05 Thread Thomas Heller
New submission from Thomas Heller: 'Python -c "import distutils.msvccompiler"' hangs when the environment is too large. This is because in Lib\distutils\msvc9compiler.py, line 258, popen.wait() does not return because the subprocess does not terminate (probably because the

[issue1554] [patch] socketmodule cleanups: allow the use of keywords in socket functions

2007-12-05 Thread Thomas Herve
Thomas Herve added the comment: Here it is. There were several functions which didn't have any tests at all, so I had to create some. These tests are likely to fail on some platforms (like windows), but I didn't get any machine to test. Added file: http://bugs.python.or

[issue1067] test_smtplib failures (caused by asyncore)

2007-12-05 Thread Thomas Wouters
Thomas Wouters added the comment: I thought I already had, in my reply to Martin and the original comment: he's right, but I don't care about asyncore or asynchat. I merely perpetuated the fix that was already in place. The real 'fix' is to teach both modules about unicode;

<    1   2   3   4   5   6   7   8   9   10   >