From brianc at temple.edu Tue Jan 2 17:22:25 2007 From: brianc at temple.edu (Brian Cole) Date: Tue, 2 Jan 2007 11:22:25 -0500 Subject: [Doc-SIG] hotshot example code doesn't work Message-ID: <54b165660701020822o15ea5fe6o26aa0895e6a3e55d@mail.gmail.com> Hello All, I hope this is the appropriate place to post about a python documentation bug. The hotshot example code is slightly wrong: http://docs.python.org/lib/hotshot-example.html This peice of code will not work (anymore?): benchtime, stones = prof.runcall(test.pystone.pystones) It will raise this error: TypeError: unpack non-sequence The documentation for "runcall" says that the return is the return from the function. Not a two item tuple. I also noticed while subscribing to this list that the entire subscriber list is open to the public: http://mail.python.org/mailman/roster/doc-sig Can you disable this please? Otherwise I will need to unsubscribe shortly. Thanks, Brian Cole From msapiro at value.net Wed Jan 3 00:14:32 2007 From: msapiro at value.net (Mark Sapiro) Date: Tue, 2 Jan 2007 15:14:32 -0800 Subject: [Doc-SIG] hotshot example code doesn't work In-Reply-To: <54b165660701020822o15ea5fe6o26aa0895e6a3e55d@mail.gmail.com> Message-ID: Brian Cole wrote: > >I hope this is the appropriate place to post about a python >documentation bug. The hotshot example code is slightly wrong: >http://docs.python.org/lib/hotshot-example.html > >This peice of code will not work (anymore?): It works for me in python 2.4.3. >benchtime, stones = prof.runcall(test.pystone.pystones) > >It will raise this error: >TypeError: unpack non-sequence > >The documentation for "runcall" says that the return is the return >from the function. Not a two item tuple. That's right, but the return from test.pystone.pystones() is a 2-tuple. >I also noticed while subscribing to this list that the entire >subscriber list is open to the public: >http://mail.python.org/mailman/roster/doc-sig > >Can you disable this please? Otherwise I will need to unsubscribe shortly. If it was open, it's been fixed. Currently it's only available to the list admin. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From goodger at python.org Thu Jan 11 16:28:58 2007 From: goodger at python.org (David Goodger) Date: Thu, 11 Jan 2007 10:28:58 -0500 Subject: [Doc-SIG] PyCon 2007 Message-ID: <4335d2c40701110728t199ccb38o697f8b2a9721273b@mail.gmail.com> In case you haven't heard through other channels, PyCon 2007 is being held in Addison, Texas (near Dallas), February 23-25, 2007. A tutorial day precedes the conference on the 22nd, and 4 days of development sprints follow. Early-bird registration ends on January 15th, just a few days from now. I encourage you to attend. More info is here: http://us.pycon.org/TX2007/ I will be there throughout. I'm giving a tutorial, "Code Like a Pythonista: Idiomatic Python", and there are many others to choose from. I will also coach a Docutils sprint, and there are many other sprint topics to choose from as well. Registration info: http://us.pycon.org/TX2007/Registration Registration form: http://www.python.org/community/pycon/register/ Tutorial info & list: http://us.pycon.org/TX2007/Tutorials Sprint info: http://us.pycon.org/TX2007/Sprinting List of sprints: http://us.pycon.org/TX2007/Sprints I hope to see many of you there! -- David Goodger