[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com 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.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5035
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

Another patch to fix _sqlite without thread support.

Added file: http://bugs.python.org/file12839/_sqlite_nothread.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5035
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com 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 contains a lot of functions and
macros for semaphore managment but it looks like thread support is
required. Eg. compilation fails on a missing symbol: sem_unlink(). The
function sem_unlink() is defined in system semaphore.h and requires
-lrt or -lpthread compiler flag.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5035
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com 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 rep...@bugs.python.org
http://bugs.python.org/issue5035
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com 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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5035
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5035] Compilation --without-threads fails

2009-01-23 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

There is already a separate issue for multiprocessing compilation: #3807

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5035
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5035] Compilation --without-threads fails

2009-01-23 Thread Jesse Noller

Jesse Noller jnol...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue5035
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@haypocalc.com:


Removed file: 
http://bugs.python.org/file12840/_multiprocessing_remove_save.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5035
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5035] Compilation --without-threads fails

2009-01-23 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com added the comment:

@pitou and @jnoller: Ok ok, fine, I will check #3807.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5035
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

This second patch is good and does fix the error.

--
keywords:  -needs review
resolution:  - accepted

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3807
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread STINNER Victor

STINNER Victor victor.stin...@haypocalc.com 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 requires semaphore).

Just ignore my patch if the _save is used somewhere.

--
nosy: +haypo
Added file: http://bugs.python.org/file12841/_multiprocessing_remove_save.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3807
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com 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.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3807
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread Jesse Noller

Jesse Noller jnol...@gmail.com 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 rep...@bugs.python.org
http://bugs.python.org/issue3807
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread Jesse Noller

Jesse Noller jnol...@gmail.com added the comment:

my patch is in py3k as 68875 and trunk as r68874

--
resolution: accepted - fixed
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3807
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5035] Compilation --without-threads fails

2009-01-23 Thread Jesse Noller

Jesse Noller jnol...@gmail.com added the comment:

I've committed the fix for issue 3807 to resolve the mp issues.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5035
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@haypocalc.com:


Removed file: 
http://bugs.python.org/file12841/_multiprocessing_remove_save.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3807
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5031] Thread.daemon docs

2009-01-23 Thread Jesse Noller

Jesse Noller jnol...@gmail.com 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 tracker rep...@bugs.python.org
http://bugs.python.org/issue5031
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2527] Pass a namespace to timeit

2009-01-23 Thread Steven D'Aprano

Changes by Steven D'Aprano st...@pearwood.info:


--
nosy: +stevenjd

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2527
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4106] multiprocessing occasionally spits out exception during shutdown

2009-01-23 Thread Jesse Noller

Jesse Noller jnol...@gmail.com 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 trunk

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4106
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5037] unexpected unicode behavior for proxy objects

2009-01-23 Thread Taldor

New submission from Taldor tinu...@skynet.be:

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
... 
 a = A()
 unicode(a)
u'unicode'
 import weakref
 b = weakref.proxy(a)
 unicode(b)
u'str'

I expected the last result to be u'unicode'. I did get u'unicode' in
Python 2.5 (but not in 2.6).

--
components: None
messages: 80416
nosy: Taldor
severity: normal
status: open
title: unexpected unicode behavior for proxy objects
type: behavior
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5037
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 jnol...@gmail.com:


--
type: resource usage - feature request

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3551
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4106] multiprocessing occasionally spits out exception during shutdown

2009-01-23 Thread Jesse Noller

Jesse Noller jnol...@gmail.com added the comment:

Ah ha. I see it if I run it with the loop set to 3000 - it is pretty rare.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4106
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5034] itertools.fixlen

2009-01-23 Thread Robert Lehmann

Robert Lehmann lehman...@gmail.com 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
to a certain length (slicing/padding applied as required) or obtaining
an iterator of *at least* some number of elements (padded as required)?

The thread on python-ideas suggests the latter while the example Python
code brought up there implements the former. OTOH the latter cannot be
composed *that easily* of other itertools but the former is more useful
for unpacking.

On a related note: what should happen if `length` is negative?
`itertools.repeat` just defaults to 0 in such cases but I am unsure how
applicable that is in this case.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5034
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread jan matejek

New submission from jan matejek jmate...@suse.cz:

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 urllib2.urlopen.
First handler is invoked, it sends the file data, but gets 401
Unauthorized return code and fails with that.
Second handler in chain is invoked (at least that's how i understand
urrlib2, please correct me if i'm talking rubbish). At that point the
open file is at EOF, so empty data is sent.

furthermore, the obvious solution you can't do this through urllib so
go read the file yourself doesn't apply that well - the file object in
question is actually a mmap.mmap instance.
This code is in production since python 2.4. Until file object support
in httplib was introduced, it worked fine, handling the mmap'ed file as
a string. Now it is picked up as read()-able and this problem occurs.
Only workaround to restore pre-2.6 behavior that comes to mind is
building a wrapper class for the mmap object that hides its read() method.

--
components: Library (Lib)
messages: 80419
nosy: matejcik
severity: normal
status: open
title: urrlib2/httplib doesn't reset file position between requests
type: behavior
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5038
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1518] Fast globals/builtins access (patch)

2009-01-23 Thread Collin Winter

Changes by Collin Winter coll...@gmail.com:


--
nosy: +collinwinter, jyasskin
type: feature request - performance

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1518
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread Zlm

Zlm zemari...@gmail.com added the comment:

I got my problem fixed in 4 days!
Thank you for all your help, Martin!

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3881
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4908] adding a get_metadata in distutils

2009-01-23 Thread Ray

Ray rayjohnterr...@gmail.com added the comment:

any chance of getting a patch that would work in 2.4?

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4908
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread Gabriel Genellina

Gabriel Genellina gagsl-...@yahoo.com.ar 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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5038
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread Gabriel Genellina

Gabriel Genellina gagsl-...@yahoo.com.ar 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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5037
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5039] Adjust reference-counting note

2009-01-23 Thread Terry J. Reedy

New submission from Terry J. Reedy tjre...@udel.edu:

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 collects most objects as soon as they
become unreachable, but is not guaranteed to collect garbage containing
circular references. See the documentation of the gc module for
information on controlling the collection of cyclic garbage.)

There are two issues here: there are now other implementations that act
differently; CPython may change (as GvR reiterated strongly today in the
PyDev thread __del__ and tp_dealloc in the IO lib, in response to a
request that the current behavior be defined and documented as not
permanent).  So I suggest:
change 'the current implementation' to 'CPython currently'
add Other implementations act differently and CPython may change. (at
the end)

--
assignee: georg.brandl
components: Documentation
messages: 80424
nosy: georg.brandl, tjreedy
severity: normal
status: open
title: Adjust reference-counting note
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5039
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5031] Thread.daemon docs

2009-01-23 Thread Gabriel Genellina

Gabriel Genellina gagsl-...@yahoo.com.ar 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 thread 
(True) or not (False). This must be set before start() is called, 
otherwise RuntimeError is raised. Its initial value is inherited from 
the creating thread; the main thread is not a daemon thread.

The entire Python program exits ...

--
nosy: +gagenellina

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5031
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5031] Thread.daemon docs

2009-01-23 Thread Jesse Noller

Jesse Noller jnol...@gmail.com 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 indicating whether this thread is a daemon thread
(True) or not (False). This must be set before start() is called,
otherwise RuntimeError is raised. Its initial value is inherited from
the creating thread; the main thread is not a daemon thread therefore
all threads created in the main thread default to daemon = False.

The entire Python program exits ...

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5031
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5031] Thread.daemon docs

2009-01-23 Thread Jesse Noller

Changes by Jesse Noller jnol...@gmail.com:


Removed file: http://bugs.python.org/file12842/issue5031.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5031
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4992] yield's documentation not updated

2009-01-23 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu 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 rep...@bugs.python.org
http://bugs.python.org/issue4992
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5031] Thread.daemon docs

2009-01-23 Thread Jesse Noller

Jesse Noller jnol...@gmail.com added the comment:

Hows this Gabriel?

Added file: http://bugs.python.org/file12843/issue5031.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5031
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5031] Thread.daemon docs

2009-01-23 Thread Jesse Noller

Changes by Jesse Noller jnol...@gmail.com:


___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5031
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5031] Thread.daemon docs

2009-01-23 Thread Jesse Noller

Jesse Noller jnol...@gmail.com added the comment:

Hows the new patch Gabriel?

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5031
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread William Fulton

William Fulton w...@fultondesigns.co.uk 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 distutils is fixed to show the quotes it is effectively adding
when displaying the command, so for the example Andy gave it should display:

swigging ./hepmc.i to ./hepmc_wrap.cpp
swig -python -c++ -I/home/andy/heplocal/include -outdir . -o
./hepmc_wrap.cpp ./hepmc.i

The quotes would need adding for display when a user has a space in any
of the options passed to SWIG (including the include_dirs etc).

--
nosy: +postofficered

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4672
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5031] Thread.daemon docs

2009-01-23 Thread Gabriel Genellina

Gabriel Genellina gagsl-...@yahoo.com.ar 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 rep...@bugs.python.org
http://bugs.python.org/issue5031
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread Gabriel Genellina

Gabriel Genellina gagsl-...@yahoo.com.ar 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 or later, this issue is likely to be closed)

--
nosy: +gagenellina

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5036
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread Benjamin Peterson

Benjamin Peterson benja...@python.org 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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5037
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3677] importing from UNC roots doesn't work

2009-01-23 Thread Gabriel Genellina

Gabriel Genellina gagsl-...@yahoo.com.ar 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 rep...@bugs.python.org
http://bugs.python.org/issue3677
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4999] multiprocessing.Queue does not order objects

2009-01-23 Thread Gabriel Genellina

Changes by Gabriel Genellina gagsl-...@yahoo.com.ar:


--
nosy: +gagenellina

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4999
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread Takeshi Matsuyama

Takeshi Matsuyama tksmas...@gmail.com 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.75content-type=text%2Fplainpathrev=1.75

(Note that Python 2.5 only gets security fixes now, so unless this 
still fails with 2.6 or later, this issue is likely to be closed)
I roughly confirmed the same problem on python-3.0 on MS Windows 2 weeks
ago, but need to verify more strictly...

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5036
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4111] Add DTrace probes

2009-01-23 Thread Laszlo (Laca) Peter

Laszlo (Laca) Peter l...@sun.com 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.

Unfortunately, this means that the makefile will have to
be different on Solaris and OS X :(

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4111
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2009-01-23 Thread Senthil

Senthil orsent...@gmail.com 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: +orsenthil

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4965
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com