[issue4008] IDLE: checksyntax() doesn't support Unicode?

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I can't reproduce the problem. It works fine for me, displaying the box drawing character. In case it matters, sys.getpreferredencoding returns 'ANSI_X3.4-1968'; this is on Linux, idle started

[issue4022] 2.6 dependent on c:\python26\ on windows

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Did you chose "for all users", or "just for me"? -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> &

[issue4023] convert os.getcwdu() to os.getcwd(), and getcwdu() to getcwd()

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: (there is currently no patch attached) I don't think getcwd() should be fixed as getcwdb(). It's not possible to tell what the intention of the call was, in which case I recommend not to change the code at all.

[issue4018] "for me" installer problem on x64 Vista

2008-10-02 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > May be call of SetDllDirectory with argument path to python executable > before to load a python module may help. I'm skeptical. According to the documentation, "The directory from which the application loaded.&quo

[issue3187] os.listdir can return byte strings

2008-10-03 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > Which charset is used when you use bytes filename? It's the "ANSI" code page, which is a system-wide admin-modifiable indirection to some real code page (changing it requires a reboot). In the API, it's ref

[issue4019] 2.6 (final) uses old icons in Start Menu

2008-10-03 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Thanks for pointing that out. I rebuilt the icons file on my build machine, so future releases should pick up the new icons. -- nosy: +loewis resolution: -> fixed status: open

[issue4030] msi installer does not requires UAC permission on Vista

2008-10-03 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: See the "Vista Note" on http://www.python.org/download/releases/2.6/ Closing as "won't fix". -- nosy: +loewis resolution: -> wont fix status: open -> closed _

[issue3187] os.listdir can return byte strings

2008-10-03 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I've committed sys.setfilesystemencoding as r66769. Declaring it as a documentation issue now. Not sure whether it should remain a release blocker; IMO, the documentation can still be produced after the release. -- assig

[issue4008] IDLE: checksyntax() doesn't support Unicode?

2008-10-04 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > @loewis: I guess that your locale is still UTF-8. To refute this claim, I reported that locale.getpreferredencoding reports 'ANSI_X3.4-1968'. I was following your instructions exactly (on Debian 4.0), and still, it

[issue4035] Support bytes for os.exec*()

2008-10-04 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: This is incorrect. On Windows, if the path contains characters with no representation in CP_ACP, encoding the path as bytes makes it invalid. -- nosy: +loewis ___ Python tracker <[EMAIL

[issue4036] Support bytes for subprocess.Popen()

2008-10-04 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I think this should be deferred to 3.1. I'm not sure how much consistency across platforms is desirable, however, using strings is surely the better choice on Windows. I could sympathize with providing bytes support only on POS

[issue4038] py3k error in distutils file_copy exception handlers

2008-10-04 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Looks fine to me, please apply. -- keywords: -needs review nosy: +loewis resolution: -> accepted ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue4039] Add __enter__ and __exit__ methods to StringIO/cStringIO classes

2008-10-04 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Certainly not for 2.5 or 2.6. Targetting this as 2.7. -- nosy: +loewis versions: +Python 2.7 -Python 2.5 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4042] IDLE won't start in 2.6 final. A known fix was overlooked?

2008-10-04 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4042> ___ __

[issue4042] IDLE won't start in 2.6 final. A known fix was overlooked?

2008-10-04 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > Amaury, when I tried to run IDLE from the command line as you suggested > I got: > > C:\>C:\python26\Lib\idlelib\idle.py This is not what Amaury suggested. He suggested that you put the path to python.exe befor

[issue4042] IDLE won't start in 2.6 final. A known fix was overlooked?

2008-10-05 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Closing as "works for me", then. -- resolution: -> works for me status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <h

[issue4049] IDLE does not open at all

2008-10-05 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: What operating system are you using? -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4018] "for me" installer problem on x64 Vista

2008-10-06 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Here is a patch that fixes the problem as proposed. An installer built with that patch is available from http://www.dcl.hpi.uni-potsdam.de/home/loewis/u/python-3.0.14158.msi -- keywords: +patch Added file: http://bugs.pyth

[issue1597850] Cross compiling patches for MINGW

2008-10-06 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: So what's the status of this? Who is still interested in seeing what patches considered? ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pyt

[issue3740] PEP 3121 --- module state is not nul-initalized as claimed in the PEP

2008-10-06 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Here is a patch that should fix this. -- keywords: +needs review, patch priority: critical -> release blocker Added file: http://bugs.python.org/file11712/init.diff ___ Python tracke

[issue4018] "for me" installer problem on x64 Vista

2008-10-06 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- keywords: +needs review priority: normal -> release blocker ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue4014] Python-2.6-py2.6.egg-info contains Alpha reference

2008-10-06 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Ok, I have now removed the Alpha designation, in r66814, r66815, and r66816. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <h

[issue4051] use of TCHAR under win32

2008-10-06 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Please create a separate tracker item per individual change (or per group by enourmously similar changes). Each change will be reviewed separately, and will get accepted or rejected separately. This specific patch (Python-unicode-re

[issue4052] Build on 2.6 on AIX 5.3 fails (syntax error / undeclared identifier subtract)

2008-10-06 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: This has been fixed in r66739. -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue3187] os.listdir can return byte strings

2008-10-06 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > Would it possible to close this issue since os.listdir() is fixed and > many other related functions (posix, posixpath, ntpath, macpath, etc.) > are also fixed? IIUC, these fixes are still not complete: they lack docume

[issue3187] os.listdir can return byte strings

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > Most (or all) patches include new tests about bytes. Here is a patch for > os.rst documentation about listdir(), getcwdb() and readlink(). Thanks! Committed as r66829. I've added additional documentation in r66830, whic

[issue3187] os.listdir can return byte strings

2008-10-07 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3187> ___ __

[issue4004] missing newline in "Could not convert argument %s to string" error message

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: What's the purpose of the additional YY substring? -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.

[issue4060] PyUnicode_DecodeUTF16(..., byteorder=0) gets it wrong on Mac OS X/PowerPC

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I agree with Trent that this is a bug, and I agree with the second patch (pymacconfig.h.patch2). Mark-Andre, sys.byteorder is not affected because detects the byte order at run-time, not at compile-time. Likewise, in the struct

[issue4035] Support bytes for os.exec*()

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Can you come up with a test case? Also, it would probably be good to document what parameters can have what datatypes in the exec family of functions. ___ Python tracker <[EMAIL PROTECTE

[issue3740] PEP 3121 --- module state is not nul-initalized as claimed in the PEP

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Thanks! Committed as r66831 -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue4064] distutils.util.get_platform() is wrong for universal builds on macosx

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > When using a universal build of python on macosx > distutils.util.get_platform should use "fat" for the machine > architecture, instead of the architecture of the current machine. Can you please explain why

[issue4065] _multiprocessing doesn't build on macosx 10.3

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: What does sendmsg(2) say what to include? What about writev(2)? (the latter, on Linux, says that sys/uio.h is indeed the correct header) -- nosy: +loewis ___ Python tracker <[EMAIL

[issue4068] Backport fix for issue 3312

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Looks fine to me. Please apply (don't forget a NEWS entry). -- nosy: +loewis resolution: -> accepted ___ Python tracker <[EMAIL PROTECTED]> <http://bu

[issue1597850] Cross compiling patches for MINGW

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > the compiling strategy for Python (IIRC) is to compile everything, > including modules that will never work, and use compiler errors as a > signal to not include a module in the result. I don't think this c

[issue4064] distutils.util.get_platform() is wrong for universal builds on macosx

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > Somewhere along the way the calculation of the architecture string got > messed up, resulting in the current situation. That is, the current > situation is not as designed by the original author of the universal > b

[issue3677] importing from UNC roots doesn't work

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Kristjan, you suggested this issue for consideration for 2.5.3. Is there an actual patch to apply? If not, the issue should get forwarded to 2.7 (and then to 2.8, and so on, until somebody actually comes up with a patch). -

[issue3367] Uninitialized value read in parsetok.c

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Kristján, you suggested this patch to be considered for 2.5.3. It seems the patch is incorrect. Can you provide a correct one? -- nosy: +loewis versions: +Python 2.5.3 ___ Python tracker &

[issue1597850] Cross compiling patches for MINGW

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > Martin meaning of target and host is different. > There is no reason to use "Canadian Cross": build->host->target. > It is about more simple cross-compilation case: build->host. Terminology issu

[issue4051] use of TCHAR under win32

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > What about to substitute UNICODE macro as example with RAWUNICODE in the > source ? That would work as well. As it stands, the macro names are equivalent to the ones in pickle.py, which is a useful property to have. So I'

[issue3367] Uninitialized value read in parsetok.c

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Ok, un-targetting it from 2.5.3 for now. -- versions: -Python 2.5.3 ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3677] importing from UNC roots doesn't work

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Ok, un-targetting this from 2.5.3 then. Usage of IsUNCRoot disappeared as part of r42230, which dropped usage of the C library for stat implementations. This only affects os.stat, though, so I don't see the relation to this issu

[issue4074] Building a list of tuples has non-linear performance

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: This is a known problem; see the GC discussions in June for an example, e.g. http://mail.python.org/pipermail/python-dev/2008-June/080579.html -- nosy: +loewis ___ Python tracker &

[issue4064] distutils.util.get_platform() is wrong for universal builds on macosx

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > It is not documented anywhere but in the code These also appear in file names of bdist commands, right? So I think it should be documented. > We (Bob Ippolitto and I) had some discussion about the architecture > strings

[issue4072] build_py support for lib2to3 is stale

2008-10-07 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Here is a patch. I also include a test case, which is intended to go into the Demo directory. -- keywords: +patch Added file: http://bugs.python.org/file11744/build_py.diff ___ Python t

[issue4072] build_py support for lib2to3 is stale

2008-10-08 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- keywords: +needs review Added file: http://bugs.python.org/file11745/test2to3.tar.gz ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue4075] Use WCHAR variant of OutputDebugString

2008-10-08 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I agree that a static buffer should be used. I think calling it in a loop is overkill. Instead, if an overrun occurs, adding "(truncated)" should be good enough. I could find only a single caller that doesn't

[issue4075] Use WCHAR variant of OutputDebugString

2008-10-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > If the CE can't work with char why the compiler don't threat strings as > wide characters always ? I think this question is pointless - we don't have the power to change how CE works. You might question wheth

[issue4091] python dll not installed in windows system directory

2008-10-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > (And I thought that manifests and side-by-side assemblies were > supposed to solve the "DLL hell") I'm now convinced that they make things worse, to the degree that certain deployments that used to work cannot

[issue4075] Use WCHAR variant of OutputDebugString

2008-10-09 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > "Pointless" question is for compiler flags and is not related with the OS. I don't think the compiler has any such flag that you might consider useful. Do you have a specific flag in mind? __

[issue4095] Delivery Status

2008-10-09 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- resolution: -> invalid status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue4096] Lib/lib2to3/*.pickle are shipped / modified in the build

2008-10-10 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: They should be present in the installation (and I believe "make install" will create them). Whether or not they are included in the source distribution is not important, IMO. I'm puzzled that they are modifed - t

[issue4104] Namespace inconsistency

2008-10-12 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: I'm tempted to close this as "won't fix". -- nosy: +loewis resolution: -> wont fix ___ Python tracker <[EMAIL PROTECTED]>

[issue4051] use of TCHAR under win32

2008-10-12 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > I couldn't found where python C-code use so called "TCHAR meaning" and > the first sentence from comment in Ulrich patch looks irrelevant to the > issue. I was confused by Ulrich's terminology at first,

[issue4051] UNICODE macro in cPickle conflicts with Windows define

2008-10-12 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- title: use of TCHAR under win32 -> UNICODE macro in cPickle conflicts with Windows define ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue4075] Use WCHAR variant of OutputDebugString

2008-10-12 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: > If the python switch to W functions then the issue will be resolved. Python should use the *W functions wherever possible. > Without general switch to W functions and to wide strings we need to > convert every time from

[issue4104] Namespace inconsistency

2008-10-12 Thread Martin v. Löwis
Changes by Martin v. Löwis <[EMAIL PROTECTED]>: -- status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4104> ___ __

[issue4091] python dll not installed in windows system directory

2008-10-13 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: r61109 became obsolete when I added support for the merge module; here is a patch that fixes this. An installer demonstrating the change is available from http://www.dcl.hpi.uni-potsdam.de/home/loewis/u/python-2.7.141

[issue4018] "for me" installer problem on x64 Vista

2008-10-13 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Thanks for the confirmation. Committed as r66881, r66882, and r66883. -- resolution: -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> <http://bugs

[issue7718] Build shared libpythonX.Y.so on IRIX

2010-01-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm worried about this "on behalf of" contribution. Does Stuart Shelton actually approve this contribution? Would he be willing to sign a contributor agreement? -- nosy: +loewis ___ Python

[issue7717] Compilation fixes for IRIX

2010-01-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: Same issue as with 7718: I'm worried about this "on behalf of" contribution. Does Stuart Shelton actually approve this contribution? Would he be willing to sign a contributor agreement? -

[issue7718] Build shared libpythonX.Y.so on IRIX

2010-01-16 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think the patch in its current form is then, unfortunately, not acceptable - unless Stuart Shelton actually signs a contributor agreement. I don't know what makes you believe that he actually meant to contribute the code to Python, but I just don&#

[issue7718] Build shared libpythonX.Y.so on IRIX

2010-01-16 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- resolution: postponed -> rejected ___ Python tracker <http://bugs.python.org/issue7718> ___ ___ Python-bugs-list mailing list Un

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: The buildslaves most definitely will *not* execute any code under administrator privileges; doing so would put the machine under a serious threat. The tests should be skipped if the privilege is not held; it may be reasonable to grant the privilege to the

[issue7730] ssl has bad coding style

2010-01-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think dropping the spaces after the function names is fine in this case; the module is inconsistent in this matter. -- nosy: +loewis status: pending -> open ___ Python tracker <http://bugs.python.org/iss

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Given that there is a specific permission that can be assigned to the > buildslave user, it seems appropriate that the tests that attempt to > create symlinks should fail if the user does not have that > permission. No, the test should *not* fai

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2010-01-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: > If there is a skip test, it should be dependent on the specific permission > required. Terminology: it's a "privilege", not a "permission". Permissions (in Windows) are stored in ACLs on objects, granted by the owner of the

[issue7735] python creates IPv6 DNS requests even when built with --disable-ipv6

2010-01-18 Thread Martin v . Löwis
Martin v. Löwis added the comment: Can you propose a patch? I personally consider this not worth the effort. Unless there is a DNS problem, this cases shouldn't really be noticable, as the socket module will immediately report that IPv6 is not supported (without even consulting the oper

[issue7739] time.strftime may hung while trying to open /etc/localtime but does not release GIL

2010-01-19 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'd also be curious why it takes a second to open /etc/localtime. That sounds like a bug in the C library, or a mismanaged system. -- nosy: +loewis ___ Python tracker <http://bugs.python.org/i

[issue2611] Extend buildbot web interface to allow for forced tests to be run on a slave in verbose mode.

2010-01-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm closing this as "won't fix". If there is a need to run specific tests in specific ways, it is best to check in code that does it as desired. If it is then unacceptable to run that change on all slaves, a branch can be created, and

[issue7736] os.listdir hangs since opendir() and closedir() do not release GIL

2010-01-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think the bug here is really in the application, which makes a system call to fuse and the fuse callback in the same process. This isn't supported, and IMO doesn't need to be. Python makes no promises that it will accept callbacks while a syst

[issue7242] Forking in a thread raises RuntimeError

2010-01-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: One relevant difference may be the change to the fork semantics in Solaris 10: fork() now means the same as fork1(). Before, fork() meant the same as forkall(), unless the applications was linked with -lpthread, in which case fork() also meant fork1(). See

[issue7621] Test issue

2010-01-24 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue7621> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7621] Test issue

2010-01-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: Generate a message. -- ___ Python tracker <http://bugs.python.org/issue7621> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7621] Test issue

2010-01-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Generate a message. Reply to it. -- ___ Python tracker <http://bugs.python.org/issue7621> ___ ___ Python-bugs-list mai

[issue7777] Support needed for AF_RDS family

2010-01-24 Thread Martin v . Löwis
Martin v. Löwis added the comment: A patch has good chances of getting accepted (eventually; it may take several months or years). Test cases and documentation changes should be included. Supporting generic socket addresses can't work (IMO): how could Python possibly know how to map a P

[issue7242] Forking in a thread raises RuntimeError

2010-01-25 Thread Martin v . Löwis
Martin v. Löwis added the comment: > In my patch I wanted to reduce the effect on systems where forking in > thread is working (eg. linux), that's the reason why I added > "(defined (__SVR4) && defined (__sun)". I think that

[issue7810] fix_callable breakage

2010-01-30 Thread Martin v . Löwis
New submission from Martin v. Löwis : For the attached script, 2to3 reports File "/tmp/lib/python3.1/lib2to3/pytree.py", line 135, in replace assert self.parent is not None, str(self) AssertionError: def a(self): pass This was originally discovered for twisted/

[issue7812] Call to gestalt('sysu') on OSX can lead to freeze in wxPython apps

2010-01-30 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- versions: -Python 2.5 ___ Python tracker <http://bugs.python.org/issue7812> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue7817] Pythonw.exe fails to start

2010-01-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: Why do you think this is a bug? It's the whole point of pythonw.exe to not open any window. -- nosy: +loewis ___ Python tracker <http://bugs.python.org/i

[issue7165] xmlrpc.server assumes sys.stdout will have a buffer attribute

2010-01-30 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker <http://bugs.python.org/issue7165> ___ ___

[issue7821] Command line option -U not documented

2010-01-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: This switch is intentionally not documented. -- nosy: +loewis resolution: -> wont fix status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue4709] Mingw-w64 and python on windows x64

2010-01-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: I have now tried reproducing the problem, and still failed to. I downloaded, from http://sourceforge.net/projects/mingw-w64/files/, the distribution mingw-w32-bin_i686-mingw_20100123_sezero.zip. With this, I get c:\cygwin\mingw64\bin\gcc.exe -mno-cygwin

[issue7821] Command line option -U not documented

2010-01-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: I don't think changing anything is necessary here. Having the option listed gives the curious a chance to discover a piece of Python history :-) -- ___ Python tracker <http://bugs.python.org/i

[issue7824] assertion error in 2to3

2010-01-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the report. This is now fixed in r77900. -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/

[issue7826] support caching for 2to3

2010-01-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: Not sure what your use case is, but I always call the refactor method of my subclassed RefactoringTool, instead of calling main. See distutils.util.run_2to3 for an example (and distutils.command.build_py.build_py_2to3 for an application of that

[issue7827] recv_into() argument 1 must be pinned buffer, not bytearray

2010-01-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is fixed in Python 3. I think it is (another) bug that it accepts array objects; it should reject them with the same error. OTOH, recv_into should use "w*". -- nosy: +loewis ___ Python trac

[issue2454] sha and md5 fixer

2010-01-31 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- components: +2to3 (2.x to 3.0 conversion tool) ___ Python tracker <http://bugs.python.org/issue2454> ___ ___ Python-bugs-list m

[issue7826] support caching for 2to3

2010-01-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: If you meant to propose a patch that does caching, you should include the actual caching code in the patch. -- ___ Python tracker <http://bugs.python.org/issue7

[issue7826] support caching for 2to3

2010-02-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: Please submit a contributor agreement, see http://www.python.org/psf/contrib/ I'm still not clear on what the specific use case is: how *exactly* are you going to run 2to3 when you have that patch integrated? In particular, where do you put the output

[issue7831] cmp() is missing in 3.x

2010-02-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: No, cmp is not missing. It's intentionally removed, and won't come back. So closing this as "won't fix". I'm not sure what you are aiming at with the universal key function; if you want a key function that guaran

[issue7831] cmp() is missing in 3.x

2010-02-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think this should be discussed on python-dev (I believe it *has* been discussed on python-dev, I just don't remember the outcome). Creating fixers is not feasible, I think. In any case, it's an issue different from the one you

[issue7833] Bdist_wininst installers fail to load extensions built with Issue4120 patch

2010-02-01 Thread Martin v . Löwis
Martin v. Löwis added the comment: This doesn't look right. IIUC, wininst.exe loads python26.dll, which in turn loads pywintypes.dll. So it should be python26.dll which loads the CRT. IIUC, wininst.exe is linked statically, precisely to avoid a dependency on the CRT ass

[issue7847] Remove 'python -U' or document it

2010-02-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: I fail to see the point. This bug was fixed in Python 3. Why risk breaking something in the last 2.x release? -- ___ Python tracker <http://bugs.python.org/issue7

[issue7847] Remove 'python -U' or document it

2010-02-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm +0 on such a change - I don't think it makes anything better (it will only cause more users asking what this is, why it was added, and demand that something should be done about it). Feel free to commit it, anyway. -- assignee: loewi

[issue7856] cannot decode from or encode to big5 \xf9\xd8

2010-02-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: That iconv supports it is not convincing, IMO. Do you have other sources (like tables in the web somewhere) that support your request? -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue7

[issue7856] cannot decode from or encode to big5 \xf9\xd8

2010-02-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: In particular, the Unicode consortium mapping table, now at http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT doesn't map f9d8 to anything; the current version of that table (in unihan.zip) has these mappings for U+88CF: U

[issue7856] cannot decode from or encode to big5 \xf9\xd8

2010-02-04 Thread Martin v . Löwis
Martin v. Löwis added the comment: perky, what do you think? -- assignee: -> hyeshik.chang nosy: +hyeshik.chang ___ Python tracker <http://bugs.python.org/iss

[issue7889] random produces different output on different architectures

2010-02-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: Would you like to work on a patch? -- nosy: +loewis ___ Python tracker <http://bugs.python.org/issue7889> ___ ___ Python-bug

[issue7890] equal unicode/str objects can have unequal hash

2010-02-08 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is not a bug in Python, but in your code. sys.setdefaultencoding is only supported when setting the default encoding to either latin-1, or ascii, or 'undefined'. Setting it to any other value will have undesirable consequences like the one

<    11   12   13   14   15   16   17   18   19   20   >