<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.comp.python.general">
    <title>gmane.comp.python.general</title>
    <link>http://blog.gmane.org/gmane.comp.python.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/600073"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/600067"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/600060"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/600047"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/600045"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/600028"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/600002"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/600001"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/600000"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/599994"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/599991"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/599984"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/599983"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/599980"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/599976"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/599973"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/599968"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/599963"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/599951"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.general/599939"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/600073">
    <title>Overriding a method at the instance level on a subclass of a builtintype</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/600073</link>
    <description>Sorry for the long subject.

I'm trying to create a subclass dictionary that runs extra init code
on the first __getitem__ call. However, the performance of __getitem__
is quite important - so I'm trying in the subclassed __getitem__
method to first run some code and then patch in the original dict
method for the instance to avoid even the check to see if the init
code has been run. Various recipes using instancemethod and the like
have failed me.

Curiously if __slots__ is not specified no error occurs when setting
self.__getitem__ but the function is not overriden. If __slots__ is
['__getitem__'] however it complains that __getitem__ is read only. I
do not understand that behavior.

--
Zachary Burns
(407)590-4814
Aim - Zac256FL
Production Engineer (Digital Overlord)
Zindagi Games
--
http://mail.python.org/mailman/listinfo/python-list

</description>
    <dc:creator>Zac Burns</dc:creator>
    <dc:date>2008-12-03T00:58:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/600067">
    <title>problem with optparse</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/600067</link>
    <description>This example is right out of python library reference.  What's wrong here?

import optparse

def store_value(option, opt_str, value, parser):
    setattr(parser.values, option.dest, value)

parser = optparse.OptionParser()
parser.add_option("--foo",
                  action="callback", callback=store_value,
                  type="int", nargs=3, dest="foo")

(opt,args) = parser.parse_args ('--foo a b c'.split())

[...]
/usr/lib64/python2.5/optparse.pyc in _process_args(self, largs, rargs, values)
   1423             elif self.allow_interspersed_args:
   1424                 largs.append(arg)
-&gt; 1425                 del rargs[0]
   1426             else:
   1427                 return                  # stop now, leave this arg in rargs

TypeError: 'str' object doesn't support item deletion


--
http://mail.python.org/mailman/listinfo/python-list

</description>
    <dc:creator>Neal Becker</dc:creator>
    <dc:date>2008-12-03T00:23:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/600060">
    <title>Hashlib py26</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/600060</link>
    <description>--
http://mail.python.org/mailman/listinfo/python-list
</description>
    <dc:creator>ShannonL&lt; at &gt;yogananda-srf.org</dc:creator>
    <dc:date>2008-12-02T22:55:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/600047">
    <title>Vista Compatibility</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/600047</link>
    <description>There was a thread about this about a year ago, but I wanted to see if
anyone could clarify this question for me - what is the first
officially sanctioned version of Python that is known to be fully
working under Windows Vista? The best I could find is some indications
that point to 2.5 being the first.

I'm asking because we have a Python 2.3.4 runtime for an application
that we're now looking into running on Vista.

Thanks!
--
http://mail.python.org/mailman/listinfo/python-list

</description>
    <dc:creator>DaveA</dc:creator>
    <dc:date>2008-12-02T21:34:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/600045">
    <title>Simple ini Config parser examples needed</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/600045</link>
    <description>--
http://mail.python.org/mailman/listinfo/python-list
</description>
    <dc:creator>RON BRENNAN</dc:creator>
    <dc:date>2008-12-02T21:18:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/600028">
    <title>Reverse zip() ?</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/600028</link>
    <description>Hi all,

we all know about the zip builtin that combines several iterables into
a list of tuples.

I often find myself doing the reverse, splitting a list of tuples into
several lists, each corresponding to a certain element of each tuple
(e.g. matplotlib/pyplot needs those, rather than lists of points).

This is of course trivial to do via iteration or listcomps, BUT, I was
wondering if there is a function I don't know about that does this
nicely?

redards
/W

</description>
    <dc:creator>Andreas Waldenburger</dc:creator>
    <dc:date>2008-12-02T20:09:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/600002">
    <title>help me~!about base64</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/600002</link>
    <description>my code：
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
import base64
def deflashget(st):
     if st.startswith('Flashget://'):
         return base64.decodestring(st[len('Flashget://'):])[10:-10]
     elif st.startswith('http://') or st.startswith('ftp://'):
         return 'Flashget://' + base64.encodestring('[FLASHGET]' + st
+'[FLASHGET]').replace('\n', '')

st='Flashget://
W0ZMQVNIR0VUXWh0dHA6Ly9kb3duLnJub3ZlbC5jb20vYm9va3R4dC8zLzEzNjgyLzEzNjgyLnppcFtGTEFTSEdFVF0=&amp;1064'
print deflashget(st)
−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
it's run ,Eric gave me error,the error is "'module' object has no
attribute 'decodestring'",
what can I do? who can help me?
--
http://mail.python.org/mailman/listinfo/python-list

</description>
    <dc:creator>ylj798&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2008-12-02T16:48:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/600001">
    <title>Ideal girl dance WEBCAM ! Ideal boobs !</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/600001</link>
    <description>http://yeba.pl/show/movies/5257/Perfect_babe_-_Idealna_kobieta
--
http://mail.python.org/mailman/listinfo/python-list

</description>
    <dc:creator>lolekk1223&lt; at &gt;wp.pl</dc:creator>
    <dc:date>2008-12-02T15:48:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/600000">
    <title>"server chain" with python socket module</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/600000</link>
    <description>--
http://mail.python.org/mailman/listinfo/python-list
</description>
    <dc:creator>B R</dc:creator>
    <dc:date>2008-12-02T15:19:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/599994">
    <title>Running a Python script from crontab</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/599994</link>
    <description>I need help ... I've been looking at this every evening for over a
week now. I'd like to see my kids again!

I have script that runs fine in the terminal but when I try to run it
in a crontab for either myself or root, it bails out.

The trouble is that obviously I get no console when using crontab so
can't see any traceback. I use logging which shows 'info' messages as
the script is working, but no error messages. I've peppered it with
debug messages to try to track it down to a line, but it stops it the
middle of appending data to a list. I'd expect it to bail out when
calling a module or reading/writing to a different file.

Is there any way of getting more info from the app, like popping up a
console while its running?

my crontab is:

30 15 * * * cd /home/myusername/src &amp;&amp; python myscript.py

ALJ
--
http://mail.python.org/mailman/listinfo/python-list

</description>
    <dc:creator>Astley Le Jasper</dc:creator>
    <dc:date>2008-12-02T14:35:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/599991">
    <title>best way to do this</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/599991</link>
    <description>Hi everybody,


I do this:

[5, 6, 3, 8]

Is there a quicker way to do this?

Thanks

Julien
</description>
    <dc:creator>TP</dc:creator>
    <dc:date>2008-12-02T14:09:53</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/599984">
    <title>[ANN] Pyjamas 0.4: Python Web Toolkit Release</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/599984</link>
    <description>This is the 0.4 Release of Pyjamas, the python-to-javascript
compiler and Web Widget set and framework.

Download Pyjamas 0.4 here:
https://sourceforge.net/project/showfiles.php?group_id=239074
http://code.google.com/p/pyjamas/downloads/list

Pyjamas started as a port of Google's Web Toolkit, to python.
Explaining why Pyjamas (and GWT) is so significant takes
some doing: the summary is that comprehensive desktop-like
user interfaces can be developed very simply, to run in
any modern web browser, without having to write a single
line of JavaScript. Further recommended reading is here:
http://advogato.org/article/993.html
http://advogato.org/article/981.html

The homepage is http://pyjs.org
The sister project, Pyjamas-Desktop, is at http://pyjd.org

Documentation on Pyjamas is considerable, and includes:
  http://pyjs.org/book/output/Bookreader.html
  http://pyjs.org/showcase/Showcase.html
  http://pyjd.sf.net/api
  http://pyjd.sf.net/controls_tutorial.html
  http://lkcl.net/pyjamas-desktop/docs/output/docui.html
Also, as the Pyjamas UI API is near-identical to that of
GWT 1.5, the GWT JavaDoc reference guide is still relevant:
  http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/index.html
--
http://mail.python.org/mailman/listinfo/python-list

</description>
    <dc:creator>Luke Kenneth Casson Leighton</dc:creator>
    <dc:date>2008-12-02T12:45:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/599983">
    <title>Determining number of dict key collisions in a dictionary</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/599983</link>
    <description>--
http://mail.python.org/mailman/listinfo/python-list
</description>
    <dc:creator>python&lt; at &gt;bdurham.com</dc:creator>
    <dc:date>2008-12-02T12:39:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/599980">
    <title>performance question: dictionary or list, float or string?</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/599980</link>
    <description>Hi Python gurus!
I'm going to read in an Ascii file containing float numbers in rows
and columns (say 10 columns 500000 rows) for further numerical
process. Which format is best to save them in, eg, dictionary, list,
or numpy array when it comes to performance?

Will it be beneficial to convert all strings to float directly after
reading or it doesn't matter to save them as string and thereafter
when it comes to calculation convert them to floats?

Thank you!
/Ben
--
http://mail.python.org/mailman/listinfo/python-list

</description>
    <dc:creator>bkamrani&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2008-12-02T11:41:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/599976">
    <title>Obama's Birth Certificate - Demand that US presidential electors investigate Obama's eligibility</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/599976</link>
    <description>This message is not about the meaningless computer printout called
"Certification of Live Birth" that Obama propaganda machine calls his
"Birth Certificate". The American people are still waiting for a copy
of Obama's original birth certificate that includes all his birth
information.

Remind your US presidential electors of their constitutional duty to
investigate Obama's natural-born citizen status.

No federal agency like FBI or Secret Service, no Hawaii bureaucrats
have ever investigated Obama's birth in Hawaii. Many illegal aliens in
USA have official "birth certificates" issued by state bureaucrats on
the basis of falsified birth records. Obama has spent over $800,000 in
legal costs to avoid presenting a $10 copy of his original birth
certificate on the grounds that nobody has a legal standing to see
it.

Remind your US presidential electors that they have the legal standing
and constitutional duty to investigate Obama's birth in Hawaii by
demanding that Obama provide all his original birth records, and a
federal agency like FBI or Secret Service fully investigate them.

To find the names of US presidential electors use the partial list at
wikipedia below. Or use www.google.com, click News on top, then in the
Search News enter the name of your state and the words: presidential
electors. Or contact your US Senators, US House Rep, your state
senators/reps, etc.

If a US presidential elector refuses to investigate Obama's
eligibility then post his/her full name on the internet so that all
web search engines can pick it up.


http://www.wnd.com/index.php?fa=PAGE.view&amp;pageId=81550

http://en.wikipedia.org/wiki/List_of_United_States_presidential_electors,_2008
http://www.senate.gov/general/contact_information/senators_cfm.cfm
http://clerk.house.gov/member_info/index.html


--
http://mail.python.org/mailman/listinfo/python-list

</description>
    <dc:creator>girbarobert&lt; at &gt;yahoo.com</dc:creator>
    <dc:date>2008-12-02T10:34:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/599973">
    <title>ANN: eGenix mxODBC Connect - Python Database Interface 1.0.0</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/599973</link>
    <description>________________________________________________________________________

ANNOUNCING
                    eGenix.com mxODBC Connect

                    Python Database Interface

                         Version 1.0.0


  Our new client-server product for connecting Python applications
         to relational databases - from all major platforms


This announcement is also available on our web-site for online reading:
http://www.egenix.com/company/news/eGenix-mxODBC-Connect-1.0.0-GA.html

________________________________________________________________________

INTRODUCTION

The mxODBC Connect Database Interface for Python allows users to
easily connect Python applications to all major databases on the
market today in a highly portable and convenient way.

Unlike our mxODBC Python extension, mxODBC Connect is designed
as client-server application, so you no longer need to find production
quality ODBC drivers for all the platforms you target with your Python
application.

Instead you use an easy to install Python client library which
connects directly to the mxODBC Connect database server over the
network.

This makes mxODBC Connect the ideal basis for writing cross-platform
database programs and utilities in Python, especially if you run
applications that need to communicate with databases such as MS SQL
Server and MS Access, Oracle Database, IBM DB2 and Informix, Sybase
ASE and Sybase Anywhere, MySQL, PostgreSQL, SAP MaxDB and many more,
that run on Windows or Linux machines.

By removing the need to install and configure ODBC drivers on the
client side, mxODBC Connect greatly simplifies setup and
configuration of database driven client applications, while at
the same time making the network communication between client and
database server more efficient and more secure.

For more information, please see the product page:

    http://www.egenix.com/products/python/mxODBCConnect/

________________________________________________________________________

NEWS

mxODBC Connect 1.0.0 is the first general availability release of our
new mxODBC Connect product.

With this release we have further improved the performance and
round-trip times of the mxODBC Connect network layer even more.

We are now able to achieve a *more than 10 times better performance*
for a typical multi-tier application that runs on Linux and connects
to a MS SQL Server database running on a Windows host, compared to the
same application using mxODBC and the FreeTDS ODBC driver.

Thanks to everyone who participated in the public beta !

________________________________________________________________________

DOWNLOADS

The download archives as well as instructions for installation and
configuration of the product can be found on the product page:

    http://www.egenix.com/products/python/mxODBCConnect/

Evaluation licenses for the server part are available free of
charge:

    http://www.egenix.com/products/python/mxODBCConnect/#Evaluation

The client part of mxODBC Connect is always free of charge.

_______________________________________________________________________

SUPPORT

Commercial support for this product is available from eGenix.com.

Please see

    http://www.egenix.com/services/support/

for details about our support offerings.

Enjoy,
</description>
    <dc:creator>eGenix Team: M.-A. Lemburg</dc:creator>
    <dc:date>2008-12-02T10:10:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/599968">
    <title>How to sort a list of file paths</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/599968</link>
    <description>--
http://mail.python.org/mailman/listinfo/python-list
</description>
    <dc:creator>Eriksson, John</dc:creator>
    <dc:date>2008-12-02T08:36:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/599963">
    <title>Posting File as a parameter to PHP/HTML using HTTP POST</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/599963</link>
    <description>--
http://mail.python.org/mailman/listinfo/python-list
</description>
    <dc:creator>S.Selvam Siva</dc:creator>
    <dc:date>2008-12-02T08:03:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/599951">
    <title>epydoc: How to add new fields as the building fields?</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/599951</link>
    <description>--
http://mail.python.org/mailman/listinfo/python-list
</description>
    <dc:creator>Cyril.Liu</dc:creator>
    <dc:date>2008-12-02T05:01:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/599939">
    <title>Loading required libraries for python script from shell just once</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/599939</link>
    <description>I have a linux-like host running busybox with the python installation
mounted over NFS and have the corresponding symlinks setup in /usr/bin
and /usr/lib for python to run smoothly.

A shell script runs my python script several times, each time with
different paramters. E.g.

# cat foo.sh

# Lot of setup stuff

${TEST_DIR}/bin/run-test.py --arg1 foo1 --arg2 bar1 --arg3 baz1
${TEST_DIR}/bin/run-test.py --arg1 foo2 --arg2 bar2 --arg3 baz2
${TEST_DIR}/bin/run-test.py --arg1 foo3 --arg2 bar3 --arg3 baz3


There is a delay of about 10-15 seconds before run-test.py starts
executing. Can someone suggest a method to speed up this process? Most
of the delay seems to be due to python loading up the required
modules. Is it possible to load all the modules used by run-test.py in
a pre-execution environment in order to prevent this delay?

I considered a rewrite of the shell script into python, but it has too
many dependencies on shell libraries and I don't want to go that route
(unless an alternative solution is impossible).

Thanks!
--
http://mail.python.org/mailman/listinfo/python-list

</description>
    <dc:creator>raviforlkml&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2008-12-02T01:48:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.general/599928">
    <title>Aviate, the Web Deployer</title>
    <link>http://comments.gmane.org/gmane.comp.python.general/599928</link>
    <description>Announcing the first public release of Aviate, a cross-platform web
deployment tool written in Python.

Aviate is designed to make deploying your web applications very easy,
while providing you with a rich feature set to make repeated task
performed in a snap, and being extensible so you can extend its
features with your own Python code.

Among its feature is being based on XML, an intuitive GUI to create
deployment files, a large number of built-in commands, multiple
protocol support, extensibility, language constructs, and more.

More details on Aviate:
http://www.vimov.com/aviate/

Download:
http://www.vimov.com/aviate/download/

Front-end:
http://blog.vimov.com/2008/11/aviate-front/
--
http://mail.python.org/mailman/listinfo/python-list

</description>
    <dc:creator>Amr</dc:creator>
    <dc:date>2008-12-01T21:49:22</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.python.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.general</link>
  </textinput>
</rdf:RDF>
