I'm pleased to announce DreamPie 1.0 - a new graphical interactive Python shell!
Some highlights:
* Has whatever you would expect from a graphical Python shell -
attribute completion, tooltips which show how to call functions,
highlighting of matching parentheses, etc.
* Fixes a lot of IDLE
On Feb 20, 6:08 pm, Martin v. Loewis mar...@v.loewis.de wrote:
class C1:
# Pure virtual
def cb(self, param1, param2):
This is a callback
�...@param param1: ...
�...@param param2: ...
raise NotImplementedError,
Thanks everyone for the answers.
The dispatcher() is actually sits in C++ code.
So my code receives an object that is an instance of the base class,
it PyObject_GetAttrString(py_obj, 'funcname'). If the attribute exists
I will call PyObject_CallMethod on it.
If the base defines the method and
On Feb 21, 12:37 pm, alex goretoy agore...@gmail.com wrote:
hello all,
since I posted this last time, I've added a new function dates_diff and
[SNIP]
I'm rather unsure of the context of this posting ... I'm assuming that
the subject datelib pythonification refers to trying to make
datelib
That's not true. Currently, the hasattr() call would report that cb is
available, when it is actually not implemented. It would be possible to
do something like
if hasattr(c, 'cb') and not is_pure(c.cb):
c.cb(Hello, World)
is_pure could, for example, look at a function attribute of
V8 NUT olaye1...@googlemail.com writes:
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
Could it be you're missing zlib-devel? What does yum info zlib-devel
say? Or locate libz?
--
I'm pleased to announce DreamPie 1.0 - a new graphical interactive
Python shell!
Some highlights:
* Has whatever you would expect from a graphical Python shell -
attribute completion, tooltips which show how to call functions,
highlighting of matching parentheses, etc.
* Fixes a lot of IDLE
On 02/21/10 19:27, lallous wrote:
snip
If the base defines the method and it was empty, then my C++ code
would still call the function. This is not optimal because I don't
want to go from C++ to Python if the _derived_ class does not
implement the cb.
That sounds like a microoptimization;
On 02/21/10 15:21, Steven D'Aprano wrote:
So it looks like variables in a list are stored as object references.
Python doesn't store variables in lists, it stores objects, always.
Even Python variables aren't variables *grin*, although it's really
difficult to avoid using the term. Python
On Sat, 20 Feb 2010 23:44:29 -0800, Carl Banks wrote:
On Feb 20, 10:50 pm, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
What makes you say that?
[...]
I don't even understand this.
[...]
I'm just confused why you think that
lexical scoping is equivalent to references that
I tried to edit the awfully colors, here are the results:
Traceback (most recent call last):
File dreampie.py, line 4, module()
File dreampielib\gui\__init__.pyc, line 972, main()
File dreampielib\gui\__init__.pyc, line 153,
__init__(self=DreamPie(path...window_main),
I reinstalled and got this message:
Traceback (most recent call last):
File dreampie.py, line 4, module()
File dreampielib\gui\__init__.pyc, line 972, main()
File dreampielib\gui\__init__.pyc, line 153,
__init__(self=DreamPie(path...window_main),
pyexec='C:\\Python26\\python.exe')
File
Delete \Documents and Settings\username\DreamPie and it should now
work.
Did you edit the colors using the configuration window or manually?
If you edited them using the configuration window, can you give
instructions on how to reproduce the bug?
Noam
On Feb 21, 3:06 pm, Aage Andersen
On Feb 18, 3:20 am, Ben Finney ben+pyt...@benfinney.id.au wrote:
Lacrima lacrima.ma...@gmail.com writes:
Right, isolation [of test cases] is essential. But I can't decide to
which extent I should propagate isolation.
You used “propagate” in a sense I don't understand there.
For example,
On Feb 21, 3:42�am, Noam Yorav-Raphael noamr...@gmail.com wrote:
I'm pleased to announce DreamPie 1.0 - a new graphical interactive
Python shell!
What versions of Python does it suuport?
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 21, 10:30�am, Mensanator mensana...@aol.com wrote:
On Feb 21, 3:42 am, Noam Yorav-Raphael noamr...@gmail.com wrote: I'm
pleased to announce DreamPie 1.0 - a new graphical interactive
Python shell!
What versions of Python does it suuport?
What OS are supported?
--
http://chattingfree.blogspot.com/
--
http://mail.python.org/mailman/listinfo/python-list
http://dreampie.sourceforge.net/download.html
reading is a wonderful thing.
On Sun, Feb 21, 2010 at 11:32 AM, Mensanator mensana...@aol.com wrote:
On Feb 21, 10:30�am, Mensanator mensana...@aol.com wrote:
On Feb 21, 3:42 am, Noam Yorav-Raphael noamr...@gmail.com wrote: I'm
pleased to
This is bloody fantastic! I must say, this fixes everything I hate about
Ipython and gives me the feature I wished it had (with a few minor
exceptions).
I confirm this working on Kubuntu 9.10 using the ppa listed on the sites
download page.
I also confirm that it works interactively with PyQt4
Hi everyone,
When I run a python script, I know that I can print the results of my
calculations on the Interactive Window. Once the scripts ends, I can
copy/pate these results on an OpenOffice Writer document.
However, I would like to know if I can somehow add some lines to my
script, so that it
I tested it in Windows Vista.
When I type single or double quotes, I get a unicode character, different of
python's quotes, and it break my code.
But i liked this tool! Thanks!
[]s
iuri
On Sun, Feb 21, 2010 at 3:13 PM, Chris Colbert sccolb...@gmail.com wrote:
This is bloody fantastic! I
@sstein...@gmail.com sstein...@gmail.com
See this article for some more info about the reported sizes of things:
http://www.doughellmann.com/PyMOTW/sys/limits.html;
I posted this question on stack overflow. I now have a better appreciation
of ssteinerX suggestions of the above link and guppy, I
I'm trying to print .7 as 70%
I've tried:
print format(.7,'%%')
.7.format('%%')
but neither works. I don't know what the syntax is...
Can you help?
Thank you
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 21, 2010, at 11:51 AM, Chris Colbert wrote:
http://dreampie.sourceforge.net/download.html
reading is a wonderful thing.
I got it running on OS X with MacPorts after about an hour of installing
everything required for gtk and gtksourceview (including a new gcc, apparently).
Now...if
print('%.0f%%' % (0.7*100))
70%
On Sun, Feb 21, 2010 at 12:53 PM, vsoler vicente.so...@gmail.com wrote:
I'm trying to print .7 as 70%
I've tried:
print format(.7,'%%')
.7.format('%%')
but neither works. I don't know what the syntax is...
Can you help?
Thank you
--
On 2010-02-21 09:53:45 -0800, vsoler vicente.so...@gmail.com said:
I'm trying to print .7 as 70%
I've tried:
print format(.7,'%%')
.7.format('%%')
but neither works. I don't know what the syntax is...
print Grade is {0:%}.format(.87)
Grade is 87.00%
or if you want to suppress those
On 21 Feb, 17:32, Mensanator mensana...@aol.com wrote:
On Feb 21, 10:30 am, Mensanator mensana...@aol.com wrote:
What versions of Python does it suuport?
What OS are supported?
From the Web site referenced in the announcement (http://
dreampie.sourceforge.net/):
# Supports Python 2.5,
On Feb 21, 5:53 pm, vsoler vicente.so...@gmail.com wrote:
I'm trying to print .7 as 70%
I've tried:
print format(.7,'%%')
.7.format('%%')
but neither works. I don't know what the syntax is...
Assuming that you're using Python 2.6 (or Python 3.x):
format(.7, '%')
'70.00%'
format(.7,
On Feb 21, 7:11 pm, TomF tomf.sess...@gmail.com wrote:
On 2010-02-21 09:53:45 -0800, vsoler vicente.so...@gmail.com said:
I'm trying to print .7 as 70%
I've tried:
print format(.7,'%%')
.7.format('%%')
but neither works. I don't know what the syntax is...
print Grade is
Jonathan Gardner jgard...@jonathangardner.net writes:
On Fri, Feb 19, 2010 at 11:16 PM, Lie Ryan lie.1...@gmail.com wrote:
Now, why don't we start a PEP to make python a fully-functional language
then?
Because people don't think the same way that programs are written in
functional
On 21 Feb, 03:00, sjdevn...@yahoo.com sjdevn...@yahoo.com wrote:
On Feb 18, 2:58 pm, John Nagle na...@animats.com wrote:
Multiple processes are not the answer. That means loading multiple
copies of the same code into different areas of memory. The cache
miss rate goes up accordingly.
vsoler vicente.so...@gmail.com wrote:
I'm trying to print .7 as 70%
I've tried:
print format(.7,'%%')
.7.format('%%')
but neither works. I don't know what the syntax is...
Did you try this:
print('%d%%' % (0.7 * 100))
70%
Best regards,
Günther
--
On 21 Feb., 04:40, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
Additionally, Python lists are over-allocated so that appends are fast. A
list of (say) 1000 items might be over-allocated to (say) 1024 items, so
that you can do 24 appends before the array is full and the array
On 21 Feb., 07:38, Carl Banks pavlovevide...@gmail.com wrote:
Numpy arrays can share underlying data like that when you take
slices. For instance, this probably works the way you want:
a = numpy.array([1,2,3,4,5,6])
b = a[:3]
c = a[3:]
None of the actual data was copied here.
Hmm, that
MRAB wrote:
Steven D'Aprano wrote:
[snip]
I'm sympathetic to your concern: I've often felt offended that doing
something like this:
x = SomeReallyBigListOrString
for item in x[1:]:
process(item)
has to copy the entire list or string (less the first item). But
honestly, I've never found
FOREX : Foreign Exchange Market : FX : Currency Market : Earn Money
Quickly.
Simple Optimized Tips and Tricks, Basics of FOREX to be a king of
FOREX in one day.
Check out these exclusive never seen tips for free at
On Sun, Feb 21, 2010 at 1:09 PM, Dennis Lee Bieber
wlfr...@ix.netcom.com wrote:
On Sat, 20 Feb 2010 12:46:24 -0800 (PST), chad cdal...@gmail.com
declaimed the following in comp.lang.python:
Given the following
#!/usr/bin/python
import subprocess as s
broadcast = s.Popen(echo test |
John Nagle wrote:
I know there's a performance penalty for running Python on a
multicore CPU, but how bad is it? I've read the key paper
(www.dabeaz.com/python/GIL.pdf), of course. It would be adequate
if the GIL just limited Python to running on one CPU at a time,
but it's worse than
On Feb 20, 5:55 pm, marwie mar...@gmx.de wrote:
On 21 Feb., 02:30, Steven D'Aprano st...@remove-this-
cybersource.com.au wrote:
Python lists are arrays of pointers to objects, so copying a slice is
fast: it doesn't have to copy the objects, just pointers. Deleting from
the end of the list
On Feb 21, 12:14 pm, Paul Boddie p...@boddie.org.uk wrote:
On 21 Feb, 17:32, Mensanator mensana...@aol.com wrote:
On Feb 21, 10:30 am, Mensanator mensana...@aol.com wrote:
What versions of Python does it suuport?
What OS are supported?
From the Web site referenced in the announcement
On Sun, 2010-02-21 at 22:22 +0100, Martin v. Loewis wrote:
John Nagle wrote:
I know there's a performance penalty for running Python on a
multicore CPU, but how bad is it? I've read the key paper
(www.dabeaz.com/python/GIL.pdf), of course. It would be adequate
if the GIL just limited
Hi,
I know that this issue has been discussed before, but most of
the time using only one argument to eval().
Is it possible to use the following code, e.g. run as part of a
web application, to break in and if so, how?
import math
def myeval(untrustedinput):
return eval(untrustedinput,
Michael Pardee python-l...@open-sense.com wrote in message
news:mailman.22.1266722722.4577.python-l...@python.org...
I'm relatively new to python and I was very surprised by the following
behavior:
a=1
b=2
mylist=[a,b]
print mylist
[1, 2]
a=3
print mylist
[1, 2]
Whoah! Are python lists
On Feb 21, 2010, at 4:40 PM, Mensanator wrote:
On Feb 21, 12:14 pm, Paul Boddie p...@boddie.org.uk wrote:
On 21 Feb, 17:32, Mensanator mensana...@aol.com wrote:
On Feb 21, 10:30 am, Mensanator mensana...@aol.com wrote:
What versions of Python does it suuport?
What OS are supported?
It's far from scientific, but I've seen behaviour that's close to a 100%
performance penalty on a dual-core linux system:
http://www.rfk.id.au/blog/entry/a-gil-adventure-threading2
Short story: a particular test suite of mine used to run in around 25
seconds, but a bit of ctypes magic
On Sun, 2010-02-21 at 23:05 +0100, Martin v. Loewis wrote:
It's far from scientific, but I've seen behaviour that's close to a 100%
performance penalty on a dual-core linux system:
http://www.rfk.id.au/blog/entry/a-gil-adventure-threading2
Short story: a particular test suite of
nobrowser wrote:
Hi. The with statement is certainly nifty. The trouble is, the
*only* two documented examples how it can be used with the library
classes are file objects (which I use all the time) and thread locks
which I almost never use. Yet there are many, many classes in the
library
On Sun, Feb 21, 2010 at 3:21 PM, John Nagle na...@animats.com wrote:
nobrowser wrote:
Hi. The with statement is certainly nifty. The trouble is, the
*only* two documented examples how it can be used with the library
classes are file objects (which I use all the time) and thread locks
which
On Sun, 21 Feb 2010 11:07:24 -0800, marwie wrote:
x = SomeReallyBigListOrString
for item in x[1:]:
process(item)
has to copy the entire list or string (less the first item). But
honestly, I've never found a situation where it actually mattered.
Good grief, it copies that, too? I
Steven D'Aprano wrote:
On Sat, 20 Feb 2010 22:31:44 -0800, Carl Banks wrote:
The one place where Python does have references is when accessing
variables in an enclosing scope (not counting module-level).
What makes you say that?
I think Carl is talking about cells, which *are* actually
On Sun, 21 Feb 2010 13:40:54 -0800, Mensanator wrote:
Yeah, I saw that. Funny that something important like that wasn't part
of the
announcement. I notice no mention of Mac OS, so visiting the website was
a complete
waste of time on my part, wasn't it?
Of course not. Now you know that Mac
lallous wrote:
If the base defines the method and it was empty, then my C++ code
would still call the function. This is not optimal because I don't
want to go from C++ to Python if the _derived_ class does not
implement the cb.
I would simply not implement the method at all in the base
class.
On Sun, 21 Feb 2010 22:25:11 +0100, W. Martin Borgert wrote:
Hi,
I know that this issue has been discussed before, but most of the time
using only one argument to eval().
Is it possible to use the following code, e.g. run as part of a web
application, to break in and if so, how?
My student is trying to build an executable version of a program that uses PyQt
and PyQwt, on Windows XP. She has installed: Python 2.6.1, Qt 4.5.0, PyQt 4.5,
and PyQwt 5.2.0. There is a module error on running the executable produced by
py2exe. Here is the info I got from my student:
On 21-02-2010 03:51, Ryan Kelly wrote:
On Sun, 2010-02-21 at 13:17 +1100, Lie Ryan wrote:
On 02/21/10 12:02, Stef Mientki wrote:
On 21-02-2010 01:21, Lie Ryan wrote:
On Sun, Feb 21, 2010 at 12:52 AM, Stef Mientki
stef.mien...@gmail.com wrote:
On Monday 22 February 2010 01:17, Gib Bogle wrote:
quote
Traceback (most recent call last):
File ABM15.pyw, line 15, in module
File PyQt4\Qwt5\__init__.pyc, line 32, in module
File PyQt4\Qwt5\Qwt.pyc, line 12, in module
File PyQt4\Qwt5\Qwt.pyc, line 10, in
On Feb 21, 12:49 pm, Dennis Lee Bieber wlfr...@ix.netcom.com wrote:
Note: The author of this message requested that it not be archived.
This message will be removed from Groups in 6 days (Feb 28, 12:49 pm).
I've not seen a message via Gmane in something like 36
hours... and
find it hard
Mensanator snipped: Yeah, I saw that. Funny that something
important like that wasn't part of the announcement. I notice no
mention of Mac OS, so visiting the website was a complete waste of
time on my part, wasn't it?
Oh Mensanator, why you always so grumpy? I visited your site a few
years ago
On Feb 21, 2010, at 8:39 PM, rantingrick wrote:
Mensanator snipped: Yeah, I saw that. Funny that something
important like that wasn't part of the announcement. I notice no
mention of Mac OS, so visiting the website was a complete waste of
time on my part, wasn't it?
Oh Mensanator, why you
Just got it working in mac. Installing dependencies took a bit though.
On Mon, Feb 22, 2010 at 7:38 AM, Philip Semanchuk phi...@semanchuk.comwrote:
On Feb 21, 2010, at 8:39 PM, rantingrick wrote:
Mensanator snipped: Yeah, I saw that. Funny that something
important like that wasn't part of
On Feb 21, 2010, at 9:10 PM, Shashwat Anand wrote:
Just got it working in mac. Installing dependencies took a bit though.
I used macports and it was only 2 installs:
# sudo port install py26-pygtksourceview
# sudo port install py26-gtk2
It sure did install a lot of other stuff, like a new
Thanks David.
Someone asked this question on the PyQt mailing list, too:
http://www.riverbankcomputing.com/pipermail/pyqt/2010-February/025827.html
That's my student, Helvin.
I believe it was also asked on the #pyqt IRC channel on freenode. I think
I have previously referred people with
On Feb 21, 7:39 pm, rantingrick rantingr...@gmail.com wrote:
Mensanator snipped: Yeah, I saw that. Funny that something
important like that wasn't part of the announcement. I notice no
mention of Mac OS, so visiting the website was a complete waste of
time on my part, wasn't it?
Oh
PAPER PRESENTATIONS AND SEMIMAR TOPICS.
CHECK OUR VAST PAPER PRESENTATIONS AND SEMIMAR TOPICS INCLUDING
PROJECTS FOR FREE AT
http://presentationsandseminars.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Feb 20, 2010 at 10:48 PM, Steven D'Aprano
st...@remove-this-cybersource.com.au wrote:
On Sat, 20 Feb 2010 21:21:47 -0800, Jonathan Gardner wrote:
For ten items, though, is it really faster to muck around with array
lengths than just copying the data over? Array copies are extremely fast
W. Martin Borgert wrote:
def myeval(untrustedinput):
return eval(untrustedinput, {__builtins__: None},
{ abs: abs, sin: math.sin })
Is it possible to define functions or import modules from the
untrusted input string?
This is NOT safe as it stands. It still isn't safe
On Mon, 22 Feb 2010 18:45:40 +1300, Gregory Ewing wrote:
W. Martin Borgert wrote:
def myeval(untrustedinput):
return eval(untrustedinput, {__builtins__: None},
{ abs: abs, sin: math.sin })
Is it possible to define functions or import modules from the untrusted
input
Am 02/21/10 22:09, schrieb Dennis Lee Bieber:
On Sat, 20 Feb 2010 23:12:50 +0100, Norman Rießnor...@smash-net.org
declaimed the following in comp.lang.python:
Hello,
i am trying to read a large bz2 compressed textfile using the bz2 module.
The file is 1717362770 lines long and 8GB large.
Éric Araujo mer...@netwok.org added the comment:
Ok, thanks for clarifying :)
Regards
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7751
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
Fixed in r78247 (trunk) and r78248 (release26-maint) (plus a fix in r78272 and
r78279 to avoid test failures when the filesystem encoding is ascii).
I didn't use the any_cwd decorator -- I might consider it in future if it turns
out that
Stefan Krah stefan-use...@bytereef.org added the comment:
I think it would be nice to update the documentation if this isn't
resolved yet. The patch adds a warning that FIFO behavior is not
guaranteed.
--
keywords: +patch
nosy: +skrah
Added file:
Mark Dickinson dicki...@gmail.com added the comment:
Apologies for the delay; tomorrow was a long time coming...
The patch looks great---thank you! I added a .. versionchanged note to the
documentation, and fixed a couple of whitespace issues; apart from that I
didn't change anything.
Mark Dickinson dicki...@gmail.com added the comment:
I think this can be closed as a duplicate of issue 3132. (Yes, this issue came
first, but all the interesting(?) discussion is over in issue 3132.)
--
dependencies: -implement PEP 3118 struct changes
nosy: +mark.dickinson
Mark Dickinson dicki...@gmail.com added the comment:
[Meador Inge]
So the next step is to kick off a thread on python-dev summarizing the
questions\problems we have come up with? I can get that started.
Sounds good. I'd really like to see some examples of how these struct-module
additions
Mark Dickinson dicki...@gmail.com added the comment:
It does appear that curses itself is broken on FreeBSD
Rereading this, it doesn't say what I meant it to say: I meant that the Python
curses module seems to be broken, not that the system-level curses library is
broken (though that seems
New submission from Dominique Pellé dominique.pe...@gmail.com:
I built Vim-7.2.368 editor with python interpreter using
Python-2.6.4 library on Linux x86.
When I run a python command (any command, it does not matter)
in the Vim editor with Valgrind memory checker, I see valgrind
errors within
Mark Dickinson dicki...@gmail.com added the comment:
The code you identify looks okay to me: in PyMarshal_ReadObjectFromString,
isn't it only the temporary variable rf that has a pointer to the string?
Have you read Misc/README.valgrind in the Python source?
--
nosy: +mark.dickinson
Dominique Pellé dominique.pe...@gmail.com added the comment:
Have you read Misc/README.valgrind in the Python source?
No, I had not see this file.
Thanks for pointing it to me.
I've just read it, reconfigured recompiled Python-2.6.4 with:
./configure --without-pymalloc
It now runs without
Dominique Pellé dominique.pe...@gmail.com added the comment:
Closed: this was not a bug, I had to build Python lib with configure
--without-pymalloc to avoid valgrind errors.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
Alex Willmer a...@moreati.org.uk added the comment:
On 17 February 2010 19:35, Matthew Barnett rep...@bugs.python.org wrote:
The main text at http://pypi.python.org/pypi/regex appears to have lost its
backslashes, for example:
  The Unicode escapes u and U are supported.
Mark Dickinson dicki...@gmail.com added the comment:
Thanks for the update!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7974
___
___
Changes by Mark Dickinson dicki...@gmail.com:
--
resolution: - invalid
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7974
___
___
New submission from Adam Collard adam.coll...@gmail.com:
Originally reported at:
https://bugs.edge.launchpad.net/bugs/384602
In Python 2.6, the dbshelve.py module throws an AttributeError exception
whenever a call is made to a method that depends upon an __iter__ method. The
exception is:
R. David Murray rdmur...@bitdance.com added the comment:
Could you please provide a complete example that demonstrates the problem? A
naive example using shelve with a dbhash database seems to work fine.
--
nosy: +r.david.murray
priority: - normal
stage: - test needed
type: -
sorin sorin.sbar...@gmail.com added the comment:
Any idea if there is a nightly build for Python 2.6? The latest release was
2.6.4 and was 2 days before submitting the patch.
Or the only alternative is to build it myself? Any ideas on when we could see
2.6.5? - I tried to look for a release
Adam Collard adam.coll...@gmail.com added the comment:
Attached a simple example.
--
Added file: http://bugs.python.org/file16280/dbshelve_example.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7975
Mark Dickinson dicki...@gmail.com added the comment:
Please could you generate and upload a patch against the Python source? (For
Windows, you can do this using the WinMerge tool, amongst others.) I'm unable
to open the file you attached on my machine:
No application knows how to open ...
Martin v. Löwis mar...@v.loewis.de added the comment:
I would suggest using my _DARWIN_C_SOURCE implementation
unconditionally and make similar changes to posix_setgroups, but this
is probably a subject for a separate issue.
I would propose a different strategy: if _SC_NGROUPS_MAX is
Mark Dickinson dicki...@gmail.com added the comment:
About long doubles again: I just encountered someone on the #python IRC
channel who wanted to know whether struct.pack and struct.unpack supported
reading and writing of x87 80-bit long doubles (padded to 12 bytes each in the
input). A
R. David Murray rdmur...@bitdance.com added the comment:
The bug seems to have been introduced by an incomplete or incorrect translation
to the newer idiom (DictMixin to MutableMapping). Since bsddb is gone in py3,
I'm inclined to fix it by just going back to using DictMixin. There are no
Michael Newman michael.b.new...@gmail.com added the comment:
I noticed the same behavior today.
Let's consider a test case using my python script version_check.py (attached).
Normally the script does the following on my Ubuntu 9.10 box:
# Python 2.6 example:
m...@ebx2009:~/test$ which python
Jeremy Hylton jer...@alum.mit.edu added the comment:
On Sat, Feb 20, 2010 at 12:06 AM, R. David Murray
rep...@bugs.python.org wrote:
R. David Murray rdmur...@bitdance.com added the comment:
But the docs (which presumably describe the API) say that the socket is
unusable after the call to
Jeremy Hylton jer...@alum.mit.edu added the comment:
In particular, I mean this part of the socket API:
socket.makefile([mode[, bufsize]])
Return a file object associated with the socket. (File objects are
described in File Objects.) The file object references a dup()ped
version of the socket
Michael Newman michael.b.new...@gmail.com added the comment:
Perhaps this is now really a bug:
# Response to e-mail to webmas...@python.org:
#
This is the mail system at host mail.python.org.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients.
R. David Murray rdmur...@bitdance.com added the comment:
So do I. I'm saying that paramiko appears to be following the socket API as
documented in the python docs (ie: that closing the socket means it is no
longer usable).
--
___
Python tracker
Michael Newman michael.b.new...@gmail.com added the comment:
I posted the copyright note, and the reply bot bug on the wiki at:
http://wiki.python.org/moin/SiteImprovements
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7929
R. David Murray rdmur...@bitdance.com added the comment:
So HTTConnection is closing the thing returned by makefile and that is closing
the socket, except that the socket library makes sure it doesn't actually close
the socket until the dupped file handle is also closed? I guess I need to
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I have seen somewhere (ask google), that python 2.6.5 would be released
mid-march.
But except for a few platforms, python.org does not provide compiled binaries.
--
___
Python tracker
Jason R. Coombs jar...@jaraco.com added the comment:
I'm interested in finding a workaround for this issue in the next 24 hours. I
can also help contribute a test case. I'll investigate further.
--
nosy: +jaraco
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
Closing as fixed, as the replybot issue is listed on the wiki.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7929
1 - 100 of 117 matches
Mail list logo