[issue6767] Python as zip package

2009-09-17 Thread Senthil
Senthil added the comment: I think it is okay to close this, with Martin's Howto. -- nosy: +orsenthil resolution: -> invalid status: open -> closed ___ Python tracker ___ __

[issue6934] [PATCH] postflight.framework script (from the Mac OS X .dmg installer) fails.

2009-09-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: Thanks. I'll fix this over the weekend. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6937] multiprocessing lock on OS X Snow Leopard dumps core

2009-09-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: Jesse: is this something you can look into? This is a crash of multiprocessing on MacOSX 10.6 with a 64-bit build of python. -- assignee: ronaldoussoren -> jnoller nosy: +jnoller ___ Python tracker

[issue6919] Link CRT Statically

2009-09-17 Thread Henri Hein
Henri Hein added the comment: Right, I was thinking about rebuilding Python26.dll. If we do go down that path, I will report the results. Thanks for the feedback. -- ___ Python tracker __

[issue6925] Doc for locals and vars

2009-09-17 Thread Senthil
Senthil added the comment: On Fri, Sep 18, 2009 at 04:35:37AM +, Terry J. Reedy wrote: > Was 2.x different? Even in 2.x it returns {} And I thought that was expected. Even I am confused by the free variable explaination as you pointed out. Perhaps, Georg could explain better? --

[issue6937] multiprocessing lock on OS X Snow Leopard dumps core

2009-09-17 Thread Ned Deily
Ned Deily added the comment: Reproducible here. Fails with Apple 2.6.1 in 64-bit mode but *not* in 32-bit mode. Also does not fail on 10.6 with recent 64-bit 4-way trunk built on 10.5. $ arch -i386 /usr/bin/python2.6 Python 2.6.1 (r261:67515, Jul 7 2009, 23:51:51) [GCC 4.2.1 (Apple Inc. b

[issue6937] multiprocessing lock on OS X Snow Leopard dumps core

2009-09-17 Thread aaditya sood
aaditya sood added the comment: Additional Info: Snow Leopard is shipping with Python 2.6.1 64 bit build. -- type: -> crash ___ Python tracker ___ __

[issue6937] multiprocessing lock on OS X Snow Leopard dumps core

2009-09-17 Thread aaditya sood
New submission from aaditya sood : On a Snow Leopard system, doing this core dumps: import multiprocessing lck1=multiprocessing.Lock() with lck1: print "foo" The stack trace: Process: Python [23100] Path: /System/Library/Frameworks/Python.framework/Versions/2.6/Resource

[issue6925] Doc for locals and vars

2009-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Except for the variable name and 3.1 print(), that is exactly what I tested before posting: >>> {} Was 2.x different? Anyway, from Wikipedia: "In computer programming, a free variable is a variable referred to in a function that is not a local variable or an

[issue4111] Add DTrace probes

2009-09-17 Thread Jim Baker
Changes by Jim Baker : -- nosy: +jbaker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue6936] Import needed to quit Python?

2009-09-17 Thread Mitchell Model
New submission from Mitchell Model : Section 2.1 of the tutorial describes using import sys; sys.exit() if ^D or ^Z doesn't work. However, both quit() and exit() work, as documented in the "Built-in Constants" section of the Library documentation. Is there something about them that should be hidd

[issue6935] Version updates needed in tutorial

2009-09-17 Thread Mitchell Model
New submission from Mitchell Model : Footnote 1 in section 2.1 of the Tutorial and the example of invoking Python in the middle of the page need their version number upped to 3.2 in both the invocation and the greeting. The same page in the 3.1 documentation should have the 'a' removed from the

[issue4033] python search path - .pth recursion

2009-09-17 Thread Bill Janssen
Bill Janssen added the comment: Looks like 1431 was closed by removing a line from the documentation, so it's not surprising that it's not clear. -- nosy: +janssen ___ Python tracker ___

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2009-09-17 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> loewis nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2504] Add gettext.pgettext() and variants support

2009-09-17 Thread nh2
nh2 added the comment: Me too. This makes developing applications with good localizations in Python really difficult. -- nosy: +nh2 ___ Python tracker ___ ___

[issue6300] encode and decode should accept 'errors' as a keyword argument

2009-09-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: I still have a few things I would like changed: - Instead of listing which methods take keyword arguments at the top of the section, I would prefer that each used the "versionchanged: 2.7" directive and indicated the added ability to use keyword arguments. -

[issue5042] Structure sub-subclass does not initialize with base class positional arguments

2009-09-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: That was easier than I thought. The generated code is _ugly_ but it did seem to be able to generate it. I created init.pyx {{{ class X(object): def __init__(self, *args, **kw): """This is how the Structure's __init__method SHOULD be"""

[issue5042] Structure sub-subclass does not initialize with base class positional arguments

2009-09-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: Heh. Me neither. Is it possible to use something like Cython to generate the C code? -- ___ Python tracker ___ __

[issue5042] Structure sub-subclass does not initialize with base class positional arguments

2009-09-17 Thread Thomas Heller
Thomas Heller added the comment: The problem is the implementation of the current __init__ method, in Modules/_ctypes/_ctypes.c, line 4024. Rewritten in Python, and slightly simplified it looks like this: def __init__(self, *args, **kw): """The current BUGGY __init__ method"""

[issue5042] Structure sub-subclass does not initialize with base class positional arguments

2009-09-17 Thread Thomas Heller
Changes by Thomas Heller : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mai

[issue6300] encode and decode should accept 'errors' as a keyword argument

2009-09-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Perfect. Thanks for checking. Benjamin, could you please check this in ? Thanks. -- assignee: -> benjamin.peterson ___ Python tracker ___

[issue6934] [PATCH] postflight.framework script (from the Mac OS X .dmg installer) fails.

2009-09-17 Thread Svetoslav Agafonkin
Changes by Svetoslav Agafonkin : -- title: {PATCH} postflight.framework script (from the Mac OS X .dmg installer) fails. -> [PATCH] postflight.framework script (from the Mac OS X .dmg installer) fails. ___ Python tracker

[issue6934] {PATCH} postflight.framework script (from the Mac OS X .dmg installer) fails.

2009-09-17 Thread Svetoslav Agafonkin
Changes by Svetoslav Agafonkin : -- title: postflight.framework script (from the Mac OS X .dmg installer) fails (patch given). -> {PATCH} postflight.framework script (from the Mac OS X .dmg installer) fails. ___ Python tracker

[issue6508] expose setresuid

2009-09-17 Thread Travis H.
Travis H. added the comment: I applied the same patch to Python 2.6.2 and believe that I got the tab/space situation worked out so that it's consistent with the rest of posixmodule.c I also executed autoconf to convert configure.in to configure, and judging by the config.log, it is testing for

[issue5207] extend strftime/strptime format for RFC3339 and RFC2822

2009-09-17 Thread Matías Ribecky
Changes by Matías Ribecky : -- nosy: +mribecky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue6300] encode and decode should accept 'errors' as a keyword argument

2009-09-17 Thread Jeff Bradberry
Jeff Bradberry added the comment: Before: ~/python2.7$ ./python -mtimeit "u'Andr\202 x'.encode('ascii', 'replace')" 100 loops, best of 3: 1.8 usec per loop After: ~/python2.7-patched$ ./python -mtimeit "u'Andr\202 x'.encode('ascii', 'replace')" 100 loops, best of 3: 1.73 usec per loop

[issue6508] expose setresuid

2009-09-17 Thread Travis H.
Travis H. added the comment: Simplified if/else chaining Uploading here before testing on new machine (m4 was too old on previous machine) -- Added file: http://bugs.python.org/file14918/foo.txt ___ Python tracker

[issue6882] uuid creates zombies

2009-09-17 Thread Eric Smith
Eric Smith added the comment: Yes, I'll take care of this. I can't think of any way to add a test that the zombie process doesn't exist, but if anyone has an idea I'd like to hear about it. -- ___ Python tracker _

[issue6934] postflight.framework script (from the Mac OS X .dmg installer) fails (patch given).

2009-09-17 Thread Svetoslav Agafonkin
Changes by Svetoslav Agafonkin : Added file: http://bugs.python.org/file14917/postflight.framework.patch ___ Python tracker ___ ___ Python-bugs

[issue6934] postflight.framework script (from the Mac OS X .dmg installer) fails (patch given).

2009-09-17 Thread Svetoslav Agafonkin
Changes by Svetoslav Agafonkin : Removed file: http://bugs.python.org/file14916/postflight.framework.patch ___ Python tracker ___ ___ Python-bu

[issue6934] postflight.framework script (from the Mac OS X .dmg installer) fails (patch given).

2009-09-17 Thread Svetoslav Agafonkin
New submission from Svetoslav Agafonkin : postflight.framework fails during installation: . . . Sep 17 17:36:53 mcfro Installer[1613]: run postflight script for Python Framework Sep 17 17:36:53 mcfro runner[1633]: postflight[1660]: /Volumes/Python 3.1.1/Python.mpkg/Contents/Packages/PythonFram

[issue6860] Inconsistent naming of custom command in setup.py help output

2009-09-17 Thread Patrick Näf
Patrick Näf added the comment: >To be able to do this fix, I also need to change the way commands are >registered in Distutils. Hm, I thought commands were registered in the setup() function with the cmdclass dict. Like this: setup( # "test" is the name that should be used for display

[issue6929] Confusion between "write" method of rowiobase and rawfileio

2009-09-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Checked in a bunch of corrections and precisions in r74879, and r74880. -- resolution: -> fixed status: open -> closed versions: +Python 3.2 ___ Python tracker ___

[issue6895] locale._parse_localename fails when localename does not contain encoding information

2009-09-17 Thread Santhosh Thottingal
Santhosh Thottingal added the comment: Attached the testcases as a patch to Lib/test/test_locale.py -- Added file: http://bugs.python.org/file14915/test_locale.py.diff ___ Python tracker ___

[issue6933] Threading issue with Tkinter Frame.insert

2009-09-17 Thread Moray Grieve
Moray Grieve added the comment: I should say this is running on Windows XP -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6933] Threading issue with Tkinter Frame.insert

2009-09-17 Thread Moray Grieve
New submission from Moray Grieve : The attached file has an example where a Tk GUI is launched as a seperate thread - this all works fine in Python 2.5, but in Python 2.6 the thread hangs. The issue seems to be in the line; self.messageBoxDetails.insert(INSERT, "Hello world") Comment this lin

[issue6929] Confusion between "write" method of rowiobase and rawfileio

2009-09-17 Thread Pascal Chambon
Pascal Chambon added the comment: I forgot to note - yep I was actually improperly looking at the python 2.6 documentation, which is erroneous ocncerning the io module. But the py3k doc seems to summarize it allright B-) -- ___ Python tracker

[issue6929] Confusion between "write" method of rowiobase and rawfileio

2009-09-17 Thread Pascal Chambon
Pascal Chambon added the comment: Allright, then only rawIoBase's documentation is wrong... and I'll have to modify my work-in-progress library to mimic FileIo more accurately. Thansk for teh info B-) -- ___ Python tracker

[issue6883] OptionParser.allow_interspersed_args is undocumented

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: The methods do have docstrings (trunk rev, line 1283 and 1291). And usually, when there are accessors for a property, they are the preferred way to change it. Anyway, I don't see a reason to do something here, so please propose a patch if you still think the doc

[issue6883] OptionParser.allow_interspersed_args is undocumented

2009-09-17 Thread Skip Montanaro
Skip Montanaro added the comment: Georg> The (en|dis)able_interspersed_args accessors are already Georg> documented, so I see no reason to document the attribute as Georg> well... But it is documented in the class's docstring and there are no docstrings for the methods. It's not at all

[issue6932] Open shelves fail when Python exits

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: Fixed docs (a bit differently) in r74876. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue6729] Add support for ssize_t

2009-09-17 Thread Nikolaus Rath
Nikolaus Rath added the comment: I can give it a shot if you give me a rough idea where I have to make the appropriate changes. -- ___ Python tracker ___

[issue5483] [PATCH]Add FastDbfilenameShelf: shelf nerver sync cache even when writeback=True

2009-09-17 Thread Robert Lehmann
Robert Lehmann added the comment: I addressed the other bug you were experiencing in issue6932. -- ___ Python tracker ___ ___ Python-b

[issue6932] Open shelves fail when Python exits

2009-09-17 Thread Robert Lehmann
Changes by Robert Lehmann : -- keywords: +patch Added file: http://bugs.python.org/file14913/shelve-warning.patch ___ Python tracker ___ __

[issue6932] Open shelves fail when Python exits

2009-09-17 Thread Robert Lehmann
New submission from Robert Lehmann : I'm reopening issue5483 by Zhigang Wang (zhigang) as a separate bug. Shelves that are still open when Python terminates will try to sync. If writeback=True, this pickles cached items. In this example, serialization of Test() re-imports __main__, which is alr

[issue1731717] race condition in subprocess module

2009-09-17 Thread Joel Martin
Joel Martin added the comment: I can reproduce the problem (or at least get the same symptom) by doing this (in 2.4.6, 2.5.4 and 2.6.2): import subprocess, signal signal.signal(signal.SIGCLD, signal.SIG_IGN) subprocess.Popen(['echo','foo']).wait() The echo command completes, but the subprocess

[issue6882] uuid creates zombies

2009-09-17 Thread Thomas Heller
Changes by Thomas Heller : -- assignee: theller -> eric.smith resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-list mail

[issue6882] uuid creates zombies

2009-09-17 Thread Thomas Heller
Thomas Heller added the comment: > The py3k version of the file already contains 3.x only code, and it's > missing the comment at the top that it should be compatible. But it's > not really a big deal to me. Yes, I had deleted the comment since the 3.x code cannot be compatible with 2.x anyway

[issue6882] uuid creates zombies

2009-09-17 Thread Eric Smith
Eric Smith added the comment: Indeed, the code that introduced this bug was in r68489, so it was written after Guido went through the module and cleaned it up to use try/finally. And since r68489 was a merge of r68487, the change was originally made on the 2.x version (which doesn't use try/fina

[issue6919] Link CRT Statically

2009-09-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: > If you do not *want* to change it, that is your prerogative, but it > *can* definitely work. I don't believe it can work; Amaury has already given a number of reasons. If you still believe otherwise, and want to see something change, please try coming up wi

[issue6931] dreadful performance in difflib: ndiff and HtmlDiff

2009-09-17 Thread Heiðar Rafn Harðarson
Changes by Heiðar Rafn Harðarson : -- title: awful performance in difflib: ndiff and HtmlDiff -> dreadful performance in difflib: ndiff and HtmlDiff ___ Python tracker ___ __

[issue6931] awful performance in difflib: ndiff and HtmlDiff

2009-09-17 Thread Heiðar Rafn Harðarson
New submission from Heiðar Rafn Harðarson : Relatively small set of lines with differences in most lines can destroy the performance of difflib.HtmlDiff.make_table and difflib.ndiff. I am using it like this: ... htmldiffer = HtmlDiff() return htmldiffer.make_table(src_lines, dst_lines

[issue6882] uuid creates zombies

2009-09-17 Thread Eric Smith
Eric Smith added the comment: The py3k version of the file already contains 3.x only code, and it's missing the comment at the top that it should be compatible. But it's not really a big deal to me. The py3k version also already has some try/finally logic on some popen calls that the trunk vers

[issue6721] Locks in python standard library should be sanitized on fork

2009-09-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: issue 6923 has been opened to provide a C API for an atfork mechanism for use by extension modules. -- components: +Library (Lib) ___ Python tracker

[issue6923] Need pthread_atfork-like functionality in CPython

2009-09-17 Thread Gregory P. Smith
Gregory P. Smith added the comment: For reference, this is related to http://bugs.python.org/issue6721 but deals with the C API side of things for an atfork mechanism to be used by extension modules. -- nosy: +gregory.p.smith ___ Python tracker

[issue6930] [PATCH] PyUnicode_DecodeUTF16 docs wrong (byteorder param)

2009-09-17 Thread Jon Foster
New submission from Jon Foster : The documentation for the C API function PyUnicode_DecodeUTF16() does not match the code. If *byteorder is 1 or -1, the documentation says that the function looks for a BOM. It doesn't. This patch updates the documentation to match the code. (Also, I just real

[issue6918] ctypes compilation error on SnowLeopard

2009-09-17 Thread Radim Novotny
Changes by Radim Novotny : -- nosy: +naro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue6729] Add support for ssize_t

2009-09-17 Thread Thomas Heller
Thomas Heller added the comment: Would you like to work on a patch? -- versions: +Python 2.7, Python 3.0, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ __

[issue6882] uuid creates zombies

2009-09-17 Thread Thomas Heller
Thomas Heller added the comment: Since ctypes should stay compatible with Python versions down to 2.4, a "with" block cannot be used. Of course would closing the object returned by os.popen() explicitely be better style, but I wonder what the real problem is. My observations so far: - The bug

[issue5754] Shelve module writeback parameter does not act as advertised

2009-09-17 Thread Robert Lehmann
Robert Lehmann added the comment: I think you're misquoting Python's shelve module documentation in your first sentence. The documentation says: "By default modified objects are written only when assigned to the shelf [...]. If the optional writeback parameter is set to True, all entries accesse

[issue6882] uuid creates zombies

2009-09-17 Thread Eric Smith
Eric Smith added the comment: The patch looks okay to me, and solves the issue on my Fedora box. But perhaps a context manager in a "with" block would be clearer? I've attached a patch. -- Added file: http://bugs.python.org/file14908/issue6882-contextlib.diff _

[issue6925] Doc for locals and vars

2009-09-17 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> georg.brandl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue6925] Doc for locals and vars

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: Free variables *are* returned by locals(). (Note that globals *aren't* free variables.) For example, try this: def f(): x = 1 def g(): print locals() g() f() -- nosy: +georg.brandl ___ Python tracker

[issue6929] Confusion between "write" method of rowiobase and rawfileio

2009-09-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: I might add, in case it wasn't clear, that you will only encounter a raw IO object (rather than a buffered one) if you construct one directly, or if you give "buffering=0" to open(). -- ___ Python tracker

[issue6929] Confusion between "write" method of rowiobase and rawfileio

2009-09-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hm, first, which version of the documentation are you looking at? For the new IO lib, you should probably refer to the current py3k docs: http://docs.python.org/py3k/library/io.html Then, the documentation looks confused indeed. But your interpretation is a bit

[issue6922] Interpreter hangs up while trying to decode invalid utf32 stream.

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: I'm leaving a refactoring to someone with more time :) Committed in r74869, backported to 2.6 in r74870. -- status: open -> closed ___ Python tracker ___

[issue793069] Add --remove-source option

2009-09-17 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- resolution: -> accepted versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue6925] Doc for locals and vars

2009-09-17 Thread S Arrowsmith
Changes by S Arrowsmith : -- nosy: +siona ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue3984] python interpreter import dependency with disutils/util

2009-09-17 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- assignee: -> tarek priority: -> low versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mai

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2009-09-17 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- priority: critical -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue1180] Option to ignore or substitute ~/.pydistutils.cfg

2009-09-17 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- resolution: -> accepted versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ _

[issue6516] reset owner/group to root for distutils tarballs

2009-09-17 Thread Tarek Ziadé
Changes by Tarek Ziadé : -- priority: -> normal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue6860] Inconsistent naming of custom command in setup.py help output

2009-09-17 Thread Tarek Ziadé
Tarek Ziadé added the comment: To be able to do this fix, I also need to change the way commands are registered in Distutils. Right now, Distutils scans packages that were provided as "command packages" and just adds all commands from the namespace, using the class name. Which means there's no

[issue6922] Interpreter hangs up while trying to decode invalid utf32 stream.

2009-09-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: The patch looks good. Thanks. Aside: This is what you get when using too many single character variable names in a function... The function should really do just one cast to (unsigned char *) at the very top and then work with that variable all along. ---

[issue6883] OptionParser.allow_interspersed_args is undocumented

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: The (en|dis)able_interspersed_args accessors are already documented, so I see no reason to document the attribute as well... -- nosy: +georg.brandl resolution: -> works for me status: open -> pending ___ Python tracke

[issue2517] Error when printing an exception containing a Unicode string

2009-09-17 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue6929] Confusion between "write" method of rowiobase and rawfileio

2009-09-17 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> pitrou nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue6922] Interpreter hangs up while trying to decode invalid utf32 stream.

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: This patch fixes it (seems like a refactoring oversight, I used the UTF16 decoder for reference, where it works fine) and adds a test, assigning to MAL for review. Marking as a release blocker so that 2.6.3 won't get released without a fix. -- assignee:

[issue6929] Confusion between "write" method of rowiobase and rawfileio

2009-09-17 Thread Pascal Chambon
New submission from Pascal Chambon : It seems the properties of the write methods of these two classes are mixed up in documentation. I've checked the sources, and actually it seems the behviour is inverted : rawiobase streams, which can be pipes or other limited streams, may write less than len(

[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6

2009-09-17 Thread Ronald Oussoren
Ronald Oussoren added the comment: Mark: yes those functions need to be changed as well. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-17 Thread anatoly techtonik
anatoly techtonik added the comment: And I want to add that I am glad that is finally fixed, so I really appreciate the work people done in this direction in their free time. -- ___ Python tracker _

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-17 Thread anatoly techtonik
anatoly techtonik added the comment: This bug may be fixed. Unfortunately I do not possess original setup anymore. The primary issue is still issue648658 and that affects bzr + launchpad integration, XML-RPC access to bugzilla and probably more. -- ___

[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6

2009-09-17 Thread Mark Dickinson
Mark Dickinson added the comment: Do the remove_history_item and replace_history_item functions also need the off-by-one adjustment? -- nosy: +marketdickinson ___ Python tracker ___

[issue6919] Link CRT Statically

2009-09-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: It will seem to work for simple scripts, but many extension modules won't behave properly because: - some API functions (PyFile_AsFile, many PyRun_*functions, PyMarshal_*+FromFile) pass FILE* structures, which differ between instances of the CRT. - file de

[issue6508] expose setresuid

2009-09-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: Your patch looks right, although I have a few style issues: - the if chaining looks complicated: we don't usually have an else when the if returns - make sure you use tabs consistently with the rest of the file - it may be better to use uid_t where appropriate

[issue6508] expose setresuid

2009-09-17 Thread Martin v . Löwis
Martin v. Löwis added the comment: Please do try this out on your system. Installing autoconf locally is really not difficult: download 2.61, then do ./configure --prefix=$HOME/ac261 make make install This will give you $HOME/ac261/bin/auto{conf|header}; automake is not needed for Python. -

[issue6300] encode and decode should accept 'errors' as a keyword argument

2009-09-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: The patch looks fine, the idea is good as well. I'm just a little worried about the performance impact this might have (not much though). Could you run a quick comparison of before applying the patch compared to after the patch is applied, using positional

[issue6915] os.listdir inconsistenly releases the GIL on win32

2009-09-17 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> loewis nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6912] Add 'with' block support to Tools/Scripts/pindent.py

2009-09-17 Thread Georg Brandl
Georg Brandl added the comment: Added in r74865. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___ __