[issue814689] sendmsg operation for unix sockets

2008-05-21 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- resolution: -> duplicate status: open -> closed superseder: -> sendmsg() and recvmsg() for C socket module Tracker <[EMAIL PROTECTED]>

[issue2930] Cannot change variable defined in "__init__.py" after importing

2008-05-21 Thread Jörg Rebenstorf
Jörg Rebenstorf <[EMAIL PROTECTED]> added the comment: Oh yes, I am sorry, I forgot to tell you that I *cannot* change the import statement as it is part of a framwork by a third-party which I cannot influence. This is a prerequisite of my task. Of course you are right that I am not strictly s

[issue2930] Cannot change variable defined in "__init__.py" after importing

2008-05-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: As I said, please consult the newsgroup/mailing list for these questions, it's much better suited for them. __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2933] "Documenting Python: Syntax" bug

2008-05-21 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: The 2.5.2 stuff *is* the current docs for 2.5. However, the docs that are actively maintained are the docs for 2.6 and 3.0, the former of which can be found at http://www.python.org/doc/dev/. With the release of 2.6, these will become the most

[issue2861] 2to3 fixer to rename markupbase to _markupbase

2008-05-21 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles <[EMAIL PROTECTED]> added the comment: Well, there's only the fixer to apply. -- components: -Library (Lib) title: Patch to rename markupbase to _markupbase -> 2to3 fixer to rename markupbase to _markupbase Added file: http://bugs.python.org/file10388/markupbase_i

[issue2861] Patch to rename markupbase to _markupbase

2008-05-21 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10330/markupbase_renaming_2.6.patch __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2861] Patch to rename markupbase to _markupbase

2008-05-21 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10328/markupbase_import_fixer.patch __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1057417] New BaseSMTPServer module

2008-05-21 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' <[EMAIL PROTECTED]>: -- nosy: +giampaolo.rodola _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mai

[issue2934] set() comparisons do not play well with others

2008-05-21 Thread Nick Coghlan
New submission from Nick Coghlan <[EMAIL PROTECTED]>: The rich compare implementation for set objects raises TypeError directly instead of returning NotImplemented to allow the other type involved in the comparison a chance at handling the operation. -- messages: 67152 nosy: ncoghlan sev

[issue2934] set() comparisons do not play well with others

2008-05-21 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: Eh, never mind, raising the TypeError explicitly is necessary due to the misbehaviour of the default comparisons in 2.x. I'll work around the problem in my test case. -- resolution: -> invalid status: open -> closed _

[issue2872] Remove commands for PEP 3108

2008-05-21 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles <[EMAIL PROTECTED]> added the comment: I'm working on it. -- nosy: +quentin.gallet-gilles __ Tracker <[EMAIL PROTECTED]> __ __

[issue643841] New class special method lookup change

2008-05-21 Thread Nick Coghlan
Nick Coghlan <[EMAIL PROTECTED]> added the comment: Attached a new version of the module, along with a unit test file. The unit tests caught a bug in the __gt__ implementation. I've also changed the name to ProxyMixin as suggested by Adam and switched to using a normal __init__ method (there was

[issue643841] New class special method lookup change

2008-05-21 Thread Nick Coghlan
Changes by Nick Coghlan <[EMAIL PROTECTED]>: Added file: http://bugs.python.org/file10390/test_typetools.py Tracker <[EMAIL PROTECTED]> ___

[issue643841] New class special method lookup change

2008-05-21 Thread Nick Coghlan
Changes by Nick Coghlan <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10385/typetools.py Tracker <[EMAIL PROTECTED]> ___ Pyt

[issue2775] Implement PEP 3108

2008-05-21 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: I'm working on issue 2873 (remove htmllib dependency from pydoc). -- nosy: +marketdickinson __ Tracker <[EMAIL PROTECTED]> __

[issue2935] rfc822.py line 395 strings connection

2008-05-21 Thread Erez Bibi
New submission from Erez Bibi <[EMAIL PROTECTED]>: Python 2.5 on Windows rfc822.py line 395 text = name + ": " + value if 'value' is not a string python will generate an exception. It might be due to a broken website, but it is not a reason to crash. I'm using ClientCookie with a Request object

[issue2663] shutil.copytree glob-style filtering [patch]

2008-05-21 Thread Tarek Ziadé
Tarek Ziadé <[EMAIL PROTECTED]> added the comment: patch with the new trunk Added file: http://bugs.python.org/file10392/copytree2.patch __ Tracker <[EMAIL PROTECTED]> __ _

[issue2663] shutil.copytree glob-style filtering [patch]

2008-05-21 Thread Tarek Ziadé
Changes by Tarek Ziadé <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10179/copytree.patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-b

[issue2873] Remove htmllib use in the stdlib

2008-05-21 Thread Mark Dickinson
Mark Dickinson <[EMAIL PROTECTED]> added the comment: This issue is at least partially dependent on issue #1883 (adapting pydoc to new doc system), in that it's a little awkward to test pydoc before #1883 is complete. -- dependencies: +Adapt pydoc to new doc system nosy: +marketdickins

[issue2775] Implement PEP 3108

2008-05-21 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. <[EMAIL PROTECTED]> added the comment: On May 21, 2008, at 10:16 AM, Mark Dickinson wrote: > I'm working on issue 2873 (remove htmllib dependency from pydoc). Thanks, Mark! I was dreading the thought of looking at that. __ Tracker <[EMAIL PROT

[issue2754] Mac version of IDLE doesn't scroll as expected

2008-05-21 Thread Viennet
Viennet <[EMAIL PROTECTED]> added the comment: I confirm this bug. The mouve wheel does not scroll the windows. -- nosy: +emmanuelito __ Tracker <[EMAIL PROTECTED]> __

[issue2783] ctypes.util.find_library() doesn't find OS X .bundle or .so libraries

2008-05-21 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: The OS X find_library code was not written by me, the code was ripped from Bob Ippolitos macholib. Can some OS X expert please look into this? Shamelessly assigning to Ronald - feel free to unassign if you have no time. -- assignee:

[issue1758146] Crash in PyObject_Malloc

2008-05-21 Thread Vaclav Slavik
Vaclav Slavik <[EMAIL PROTECTED]> added the comment: I'm able to reliably reproduce this bug (using Apache 2.2.8, otherwise same as above), although not with mod_python's simple tests, but only with Trac (apparently, Trac creates some threads while processing the request). How to reproduce: conf

[issue1333] merge urllib and urlparse functionality

2008-05-21 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: While the work is appreciated, PEP 3108 is taking this in a different direction. -- resolution: -> out of date status: open -> closed __ Tracker <[EMAIL PROTECTED]> _

[issue2783] ctypes.util.find_library() doesn't find OS X .bundle or .so libraries

2008-05-21 Thread Ronald Oussoren
Ronald Oussoren <[EMAIL PROTECTED]> added the comment: At first glance the current behaviour is correct: 1) Bundles aren't shared libraries, but plugin code. It should be possible to load bundles, but I don't agree that find_library should try to locate them, specially given this bit in the do

[issue2783] ctypes.util.find_library() doesn't find OS X .bundle or .so libraries

2008-05-21 Thread Thomas Heller
Thomas Heller <[EMAIL PROTECTED]> added the comment: Thanks, Ronald. Sounds like this bug could be closed then. Bill, if you want a library search function with different semantics, I suggest you open a feature request, describe the sematics that should be used and (ideally) provide a patch. _

[issue2808] asynchat forgets packets when push is called from a thread

2008-05-21 Thread Josiah Carlson
Josiah Carlson <[EMAIL PROTECTED]> added the comment: My suggestion: don't do that. Asynchronous sockets, and asyncore/related libraries are not designed for, nor intended to be used as part of a threaded IO application. Why? Because most protocols are very concerned with data ordering, and se

[issue1736190] asyncore/asynchat patches

2008-05-21 Thread svncodereview
svncodereview <[EMAIL PROTECTED]> added the comment: Dear GvR, report, New code review comments by josiah.carlson have been published. Please go to http://codereview.appspot.com/744 to read them. Message: Details: http://codereview.appspot.com/744/diff/1/22 File Doc/library/asyncore.rst (righ

[issue1798] Add ctypes calling convention that allows safe access of errno

2008-05-21 Thread Maciek Fijalkowski
Maciek Fijalkowski <[EMAIL PROTECTED]> added the comment: thread local storage sounds also a bit weird to me. Errcheck sounds way better, I would also like to have errcheck as a possible default on library, when calling CDLL constructor. This would be a convinient way of specifying errno handling

[issue2936] ctypes.util.find_library() doesn't consult LD_LIBRARY_PATH

2008-05-21 Thread Bill Janssen
New submission from Bill Janssen <[EMAIL PROTECTED]>: The "find_library()" function in ctypes.util doesn't look in LD_LIBRARY_PATH on Solaris or Linux or most other UNIX variants that use that convention. This means that find_library() doesn't find libraries that dlopen() would, and makes develo

[issue2915] PyObject_IsInstance() doesn't find bases named in type(name, bases, dict)

2008-05-21 Thread Stefan Behnel
Stefan Behnel <[EMAIL PROTECTED]> added the comment: Sorry, the bug was in Cython, which didn't call InstanceMethod(). Please ignore. __ Tracker <[EMAIL PROTECTED]> __

[issue2783] ctypes.util.find_library() doesn't find OS X .bundle or .so libraries

2008-05-21 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: I thought you might say that :-). No, I'm good with this resolution. If I provide a patch, it will be for the LD_LIBRARY_PATH problem. Though -- I think there's an interesting question about what the purpose of "find_library()" actually is, a

[issue2783] ctypes.util.find_library() doesn't find OS X .bundle or .so libraries

2008-05-21 Thread Ronald Oussoren
Ronald Oussoren <[EMAIL PROTECTED]> added the comment: Bill, even if find_library were to emulate the runtime linker it shouldn't find objects of type MH_BUNDLE. Those are not shared libraries, but explicitly meant to be used as code resources for plugins. find_library should not return bz2.s

[issue2937] Incorrect rounding in floating-point operations with gcc/x87

2008-05-21 Thread Mark Dickinson
New submission from Mark Dickinson <[EMAIL PROTECTED]>: On some older Intel 32-bit hardware, under Linux, floating-point operations don't always give correctly rounded results. Here's an example involving addition, on SuSE Linux 10.2/Xeon. Python 2.6a3+ (trunk:63521, May 21 2008, 15:40:39) [

[issue2783] ctypes.util.find_library() doesn't find OS X .bundle or .so libraries

2008-05-21 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list

[issue2915] PyObject_IsInstance() doesn't find bases named in type(name, bases, dict)

2008-05-21 Thread Benjamin Peterson
Changes by Benjamin Peterson <[EMAIL PROTECTED]>: -- resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python

[issue2808] asynchat forgets packets when push is called from a thread

2008-05-21 Thread xix xeaon
xix xeaon <[EMAIL PROTECTED]> added the comment: I have good reason to use this combination of asynchat and threads (in a way which doesn't cause any of these serious issues you speak of), but if you don't want it fixed then that's fine with me since I know how to work around it, I just reported

[issue2848] Remove mimetools usage from the stdlib

2008-05-21 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: I don't know how compatible it is. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing lis

[issue2775] Implement PEP 3108

2008-05-21 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- dependencies: +Backport UserList move in 3.0 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-l

[issue2848] Remove mimetools usage from the stdlib

2008-05-21 Thread Raymond Hettinger
Raymond Hettinger <[EMAIL PROTECTED]> added the comment: The APIs are bit different, but it should be possible to migrate from the old to the new. All the key functionality is there. Barry, any thoughts on transitioning away from the deprecated modules? -- assignee: -> barry nosy: +r

[issue2861] 2to3 fixer to rename markupbase to _markupbase

2008-05-21 Thread Brett Cannon
Brett Cannon <[EMAIL PROTECTED]> added the comment: Applied in r63533 to 2to3 in the fixer. I also added you, Quentin to Misc/ACKS in the trunk. -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue2775] Implement PEP 3108

2008-05-21 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- dependencies: -2to3 fixer to rename markupbase to _markupbase __ Tracker <[EMAIL PROTECTED]> __ ___

[issue2938] Interactive help writes to the python install destination directory

2008-05-21 Thread Fan Decheng
New submission from Fan Decheng <[EMAIL PROTECTED]>: Python 3.0a5 on Windows Vista SP1 I installed it to C:\Python30, and used NTFS permissions to protect the files in the directory from being changed, also making the whole directory read-only. Thus, new files can't be created inside the direct

[issue2937] Incorrect rounding in floating-point operations with gcc/x87

2008-05-21 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Python (the language) makes no guarantee itself on what the precise semantics of floating-point operations is. This is documented in http://docs.python.org/ref/types.html "These represent machine-level double precision floating point number

[issue2861] 2to3 fixer to rename markupbase to _markupbase

2008-05-21 Thread Quentin Gallet-Gilles
Quentin Gallet-Gilles <[EMAIL PROTECTED]> added the comment: Thanks Brett. About the Misc/ACKS file I promise I'll contribute more than just an import fixer ! On Thu, May 22, 2008 at 5:19 AM, Brett Cannon <[EMAIL PROTECTED]> wrote: > > Brett Cannon <[EMAIL PROTECTED]> added the comment: > > App

[issue2861] 2to3 fixer to rename markupbase to _markupbase

2008-05-21 Thread Quentin Gallet-Gilles
Changes by Quentin Gallet-Gilles <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10396/unnamed __ Tracker <[EMAIL PROTECTED]> __ ___ Pytho