Georg Brandl ge...@python.org added the comment:
If you want that level of control, it may be better to just write
:meth:`Message.add_header() email.message.Message.add_header`.
--
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
The missing key reports the default object, but doesn't set that key
or value object in the dict.
That's just not true. Re-read the line in the doc string where it
puts the default value into the dict, under the key being accessed.
For
Tarek Ziadé ziade.ta...@gmail.com added the comment:
You can submit an entry at http://bugs.python.org/setuptools.
Although, what you mean by distutils does support the environment
variables properly
--
components: +Distutils -Installation
versions: -Python 2.4, Python 2.5
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
assignee: tarek -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5735
___
___
Python-bugs-list
Márcio Faustino m.faust...@gmail.com added the comment:
Shouldn't the replace('%%', '') take place before
_interpvar_re.sub? For example, the value %%(test)s should be
accepted as valid but it isn't because _interpvar_re has already
changed it to %.
--
Georg Brandl ge...@python.org added the comment:
You're right, of course. Fixed in r71564.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5741
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
fixed in r71560 and r71565.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5607
___
Martin v. Löwis mar...@v.loewis.de added the comment:
I agree with Skip that using a static variable is not appropriate. The
proper solution probably would be to define a separate gdbm_iter object
which always preserves the last key returned.
--
___
Georg Brandl ge...@python.org added the comment:
Thanks, committed in r71572.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5745
___
Akira Kitada akit...@gmail.com added the comment:
Yes, using a static variable there is wrong and
actually I'm now working on dbm_iterobject just as Martin suggested.
dbm iterator should behave just like one in dict.
I think I can use Objects/dictobject.c as a good example for this.
Attached
Barry A. Warsaw ba...@python.org added the comment:
We'll omit this for 2.6.2. Mark, please feel free to apply it once
2.6.2 is released so that it makes it into 2.6.3.
--
priority: release blocker - high
___
Python tracker rep...@bugs.python.org
Barry A. Warsaw ba...@python.org added the comment:
Accepted for 2.6.3.
--
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5724
___
New submission from Tarek Ziadé ziade.ta...@gmail.com:
Right now there's no way in a command to know that it was launched as a
subcommand from another command.
For instance every install_* command knows explicitely that it is
launched as a subcommand of 'install' and takes back its options in
Victor Godoy Poluceno victorpoluc...@gmail.com added the comment:
Can you provide a small example of this error?
This problem seems only occurer when a subclass of
socketserver.StreamRequestHandler provide a blank method setup.
In your log error:
AttributeError: 'RequestHandler' object has
Eric Blond ebl...@tiscali.co.uk added the comment:
That's it actually.
I forgot to call base class' setup() method when I redefined it in my
subclass. When I properly call StreamRequestHandler.setup() on my
derived class' setup(), everything works fine.
I'm not a socketserver specialist, but
Changes by Eric Blond ebl...@tiscali.co.uk:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5746
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
As I said, if you replace the environment it is your responsibility to
supply a working environment. I've attached a doc patch that adds a
warning about this with the information that a valid SystemRoot is
needed to run a side-by-side
Georg Brandl ge...@python.org added the comment:
Looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3440
___
___
Python-bugs-list
New submission from Eric Smith e...@trueblade.com:
All of the macros it defines around line 565 should either already be in
stringdefs.h, or they should be added there.
The same issue exists in Objects/bytearrayobject.c. I haven't looked in
2.7, but I assume the same problem exists there.
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - invalid
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5746
___
___
R David Murray rdmur...@bitdance.com added the comment:
On Sat, 11 Apr 2009 at 09:29, jvdias wrote:
jvdias jason.vas.d...@gmail.com added the comment:
Thanks for responding !
You are welcome. If you want something to happen, though,
you'll have to get support from the community and submit
a
New submission from MechPaul mechp...@gmail.com:
As it stands right now, bin() only shows the minimum number of bits to
display the number, however I think having a Total Bits argument would
be very, very useful for bin().
bin(value, [Total bits to display])
Total bits to display is an
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: -r.david.murray-old
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5725
___
___
R. David Murray rdmur...@bitdance.com added the comment:
A better (more flexible) way already exists (as of 2.6) to accomplish
your goal:
0b{0:08b}.format(127)
'0b0111'
--
nosy: +r.david.murray
resolution: - rejected
stage: - committed/rejected
status: open - closed
Changes by Victor Godoy Poluceno victorpoluc...@gmail.com:
--
nosy: +victorpoluceno
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5715
___
___
25 matches
Mail list logo