cvs.python.sourceforge.net fouled up
$ cvs update cvs [update aborted]: recv() from server cvs.python.sourceforge.net: EOF I've been having this problem on and off for weeks now with anonymous Python cvs. ===== Regards, Graham http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile.
Graham> $ cvs update Graham> cvs [update aborted]: recv() from server cvs.python.sourceforge.net: EOF Graham> I've been having this problem on and off for weeks now with Graham> anonymous Python cvs. I've noticed various problems as well, from extraordinarily slow response times to failures such as the above. At the moment it seems to be working reasonably well. I'm using authenticate access, not anonymous, though I don't think that should make a difference. Skip
Skip Montanaro <skip@pobox.com> wrote:
I'm using authenticate access, not anonymous, though I don't think that should make a difference.
Actually, it does make a difference. I've only had the problem I posted when using anonymous pserver cvs. When using authenticated (ssh) cvs access to sourceforge, my results are MUCH better. ===== Regards, Graham http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile.
Graham Guttocks <graham_guttocks@yahoo.co.nz> writes:
Actually, it does make a difference. I've only had the problem I posted when using anonymous pserver cvs. When using authenticated (ssh) cvs access to sourceforge, my results are MUCH better.
This is documented (see site status): in overload situations, anonymous access is disabled in favour of authenticated access (to let people who actually work on all this continue to work). Regards, Martin
"Martin v. Löwis" <martin@v.loewis.de> wrote:
This is documented (see site status): in overload situations, anonymous access is disabled in favour of authenticated access
Unfortunately, it seems the "overload" situation is now becoming the standard. I can't remember the last time I was able to anonymous cvs update on the first try. ===== Regards, Graham http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile.
A Pyrex user recently pointed out to me that trying to give a docstring to an __xxx__ method of an extension type doesn't work. The reason for this is that the C functions implementing these methods live in slots of the typeobject, and there's apparently nowhere to put docstrings for them. I'm speculating that this could be worked around by getting the slot's wrapper object out of the type dict after the type is initialised, and stuffing a docstring into it. This would only work if a new set of wrappers is created for each type, rather than re-using generic ones. An experiment suggests that this is what happens -- can anyone confirm this? Or, is there a better way of giving these things docstrings that I've missed? Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+
A Pyrex user recently pointed out to me that trying to give a docstring to an __xxx__ method of an extension type doesn't work.
The reason for this is that the C functions implementing these methods live in slots of the typeobject, and there's apparently nowhere to put docstrings for them.
I'm speculating that this could be worked around by getting the slot's wrapper object out of the type dict after the type is initialised, and stuffing a docstring into it.
This would only work if a new set of wrappers is created for each type, rather than re-using generic ones. An experiment suggests that this is what happens -- can anyone confirm this?
Or, is there a better way of giving these things docstrings that I've missed?
Um, I'm afraid this is how it is. __xxx__ methods have generic docstrings. :-( --Guido van Rossum (home page: http://www.python.org/~guido/)
Um, I'm afraid this is how it is. __xxx__ methods have generic docstrings. :-(
Can you just clarify a bit what you mean by "this": would my idea of poking a docstring into the wrapper object work, or do all types share the same wrappers? It seems as though they *don't* share the same wrappers... Python 2.2 (#1, Jul 11 2002, 14:19:37)
id(int.__dict__['__add__']) 135662196 id(float.__dict__['__add__']) 135668268
...or is there some magic going on there that I'm not aware of? Thanks, Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+
Um, I'm afraid this is how it is. __xxx__ methods have generic docstrings. :-(
Can you just clarify a bit what you mean by "this": would my idea of poking a docstring into the wrapper object work, or do all types share the same wrappers?
It seems as though they *don't* share the same wrappers...
Python 2.2 (#1, Jul 11 2002, 14:19:37)
id(int.__dict__['__add__']) 135662196 id(float.__dict__['__add__']) 135668268
...or is there some magic going on there that I'm not aware of?
The descriptors are indeed separate objects, because they wrap different C implemetations (int vs. float add). But they contain a pointer to a static piece of data which is shared by all wrappers, and that's where they get their docstring. --Guido van Rossum (home page: http://www.python.org/~guido/)
participants (5)
-
Graham Guttocks -
Greg Ewing -
Guido van Rossum -
martin@v.loewis.de -
Skip Montanaro