[issue4965] Can doc index of html version be separately scrollable?

2009-01-23 Thread Senthil
Senthil added the comment: Terry, I think you mean the Sidebar content, right? Yes, I agree with you. It would be desirable to have the Sidebar Fixed, while we scroll the document (Like this: http://www.w3.org/Style/CSS/) This has to be worked out in the Sphnix CSS. -- nosy: +orsenth

[issue4111] Add DTrace probes

2009-01-23 Thread Laszlo (Laca) Peter
Laszlo (Laca) Peter added the comment: Please see here for discussion about the -G flag on OS X: http://markmail.org/message/4nheqnexjr2o6mcx If I read it correctly, on OS X, you will need to use -h instead of -G and it won't emit an object file (dtrace.o) so you will not need to link it. Unfo

[issue5036] xml.parsers.expat make a dictionary which keys are broken if buffer_text is False.

2009-01-23 Thread Takeshi Matsuyama
Takeshi Matsuyama added the comment: Thanks for reply! >If the xml file is small enough, could you attach it to the issue? Or >provide a download location? Sorry, I found here. http://webcvs.freedesktop.org/icon-theme/icon-naming-utils/legacy-icon-mapping.xml?revision=1.75&content-type=text%2F

[issue4999] multiprocessing.Queue does not order objects

2009-01-23 Thread Gabriel Genellina
Changes by Gabriel Genellina : -- nosy: +gagenellina ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue3677] importing from UNC roots doesn't work

2009-01-23 Thread Gabriel Genellina
Gabriel Genellina added the comment: The path variable should be PyMem_Free'd (in both trunk and py3k) (also, I don't see any specific test - is there any?) -- nosy: +gagenellina ___ Python tracker

[issue5037] unicode(x) for weakref.proxy objects invokes __str__ instead of __unicode__

2009-01-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: This was broken by r64791. The problem is that PyObject_Unicode now uses _PyType_Lookup instead of PyObject_GetItem, so that the proxy's custom __getattr__ implementation is bypassed. -- nosy: +benjamin.peterson, ncoghlan ___

[issue5036] xml.parsers.expat make a dictionary which keys are broken if buffer_text is False.

2009-01-23 Thread Gabriel Genellina
Gabriel Genellina added the comment: If the xml file is small enough, could you attach it to the issue? Or provide a download location? I could not find it myself (without downloading the whole package) (Note that Python 2.5 only gets security fixes now, so unless this still fails with 2.6 o

[issue5031] Thread.daemon docs

2009-01-23 Thread Gabriel Genellina
Gabriel Genellina added the comment: Looks fine to me. Bah, perhaps purists would write `daemon` = ``False`` , but I think the meaning is perfectly clear now. ___ Python tracker ___

[issue4672] Distutils SWIG support blocks use of SWIG -outdir option

2009-01-23 Thread William Fulton
William Fulton added the comment: This error can be replicated on the command line with suitable quoting of the -outdir option: swig -c++ "-outdir ." You need to pass the options correctly by separating them out, so use: swig_opts=['-c++', '-...@hepmcincpath@', '-outdir', '.'] I suggest dis

[issue5031] Thread.daemon docs

2009-01-23 Thread Jesse Noller
Jesse Noller added the comment: Hows the new patch Gabriel? ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue5031] Thread.daemon docs

2009-01-23 Thread Jesse Noller
Changes by Jesse Noller : ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-b

[issue5031] Thread.daemon docs

2009-01-23 Thread Jesse Noller
Jesse Noller added the comment: Hows this Gabriel? Added file: http://bugs.python.org/file12843/issue5031.patch ___ Python tracker ___ ___ Pyt

[issue4992] yield's documentation not updated

2009-01-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would go with the first suggestion as that was the intent of adding next() as a builtin function. -- nosy: +tjreedy ___ Python tracker ___ ___

[issue5031] Thread.daemon docs

2009-01-23 Thread Jesse Noller
Changes by Jesse Noller : Removed file: http://bugs.python.org/file12842/issue5031.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue5031] Thread.daemon docs

2009-01-23 Thread Jesse Noller
Jesse Noller added the comment: > Not true; the next sentence in the description explains where the > default value comes from. Hmm, unless your threads are spawned by daemonized threads; the value always defaults to false. That's why I said it defaults to False. Hows this: """A boolean value

[issue5031] Thread.daemon docs

2009-01-23 Thread Gabriel Genellina
Gabriel Genellina added the comment: "This is a boolean value, and is False by default." Not true; the next sentence in the description explains where the default value comes from. I'd join both paragraphs to make it more clear: """A boolean value indicating whether this thread is a daemon t

[issue5039] Adjust reference-counting note

2009-01-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : Language / Data model / Objects, values and types (2.6-3.1) third paragraph, has the following note: "(Implementation note: the current implementation uses a reference-counting scheme with (optional) delayed detection of cyclically linked garbage, which colle

[issue5037] unicode(x) for weakref.proxy objects invokes __str__ instead of __unicode__

2009-01-23 Thread Gabriel Genellina
Gabriel Genellina added the comment: Same results on trunk. -- components: +Interpreter Core -None nosy: +gagenellina title: unexpected unicode behavior for proxy objects -> unicode(x) for weakref.proxy objects invokes __str__ instead of __unicode__ versions: +Python 2.7 _

[issue5038] urrlib2/httplib doesn't reset file position between requests

2009-01-23 Thread Gabriel Genellina
Gabriel Genellina added the comment: This happens in other implementations too, not just urllib2. If the server supports it, the best way is to send an 'Expect: 100- Continue' header field before attempting to send the actual file. -- nosy: +gagenellina ___

[issue4908] adding a get_metadata in distutils

2009-01-23 Thread Ray
Ray added the comment: any chance of getting a patch that would work in 2.4? ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue3881] IDLE won't start in custom directory.

2009-01-23 Thread Zlm
Zlm added the comment: I got my problem fixed in 4 days! Thank you for all your help, Martin! ___ Python tracker ___ ___ Python-bugs-list maili

[issue1518] Fast globals/builtins access (patch)

2009-01-23 Thread Collin Winter
Changes by Collin Winter : -- nosy: +collinwinter, jyasskin type: feature request -> performance ___ Python tracker ___ ___ Python-bugs

[issue5038] urrlib2/httplib doesn't reset file position between requests

2009-01-23 Thread jan matejek
New submission from jan matejek : since 2.6 httplib supports reading from file-like objects. Now consider the following situation: There are two handlers in urrlib2, first is plain http, second is basic auth. I want to POST a file to a service, and pass the open file object as data parameter to

[issue5034] itertools.fixlen

2009-01-23 Thread Robert Lehmann
Robert Lehmann added the comment: When I started writing this patch this was actually what I intended. But having ``fixlen(range(3), 2)`` return 0 1 2 struck me as odd. Renaming the function to `pad` would help there indeed. It depends on which use case is more common: either fixing an iterator

[issue4106] multiprocessing occasionally spits out exception during shutdown

2009-01-23 Thread Jesse Noller
Jesse Noller added the comment: Ah ha. I see it if I run it with the loop set to 3000 - it is pretty rare. ___ Python tracker ___ ___ Python-bu

[issue3551] multiprocessing.Pipe terminates with ERROR_NO_SYSTEM_RESOURCES if large data is sent (win2000)

2009-01-23 Thread Jesse Noller
Changes by Jesse Noller : -- type: resource usage -> feature request ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue5037] unexpected unicode behavior for proxy objects

2009-01-23 Thread Taldor
New submission from Taldor : Calling the unicode function on a proxy object, doesn't use the proxi-ed object's __unicode__ method, but its __str__ method. >>> class A(object): ... def __str__(self): ... return "str" ... def __unicode__(self): ... return "unicode" ...

[issue4106] multiprocessing occasionally spits out exception during shutdown

2009-01-23 Thread Jesse Noller
Jesse Noller added the comment: Skip, using this: while ((x++ < 500)) ; do echo '!'$i ; ./python.exe test_proc.py; done | egrep '!' I don't see the exception in python-trunk, freshly compiled. It could be an OS thing (I'm on OS/X) - I just want to confirm that you're still seeing this on t

[issue2527] Pass a namespace to timeit

2009-01-23 Thread Steven D'Aprano
Changes by Steven D'Aprano : -- nosy: +stevenjd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5031] Thread.daemon docs

2009-01-23 Thread Jesse Noller
Jesse Noller added the comment: Attached is a patch to the docs which reflects the nature of the daemon property based on trunk -- keywords: +needs review, patch nosy: +jnoller Added file: http://bugs.python.org/file12842/issue5031.patch ___ Python

[issue3807] _multiprocessing build fails when configure --without-threads

2009-01-23 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file12841/_multiprocessing_remove_save.patch ___ Python tracker ___ ___ Pytho

[issue5035] Compilation --without-threads fails

2009-01-23 Thread Jesse Noller
Jesse Noller added the comment: I've committed the fix for issue 3807 to resolve the mp issues. ___ Python tracker ___ ___ Python-bugs-list mai

[issue3807] _multiprocessing build fails when configure --without-threads

2009-01-23 Thread Jesse Noller
Jesse Noller added the comment: my patch is in py3k as 68875 and trunk as r68874 -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ __

[issue3807] _multiprocessing build fails when configure --without-threads

2009-01-23 Thread Jesse Noller
Jesse Noller added the comment: Amaury is correct - without thread support, a lot of mp internals will yak, so we're just going to disable it ___ Python tracker ___ _

[issue3807] _multiprocessing build fails when configure --without-threads

2009-01-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: _save is used, by the Py_BLOCK_THREADS macros. (when threads are enabled, of course). I think that you should not try to compile _multiprocessing without threads enabled. multiprocessing does need multiple threads to work. ___

[issue3807] _multiprocessing build fails when configure --without-threads

2009-01-23 Thread STINNER Victor
STINNER Victor added the comment: I don't understand the usage of _save argument of conn_poll() function (of the _multiprocessing module). Here is a patch to remove it. I first wrote this patch to try to compile _multiprocessing without thread support (which is stupid because _multiprocessing re

[issue3807] _multiprocessing build fails when configure --without-threads

2009-01-23 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: This second patch is good and does fix the error. -- keywords: -needs review resolution: -> accepted ___ Python tracker ___

[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor
STINNER Victor added the comment: @pitou and @jnoller: Ok ok, fine, I will check #3807. ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file12840/_multiprocessing_remove_save.patch ___ Python tracker ___ ___ Pytho

[issue5035] Compilation --without-threads fails

2009-01-23 Thread Jesse Noller
Jesse Noller added the comment: Victor - there is already another bug and a pending patchbto fix multiprocessing when thread support is enabled. Please do not focus on that. ___ Python tracker __

[issue5035] Compilation --without-threads fails

2009-01-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: There is already a separate issue for multiprocessing compilation: #3807 ___ Python tracker ___ ___ Python-bu

[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor
STINNER Victor added the comment: Here is a patch to remove the unused _save argument of conn_poll() function from the _multiprocessing mode. It fixes one of the compilation problem without thread support. Added file: http://bugs.python.org/file12840/_multiprocessing_remove_save.patch

[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor
STINNER Victor added the comment: _multiprocessing modules doesn't compile but I don't know how to fix it: - conn_poll() has a _save argument, but the argument is not used in both conn_poll() implementations (pipe_connection.c and socket_connection.c) - Modules/_multiprocessing/semaphore.c con

[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor
STINNER Victor added the comment: Another patch to fix _sqlite without thread support. Added file: http://bugs.python.org/file12839/_sqlite_nothread.patch ___ Python tracker ___

[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor
STINNER Victor added the comment: Why is PyGILState_Ensure() defined in Include/pystate.h in there is not thread? PyGILState_Ensure() implementation is conditional (in Python/pystate.c). Here is a patch to make the definition optional. Added file: http://bugs.python.org/file12838/gil_nothread.p

[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor
STINNER Victor added the comment: Oops, here is a fix for my regression. -- keywords: +patch Added file: http://bugs.python.org/file12837/object_dump_nothread.patch ___ Python tracker __