[issue7005] ConfigParser does not handle options without values

2010-02-16 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: Assigning to myself for handling. Bumping to Python 2.7 / 3.2 since support for this syntax variation is a new feature. -- assignee: - fdrake versions: +Python 2.7, Python 3.2 -Python 2.6

[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6

2010-02-03 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. fdr...@acm.org: -- nosy: +fdrake ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6877 ___ ___ Python-bugs-list mailing

RE: Processing XML File

2010-01-29 Thread Sells, Fred
Google is your friend. Elementtree is one of the better documented IMHO, but there are many modules to do this. -Original Message- From: python-list-bounces+frsells=adventistcare@python.org [mailto:python-list-bounces+frsells=adventistcare@python.org] On Behalf Of Stefan

[issue1495229] W3C - Python DOM type mapping docs need updating

2010-01-04 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: I presume you're referring to the documentation for the xml.dom package (as found at http://docs.python.org/library/xml.dom.html#type-mapping) rather than the Python -- OMG IDL mapping (the link for which appears to have gone stale). I'd

ReverseProxy

2009-11-16 Thread Fred C
I have to write a quick and dirty ReverseProxy with Twisted, for one of our internal project. I never used Twisted before, and I was wondering of someone have an handy example of a ReverseProxy with Twisted to help that I can use as bootstrap. Many thanks. Fred-- http://mail.python.org

[issue7311] Bug on regexp of HTMLParser

2009-11-13 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. fdr...@acm.org: -- nosy: +fdrake ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7311 ___ ___ Python-bugs-list mailing

Re: Tracking down DLL load errors in Windows ?

2009-10-19 Thread Fred Pacquier
Mark Tolonen metolone+gm...@gmail.com said : Yes, welcome to Microsoft's solution to DLL Hell...Side-by-Side DLL Hell. As always, it boils down to a philosophical choice : is it better to suffer through Hell alone, or in bad company ? :-) --

Re: Tracking down DLL load errors in Windows ?

2009-10-18 Thread Fred Pacquier
Fred P xne...@fredp.lautre.net said : Hi, a bit of platform-specific advice sought here... I'm trying to diagnose one of those mysteries Windows is so fond of... Say that I have code that imports some binary Python module from site- packages (in this case, libpyexiv2.pyd through pyexiv2.py

Re: Tracking down DLL load errors in Windows ?

2009-10-16 Thread Fred Pacquier
Christian Heimes li...@cheimes.de said : Fred P wrote: Is there any tool and/or methodology I could use to at least pinpoint the exact DLL that libpyexiv2 is failing to load, and ideally also the reason why ?... The depencency walker http://www.dependencywalker.com/ works fine for me

Tracking down DLL load errors in Windows ?

2009-10-15 Thread Fred P
Hi, a bit of platform-specific advice sought here... I'm trying to diagnose one of those mysteries Windows is so fond of... Say that I have code that imports some binary Python module from site- packages (in this case, libpyexiv2.pyd through pyexiv2.py, could be anythng else). On three Windows

RE: How to run python script in emacs

2009-10-13 Thread Sells, Fred
-your-organization Sunrise Software International) (setq display-time-day-and-date t) (setq display-time-no-load t) (setq display-newmail-beep t) (display-time) ;;(setq-default tab-width 4 )fred (put 'narrow-to-region 'disabled nil) (put 'narrow-to-page 'disabled nil) (put

Re: Python + webservice

2009-10-08 Thread Fred Chevitarese
First of all, thanks for these replies... Someone has an example of python + suds generating a XML and consuming a webservice or, in suds documentation has one? Thanks again ;) On Oct 8, 8:32 am, Jakob Kristensen j4k...@gmail.com wrote: Ralf Schoenian wrote: Has anyone made something like

Re: Python + webservice

2009-10-08 Thread Fred Chevitarese
Hello again!! Now i'm reading the documentation... If i got doubts, i ask here! Thanks ;) On Oct 8, 10:50 am, Fred Chevitarese fchevitar...@gmail.com wrote: First of all, thanks for these replies... Someone has an example of python + suds generating a XML and consuming a webservice

Python + webservice

2009-10-07 Thread Fred Chevitarese
Hello all... I'm new here and a search in tis group but unfortunately i didn't find any kind of solution/code/question etc ... I have to made a python script that communicates with an websevice over the web. I tried out use SoapPy, ZSI, BeautifullSoap and others, but get no success... I have to

RE: How to run python script in emacs

2009-10-07 Thread Sells, Fred
Hitting ctrl-c, twice quickly works for me. -Original Message- From: python-list-bounces+frsells=adventistcare@python.org [mailto:python-list-bounces+frsells=adventistcare@python.org] On Behalf Of OdarR Sent: Wednesday, October 07, 2009 12:02 PM To: python-list@python.org

[issue6517] configparser: add possibility to escape formatstrings

2009-09-15 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. fdr...@acm.org: -- nosy: +fdrake ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6517 ___ ___ Python-bugs-list mailing

[issue6811] add a filename argument to marshal.load*

2009-08-31 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. fdr...@acm.org: -- nosy: +fdrake ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6811 ___ ___ Python-bugs-list mailing

Re: Seeding the rand() Generator

2009-08-04 Thread Fred Atkinson
? Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: Seeding the rand() Generator

2009-08-04 Thread Fred Atkinson
On Tue, 04 Aug 2009 07:12:30 GMT, Jarkko Torppa tor...@staff.megabaud.fi wrote: On 2009-08-04, Fred Atkinson fatkin...@mishmash.com wrote: On Mon, 3 Aug 2009 20:00:08 -0700 (PDT), Carl Banks pavlovevide...@gmail.com wrote: If you don't get why this is a MySQL question and not a Python question

Re: Seeding the rand() Generator

2009-08-03 Thread Fred Atkinson
from within Python? Regards, Fred -- http://mail.python.org/mailman/listinfo/python-list

Seeding the rand() Generator

2009-08-02 Thread Fred Atkinson
How does one seed the rand() generator when retrieving random recordings in MySQL? Regards, Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: Seeding the rand() Generator

2009-08-02 Thread Fred Atkinson
On Sun, 02 Aug 2009 08:53:50 -0700, Scott David Daniels scott.dani...@acm.org wrote: Fred Atkinson wrote: How does one seed the rand() generator when retrieving random recordings in MySQL? It is not entirely clear what you are asking. If you are talking about MySQL's random number

Re: Predefined Variables

2009-08-02 Thread Fred Atkinson
On Sun, 02 Aug 2009 08:11:22 -0700, Scott David Daniels scott.dani...@acm.org wrote: Piet van Oostrum wrote: Scott David Daniels scott.dani...@acm.org (SDD) wrote: SDD Stephen Cuppett (should have written in this order): Fred Atkinson fatkin...@mishmash.com wrote ... Is there a pre-defined

Get Cliet IP Address

2009-08-02 Thread Fred Atkinson
What is the function to obtain the client browser's IP address? Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: Predefined Variables

2009-08-01 Thread Fred Atkinson
On Thu, 23 Jul 2009 15:28:50 +0200, Diez B. Roggisch de...@nospam.web.de wrote: Fred Atkinson wrote: Is there a pre-defined variable that returns the GET line (http://www.php.net/index.php?everythingafterthequestionmark) as a single variable (rather than individual variables)? Variables

Re: Predefined Variables

2009-08-01 Thread Fred Atkinson
On Sat, 01 Aug 2009 18:56:33 -0700, Fred Atkinson fatkin...@mishmash.com wrote: On Thu, 23 Jul 2009 15:28:50 +0200, Diez B. Roggisch de...@nospam.web.de wrote: Fred Atkinson wrote: Is there a pre-defined variable that returns the GET line (http://www.php.net/index.php

Predefined Variables

2009-07-24 Thread Fred Atkinson
Is there a pre-defined variable that returns the GET line (http://www.php.net/index.php?everythingafterthequestionmark) as a single variable (rather than individual variables)? Regards, Fred -- http://mail.python.org/mailman

setuptools question.

2009-07-21 Thread Fred C
attempted to modify files on your system that are not within the EasyInstall build area, and has been aborted. Is there a way to use easy_install to install the start scripts into / etc/init.d. If not, what is the best way to install these scripts. Thanks -fred- -- http://mail.python.org/mailman

Final Project

2009-07-19 Thread Fred Atkinson
site(s). I would be grateful for any and all suggestions. Regards, Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: explode()

2009-07-14 Thread Fred Atkinson
On Tue, 14 Jul 2009 05:41:40 GMT, Tim Harig user...@ilthio.net wrote: On 2009-07-14, Fred Atkinson fatkin...@mishmash.com wrote: The one thing I really dislike about Python over PHP is that Python can usually only appear in the cgi directory (unless other arragements are made with your

Re: explode()

2009-07-14 Thread Fred Atkinson
On Mon, 13 Jul 2009 23:54:11 -0700 (PDT), alex23 wuwe...@gmail.com wrote: Fred Atkinson fatkin...@mishmash.com wrote:         I wish the Python site was as well written as the PHP site. On the PHP site, I can look up a command and they show not only the docs on that command but a list of all

Re: explode()

2009-07-13 Thread Fred Atkinson
On Sat, 11 Jul 2009 18:50:28 -0700, Chris Rebert c...@rebertia.com wrote: On Sat, Jul 11, 2009 at 7:41 PM, Fred Atkinsonfatkin...@mishmash.com wrote:        What is the Python equivalent of the PHP explode() function? some_string.split(separator) Cheers, Chris What would the equivalent

Re: explode()

2009-07-13 Thread Fred Atkinson
On Mon, 13 Jul 2009 22:32:55 -0700, Chris Rebert c...@rebertia.com wrote: On Mon, Jul 13, 2009 at 11:28 PM, Fred Atkinsonfatkin...@mishmash.com wrote: On Sat, 11 Jul 2009 18:50:28 -0700, Chris Rebert c...@rebertia.com wrote: On Sat, Jul 11, 2009 at 7:41 PM, Fred Atkinsonfatkin...@mishmash.com

explode()

2009-07-11 Thread Fred Atkinson
What is the Python equivalent of the PHP explode() function? Fred -- http://mail.python.org/mailman/listinfo/python-list

Re: explode()

2009-07-11 Thread Fred Atkinson
On Sat, 11 Jul 2009 18:50:28 -0700, Chris Rebert c...@rebertia.com wrote: On Sat, Jul 11, 2009 at 7:41 PM, Fred Atkinsonfatkin...@mishmash.com wrote:        What is the Python equivalent of the PHP explode() function? some_string.split(separator) Cheers, Chris Thanks

Re: IP Address Function

2009-07-08 Thread Fred Atkinson
On Tue, 07 Jul 2009 22:54:03 -0300, Gabriel Genellina gagsl-...@yahoo.com.ar wrote: En Tue, 07 Jul 2009 22:45:24 -0300, Fred Atkinson fatkin...@mishmash.com escribió: Is there a Python function I can use to get the user's IP address so I can display it on his browser? There is a long

Re: IP Address Function

2009-07-08 Thread Fred Atkinson
) or getenv(REMOTE_ADDR) or UNKNOWN) print ipaddr That did it. I wonder why they don't just have a function to return it instead of putting you through all of that? At any rate, it works. Regards, Fred -- http

IP Address Function

2009-07-07 Thread Fred Atkinson
Is there a Python function I can use to get the user's IP address so I can display it on his browser? Regards, Fred -- http://mail.python.org/mailman/listinfo/python-list

[issue6043] HTMLParseError derivation

2009-05-16 Thread Fred Bayer
New submission from Fred Bayer pyt...@bayerf.de: Acoording to documentation, only a few exceptions should inherit directly from Exception, most should inherit from StandardError. However, HTMLParser.HTMLParseError doesn't conform: isinstance(HTMLParser.HTMLParseError(foo),StandardError

Re: Web based application development using python

2009-04-28 Thread Fred Pacquier
Rahul r.warhe...@gmail.com said : There are a number of frameworks out there each with there own set of strengths and weaknesses,  you shoul dbe looking at each ones vibrancy (community), suitablility for your application, etc... Thanks tim This information was really of help to me If

RE: Introducing Python to others

2009-04-02 Thread Sells, Fred
. Good luck Fred. -Original Message- From: python-list-bounces+frsells=adventistcare@python.org [mailto:python-list-bounces+frsells=adventistcare@python.org] On Behalf Of Paddy O'Loughlin Sent: Thursday, March 26, 2009 5:36 AM To: python-list@python.org Subject: Introducing

[issue935117] pkgutil doesn't understand case-senseless filesystems

2009-02-14 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. fdr...@acm.org added the comment: Antoine: I agree programmers shouldn't try to create situations like this. Consider however an application assembled using a build tool like zc.buildout, which installs each package into a separate installation location (based on setuptools

[issue935117] pkgutil doesn't understand case-senseless filesystems

2009-02-14 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. fdr...@acm.org: ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue935117 ___ ___ Python-bugs-list mailing list Unsubscribe: http

Re: Recommendation for a small web framework like Perl's CGI::Application to run as CGI?

2009-01-28 Thread Fred Pacquier
excord80 excor...@gmail.com said : What are you looking for in your framework? Well, let's see. I don't need a templating library, since -- as you pointed out -- I can just use Python's own. I don't need a db interface (can just make my own dbapi calls if needed). Don't need url mapping

RE: Python Apache Handler

2009-01-09 Thread Sells, Fred
Mod_python works, but if you are doing anything significant look into one of the many frameworks like turbogears or django. More structure to learn but less code when all is said and done. -Original Message- From: python-list-bounces+frsells=adventistcare@python.org

RE: Python advocacy . HELP!

2008-12-24 Thread Sells, Fred
Prof. Kanabar (kanabar.bu.edu) is planning to offer a python course there soon. Perhaps he could help. Tell him you got his name from me (Fred Sells). -Original Message- From: python-list-bounces+frsells=adventistcare@python.org [mailto:python-list-bounces+frsells=adventistcare

[no subject]

2008-12-05 Thread Fred
-- http://mail.python.org/mailman/listinfo/python-list

[issue2102] New style vs. old style classes __ror__() operator overloading

2008-12-04 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. [EMAIL PROTECTED]: -- assignee: fdrake - ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2102 ___ ___ Python-bugs-list

[issue1019882] hotshot start / stop stats bug

2008-12-04 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. [EMAIL PROTECTED]: -- assignee: fdrake - ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue1019882 ___ ___ Python-bugs-list

[issue873150] pickletools support for multiple pickles in a string

2008-12-04 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: I can't remember why I wanted this; guess this should indeed go in the pickleeverydamnfoolfunctionicanthinkof module, not the standard library. -- resolution: - rejected stage: - committed/rejected status: open - closed

[issue1055234] cgi.py does not correctly handle fields with ';'

2008-12-04 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: This is now fixed for Python 2.6.?, 2.7, 3.0.1, and 3.1. I've no idea why I didn't write a test for this sooner. -- resolution: - fixed stage: - committed/rejected status: open - closed

RE: Django or TurboGears or Pylons? for python web framework.

2008-11-07 Thread Sells, Fred
I use Flex (from adobe) for the client side and turbogears for the server side and pass xml or json in between. It gives you a Flash client which is very Sexy and browser independent and very simple turbogears code in Python. Flex is essentially open source, but the IDE is about $295, although

[issue2218] Enhanced hotshot profiler with high-resolution timer

2008-10-07 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: May I ask what the reasoning is for further developing hotshot as part of the core? My understanding, based on discussions on python-dev, is that hotshot is being deprecated in favor of cProfile. If hotshot still provides functionality

Re: Are there any python micro-frameworks (like ruby's Camping)?

2008-10-01 Thread Fred Pacquier
Phillip B Oldham [EMAIL PROTECTED] said : On Oct 1, 10:29 am, Michele Simionato [EMAIL PROTECTED] wrote: How about wsgiref in the standard library? It is as small as you can get without resorting to CGI. Interesting... I'll be sure to check that out also. Someone also mentioned

Re: ANN: Python GUI development using XULRunner

2008-09-17 Thread Fred Pacquier
Todd Whiteman [EMAIL PROTECTED] said : I've put together a tutorial that shows off how to build a GUI application using XULRunner (same architectural components as Firefox uses) that can be used in conjunction with the Python programming language. The tutorial covers how to build a

Re: PyGUI as a standard GUI API for Python?

2008-09-10 Thread Fred Pacquier
Todd Whiteman [EMAIL PROTECTED] said : Personally, I believe XULRunner has a lot to offer for Python GUI development, I'm currently finishing up some documentation steps to show off how to use it specifically for Python (I'll post it to this list when it's finished). That would be really

[issue3829] Tuple comparison masking exception

2008-09-10 Thread Fred L. Drake, Jr.
New submission from Fred L. Drake, Jr. [EMAIL PROTECTED]: There's a strange condition where cmp() of tuples of unorderable values returns -1 even though using the unorderable values raises an exception. If I have these two unorderable values, cmp() raises an expected exception: s0

RE: swig or ctypes , under the gun and need help

2008-08-25 Thread Sells, Fred
Diez wrote... I don't know swig, but if all you have is a real C-API, try use ctypes. It's much easier to create bindings for, keeps you fully in the warm and cozy womb of python programming and doesn't need no compilation to create the actual binding. You're right the ctypes does

swig double[], under the gun and need help

2008-08-24 Thread Sells, Fred
I'm using python 2.4 under linux (centos 5.1). I need to pass an array of doubles to a c function but am getting an error, shown near the bottom of this post. my swig interface file looks like this * File: rug520.i */ %module rug520 %include

regex question

2008-08-05 Thread Fred Mangusta
Hi, I would like to delete all the instances of a '.' into a number. In other words I'd like to replace all the instances of a '.' character with something (say nothing at all) when the '.' is representing a decimal separator. E.g. 500.675 500675 but also 1.000.456.344

Re: regex question

2008-08-05 Thread Fred Mangusta
Chris wrote: Doesn't work for his use case as he wants to keep periods marking the end of a sentence. Exactly. Thanks to all of you anyway, now I have a better understanding on how to go on :) F. -- http://mail.python.org/mailman/listinfo/python-list

Nlp, Python and period

2008-08-04 Thread Fred Mangusta
Hi, are you aware of any nlp packages or algorithms in Python to spot whether a '.' represents an end of sentence or rather something else (eg Mr., [EMAIL PROTECTED], etc)? Thanks F. -- http://mail.python.org/mailman/listinfo/python-list

Re: Nlp, Python and period

2008-08-04 Thread Fred Mangusta
Hi Paul, thanks for replying. I'm interested in knowing more about your regex approach, but as you point out in your comment, seems like access to the sourceforge mail archive is restricted. Is there any way I can read about it? Would you be so kind to cut and paste it here for instance?

Case tagging and python

2008-07-31 Thread Fred Mangusta
Hi, I'm relatively new to programming in general, and totally new to python, and I've been told that this language is particularly good for what I need to do. Let me explain. I have a large corpus of English text, in the form of several files. First of all I would like to scan each file. Then,

Re: Case tagging and python

2008-07-31 Thread Fred Mangusta
Hi, I came up with the following procedure ALLCAPS = |ALLCAPS NOCAPS = |NOCAPS MIDCAPS = |MIDCAPS CAPS = |CAPS DIGIT = |DIGIT def test_case(w): w_out = '' if w.isalpha(): #se la virgola non ci entra if w.isupper(): w_out = w.lower() + ALLCAPS return

need ldap windows binary and/or installation help

2008-07-15 Thread Sells, Fred
I'm running python 2.5 (or 2.4) in an XP environment. I downloaded and installed the .dll's from OpenLDAP-2.4.8+OpenSSL-0.9.8g-Win32.zip and copied the .dll's in c:/windows/system32 as instructed now I get this error. Is there anyway to avoid building the python_ldap binaries? Apart from

RE: need ldap windows binary and/or installation help

2008-07-15 Thread Sells, Fred
PROTECTED] Behalf Of Michael Ströder Sent: Tuesday, July 15, 2008 2:46 PM To: python-list@python.org Subject: Re: need ldap windows binary and/or installation help Tim Golden wrote: Sells, Fred wrote: I'm running python 2.5 (or 2.4) in an XP environment. I downloaded and installed

imaplib -- can't read body

2008-07-11 Thread Sells, Fred
message, that would be greatly appreciated, Fred --- code starts below--- import imaplib, sys, os, re, rfc822 OK = OK FETCHTHIS = '(BODY[HEADER.FIELDS (SUBJECT FROM)])' ### got inemsg from the web, works up to the last line; msg.fp has no read

RE: PyDev multiple source files?

2008-05-30 Thread Sells, Fred
the short answer is a file is a module; therefore to 'include' access to 'myclass' in file xyz.py from another file called 'abc.py' you would put this in abc.py import xyz #note no '.py' x = xyz.myclass() or from xyz import myclass #if you're lazy use ... import * x = myclass() see the

adobe flex; return xml via turbogears/django

2008-05-29 Thread Sells, Fred
please excuse slightly off-topic; cannot access turbogears mailing list at the moment. There was an excellent video by James Ward that showed using turbogears to return json data to adoble's flex UI. It simply used @expose(JSON) def (): ... return dict(x=1, ...) Is there

RE: adobe flex; return xml via turbogears/django

2008-05-29 Thread Sells, Fred
Diez wrote: Why don't you create KID-template like this: div py:strip=True${root}/div and in the controller say @expose(thexmltemplate) def ... return dict(root=myElementTreeRoot) sounds good. Does that py:strip remove the div and anything outside it. I'll be doing a flex

[issue2873] Remove htmllib use in the stdlib

2008-05-29 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: I'd be happy to see both htmllib and pydoc be removed; documentation tools do quite well as separate applications. Not as convenient for interactive use, but easy enough to hook in via PYTHONSTARTUP. -- nosy: +fdrake

[issue2888] pprint produces different output in 2.6 and 3.0

2008-05-28 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: The version seen in py3k is the intended formatting; I don't remember anything about a change, but given the time I've not had in following commit messages and discussions, I could easily have missed something. I'm strongly in favor

[issue2888] pprint produces different output in 2.6 and 3.0

2008-05-28 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: I will note that Python 2.5 matches Python 3.0 in this regard. ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue2888

[issue2888] pprint produces different output in 2.6 and 3.0

2008-05-28 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: The patch doesn't include a new test to cover this case. That needs to be written and applied to both trunk and py3k. -- versions: +Python 2.6 -Python 3.0 ___ Python tracker [EMAIL PROTECTED

[issue2888] pprint produces different output in 2.6 and 3.0

2008-05-28 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: The attached test_pprint.diff adds a test for this problem. This test passes for the py3k and release25-maint branches and fails for the trunk. Applying Manuel Kaufmann's pprint.diff patch to the trunk causes it to pass as well. I'll

[issue2775] Implement PEP 3108

2008-05-21 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: On May 21, 2008, at 10:16 AM, Mark Dickinson wrote: I'm working on issue 2873 (remove htmllib dependency from pydoc). Thanks, Mark! I was dreading the thought of looking at that. __ Tracker [EMAIL

RE: Newbie In Python

2008-05-20 Thread Sells, Fred
get a python-aware editor. I vary between emacs and Eclipse, depending on my mood and the size of the project. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bruno Desthuilliers Sent: Tuesday, May 20, 2008 6:25 AM To: python-list@python.org

RE: do you fail at FizzBuzz? simple prog test

2008-05-20 Thread Sells, Fred
or for i in range(1,100): print ('fizz','','')[i%3] + ('buzz','','','','')[i%5] or i Write a program that prints the numbers from 1 to 100. But for multiples of three print Fizz instead of the number and for the multiples of five print Buzz. For numbers which are multiples of both

[issue2882] Create the html package

2008-05-20 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: Python 2.6 changes reverted in revision 63481. Does anyone really want to pickle HTML parser state, or references to the helper functions in the htmlentitydefs module? I suspect head examinations may be in order

[issue2882] Create the html package

2008-05-18 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: Completed in revisions 63430, 63432, 63434 (Python 2.6), and 63431, 63435, 63439 (Python 3.0). -- resolution: - fixed status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org

[issue2775] Implement PEP 3108

2008-05-18 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: The html package has been created (issue 2882). -- nosy: +fdrake __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2775

[issue2882] Create the html package

2008-05-16 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. [EMAIL PROTECTED]: -- assignee: - fdrake nosy: +fdrake __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2882 __ ___ Python-bugs-list

RE: Newbie to python --- why should i learn !

2008-05-09 Thread Sells, Fred
write working programs -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Thursday, May 08, 2008 6:25 AM To: python-list@python.org Subject: Newbie to python --- why should i learn ! Hi, i was reading/learning some hello

Need Python alternative to Request-Tracker help desk software

2008-04-29 Thread Sells, Fred
I've been tasked with either implementing Request-Tracker to upgrade our help desk issue tracking system or finding a Python equivalent (both in terms of functionality and wide spread use). Request-Tracker uses Apache and MySQL, which would also be appropriate to Python. I would prefer to go

Re: So you think PythonCard is old? Here's new wine in an old bottle.

2008-04-28 Thread Fred Pacquier
John Henry [EMAIL PROTECTED] said : The performance of Qooxdoo is quite amazing - for a Javascript based web application. Don't know about cell-phones though. You can try their showcase web site I cited earlier. Just for the record, Nokia Internet tablets (770, N800, N810) are the only

Re: So you think PythonCard is old? Here's new wine in an old bottle.

2008-04-27 Thread Fred Pacquier
John Henry [EMAIL PROTECTED] said : Welcome to the modernized world of Pythoncard!!! Hey, that's really neat ! I remember dabbling in Pythoncard in the early days, some years ago, it was a very interesting project. I gave it up eventually, partly because it seemed somewhat abandoned (I see

Re: PHATCH: PHoto bATCH processor with EXIF and IPTC support for all platforms

2008-04-17 Thread Fred Pacquier
SPE - Stani's Python Editor [EMAIL PROTECTED] said : What is new? Until Phatch could only save EXIF and IPTC tags on Linux. Now this feature is available for all platforms hanks to the work of Robin Mills who managed to compile pyexiv2 and all its dependencies and get it to work on MacOS X

[issue1297] pyconfig.h not compatible with MS VC++ Express Edition

2008-04-10 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: On Apr 9, 2008, at 3:07 PM, Martin v. Löwis wrote: Fred, can you remember what the rationale was? No; sorry. I didn't even remember that I'd ever built Python on Windows. Some things I've blocked out

need help to upload file to webserver

2008-04-08 Thread Sells, Fred
I am automating the client side of a simple web interface. I need to upload a file to a webserver that requires authentication. I've got the authentication working with urllib2 (see below), but the only examples I've found to upload files use httplib without authentication. I'm competent

[issue2385] run_setup can fail if the setup script uses __file__

2008-04-04 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: Of course, my previous commit did what I said it should not in #1 above: it changed the current directory to the directory in which the setup.py script lived (which made __file__ wrong). Fixed in revision 62147, including test that checks

[issue2385] run_setup can fail if the setup script uses __file__

2008-04-04 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: Updated patch to add restoring the current directory after running the setup.py script in run_script. Added file: http://bugs.python.org/file9937/run_script-restores-cwd.patch __ Tracker [EMAIL PROTECTED

[issue2385] run_setup can fail if the setup script uses __file__

2008-04-04 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. [EMAIL PROTECTED]: Removed file: http://bugs.python.org/file9936/run_script-restores-cwd.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2385

[issue2385] run_setup can fail if the setup script uses __file__

2008-04-04 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: It's also arguable that not providing __file__ was a bug, in which case that should be backported to Python 2.5.x. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2385

[issue2385] run_setup can fail if the setup script uses __file__

2008-04-03 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: I don't think these are the right thing to do. 1. Your run_setup() changes add a os.chdir(), but then uses the path to the script as passed in; this assumes that the provided path is absolute, which is not a good assumption

[issue2385] run_setup can fail if the setup script uses __file__

2008-04-03 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: Here's a patch that restores the current directory after running the script. The distutils-sig should probably determine if that's the right thing to do. Includes test. Added file: http://bugs.python.org/file9936/run_script-restores

[issue2174] xml.sax.xmlreader does not support the InputSource protocol

2008-03-28 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. [EMAIL PROTECTED] added the comment: It's certainly arguable that the current behavior is a bug, though I suspect it shouldn't be considered major since I've not seen any prior complaints about this. It should be easy to fix the bug you describe by taking the character stream

RE: Can I run a python program from within emacs?

2008-03-25 Thread Sells, Fred
I use a .emacs file (attached) that some associates gave me nearly 20 years ago. Some of it is OBE now, but it still works for me on both windows and Linux. With this file I can cntrl-c cntrl-c (i.e. ^c twice to run the current buffer). Don't ask me to explain it, it just works.

[issue2459] speedup loops with better bytecode

2008-03-25 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. [EMAIL PROTECTED]: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2459 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue2459] speedup loops with better bytecode

2008-03-25 Thread Fred L. Drake, Jr.
Changes by Fred L. Drake, Jr. [EMAIL PROTECTED]: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2459 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

<    1   2   3   4   5   6   >