[issue16395] Documentation claims that PySequence_Fast returns a tuple, when it actually returns a list.

2012-11-03 Thread Simon Law
New submission from Simon Law: The documentation in Python 2.7, 3.2, and 3.3 claim that: PyObject* PySequence_Fast(PyObject *o, const char *m) Return value: New reference. Returns the sequence o as a tuple, unless it is already a tuple or list, in which case o is returned... Unfortunately

[issue16395] Documentation claims that PySequence_Fast returns a tuple, when it actually returns a list.

2012-11-03 Thread Simon Law
Simon Law added the comment: It looks like this was caught in the 3.3 branch, but only fixed it in the comment: changeset: 75448:d8f68195210e user:Larry Hastings la...@hastings.org date:Mon Mar 05 22:59:13 2012 -0800 summary: Fix a comment: PySequence_Fast() creates

[issue15125] argparse: positional arguments containing - in name not handled well

2012-11-03 Thread Simon Law
Simon Law added the comment: But patching the module to allow explicitly setting dest via keyword argument shouldn't hurt anybody. I agree that it wouldn't hurt anybody. If you can find a way to do this, feel free to provide a patch. However, the correct way to have one name

[issue15125] argparse: positional arguments containing - in name not handled well

2012-11-03 Thread Simon Law
Simon Law added the comment: Sorry, there was a small typo in the previous patch. Here's the newer version. -- Added file: http://bugs.python.org/file27860/15125-1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15125

[issue15125] argparse: positional arguments containing - in name not handled well

2012-11-03 Thread Simon Law
Simon Law added the comment: Note that 15125-1.patch applies to Python 2.7 cleanly as it is a bugfix. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15125

[issue15125] argparse: positional arguments containing - in name not handled well

2012-11-03 Thread Simon Law
Simon Law added the comment: 15125-2.patch applies to the default branch. It makes dest behave the same for positional and optional arguments in terms of name mangling. Also, there is a backward-compatibility path in Namespace to support old-style getattr() access. However, it's

[issue16398] deque.rotate() could be much faster

2012-11-03 Thread Simon Law
New submission from Simon Law: If you look at the implementation of deque.rotate(), it does the equivalent of deque.append(deque.popleft()) or deque.appendleft(deque.pop()). Unfortunately, for larger rotations, the pop() and append() calls just do too much work. Since the documentation

Re: Haskell - Python

2012-11-02 Thread Simon Foster
) Assuming that we're playing non-misere Nim then a zero nim-value is a lose for the player *about* to play. Regards Simon -- http://mail.python.org/mailman/listinfo/python-list

[issue16362] _LegalCharsPatt in cookies.py includes illegal characters

2012-10-31 Thread Simon Blanchard
Simon Blanchard added the comment: 'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)', It's the Baidu spider according to the user agent string. (Baidu is the biggest search engine in China.) The serving app is Django + mod_wsgi + Apache

[issue16362] _LegalCharsPatt in cookies.py includes illegal characters

2012-10-30 Thread Simon Blanchard
New submission from Simon Blanchard: _LegalCharsPatt = r[\w\d!#%'~_`@,:/\$\*\+\-\.\^\|\)\(\?\}\{\=] The above regex in cookies.py includes the the comma character but RFC 6265 https://tools.ietf.org/html/rfc6265 section 4.1.1 says: cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B

[issue16362] _LegalCharsPatt in cookies.py includes illegal characters

2012-10-30 Thread Simon Blanchard
Simon Blanchard added the comment: I have a real world example. Using Apache, mod_wsgi and Django. Given this in the META dict: 'HTTP_COOKIE': 'yaean_djsession=23ab7bf8b260cbb2f2bc80b1c1fd98fa, yaean_yasession=ff2a3030ee3f428f91c6f554a63b459c', Django via the Python cookie api gives

[issue15901] multiprocessing sharedctypes Array don't accept strings

2012-09-10 Thread Simon R
New submission from Simon R: I've simply tested the example reported in the py3k documentation, and it don't works. See the site: http://docs.python.org/py3k/library/multiprocessing.html?highlight=multiprocessing#module-multiprocessing.sharedctypes The program exit with this error: python

[issue15901] multiprocessing sharedctypes Array don't accept strings

2012-09-10 Thread Simon
Changes by Simon simone.r...@bluewin.ch: -- assignee: - docs@python components: +Documentation -ctypes nosy: +docs@python type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15901

[issue15715] __import__ now raises with non-existing items in fromlist in 3.3

2012-08-16 Thread Simon Feltman
New submission from Simon Feltman: This came up while trying to build pygobject with Python 3.3. The problem is there are some erroneous imports in the fromlist with these bindings that can easily be fixed. But it is a behavioral change so I just wanted to raise awareness if it is not already

[issue15715] __import__ now raises with non-existing items in fromlist in 3.3

2012-08-16 Thread Simon Feltman
Changes by Simon Feltman s.felt...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15715 ___ ___ Python-bugs-list

[issue15715] __import__ now raises with non-existing items in fromlist in 3.3

2012-08-16 Thread Simon Feltman
Simon Feltman added the comment: I think pygobject still supports Python 2.5 which it look like importlib is available. I've submitted a patch to pygobject which will work regardless of if this regression is fixed or not: https://bugzilla.gnome.org/show_bug.cgi?id=682051

[issue15715] __import__ now raises with non-existing items in fromlist in 3.3

2012-08-16 Thread Simon Feltman
Simon Feltman added the comment: Should have been ...Python 2.5 which it looks like importlib is NOT available. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15715

pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Simon Cropper
please stop what you are doing and submit something quickly. I'm waiting... Still waiting... Hey, stop reading and get on with writing some code, I don't have all day! -- Simon Disclaimer :) Please don't flame me, I have written this with my tongue in my cheek and a light hearted take

Re: pylagiarism -- Need help now! Please provide code...

2012-08-14 Thread Simon Cropper
On 14/08/12 18:19, Peter Otten wrote: Simon Cropper wrote: Hi Everyone, I just had a great idea for a new python module. I haven't bothered googling it or doing any research. I need help putting together some code; today preferably, my boss is on my back. Can someone please contribute

Re: how to call perl script from html using python

2012-08-13 Thread Simon Cropper
On 14/08/12 15:12, mullaper...@gmail.com wrote: Hi, I wanna call perl script in HTML form n store that data in DB using Python. How can i do this...?? Please help me Thank you Pervez Google you question. Many solutions already exist on the Internet. -- Cheers Simon Simon Cropper

Re: how to call perl script from html using python

2012-08-13 Thread Simon Cropper
On 14/08/12 15:31, mullaper...@gmail.com wrote: On Tuesday, August 14, 2012 10:42:48 AM UTC+5:30, mulla...@gmail.com wrote: Hi, I wanna call perl script in HTML form n store that data in DB using Python. How can i do this...?? Please help me Thank you Pervez Hey Simon, Thank

[issue13742] Add a key parameter (like sorted) to heapq.merge

2012-08-13 Thread Simon Sapin
Simon Sapin added the comment: I just remembered about this. I suppose it is too late for 3.3? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13742

Geneology Packages -- WAS: Looking for a good introduction to object oriented programming with Python

2012-08-08 Thread Simon Cropper
and it is fantastic. Check out the features page to see what I mean. http://gramps-project.org/features/ -- Cheers Simon Simon Cropper - Open Content Creator Free and Open Source Software Workflow Guides Introduction

Re: [ANN] New paper published (Volume 7 of The Python Papers) - High-Speed Data Shredding using Python

2012-07-30 Thread Simon Cropper
the application have a project page? -- Cheers Simon Simon Cropper - Open Content Creator Free and Open Source Software Workflow Guides Introduction http://www.fossworkflowguides.com GIS Packages

Re: append in IMAP4 from imaplib very slow

2012-07-26 Thread Simon Pirschel
On 07/26/2012 05:21 AM, Tim Chase wrote: On 07/25/12 12:47, Simon Pirschel wrote: I'm currently experimenting with IMAP using Python 2.7.3 and IMAP4 from imaplib. I noticed the performance to be very bad. I read 5000 files from a directory and append them to an IMAP INBOX. The hole procedure

Re: append in IMAP4 from imaplib very slow

2012-07-26 Thread Simon Pirschel
On 07/26/2012 09:49 AM, Simon Pirschel wrote: On 07/26/2012 05:21 AM, Tim Chase wrote: On 07/25/12 12:47, Simon Pirschel wrote: I'm currently experimenting with IMAP using Python 2.7.3 and IMAP4 from imaplib. I noticed the performance to be very bad. I read 5000 files from a directory

Re: append in IMAP4 from imaplib very slow

2012-07-26 Thread Simon Pirschel
On 07/26/2012 11:25 AM, Simon Pirschel wrote: Ok, forget about the EXISTS and RECENT response. The server will response this way if you selected a mailbox, which I did in the Python code but not in the Perl code. I disabled selecting the mailbox in Python and there is no difference

Re: ANN: dbf.py 0.94.003

2012-07-26 Thread Simon Cropper
as a large number of fields? -- Cheers Simon Simon Cropper - Open Content Creator Free and Open Source Software Workflow Guides Introduction http://www.fossworkflowguides.com GIS Packages http

append in IMAP4 from imaplib very slow

2012-07-25 Thread Simon Pirschel
the issue. Thanks, Simon -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: dbf.py 0.94

2012-07-20 Thread Simon Cropper
Simon Simon Cropper - Open Content Creator Free and Open Source Software Workflow Guides Introduction http://www.fossworkflowguides.com GIS Packages http://www.fossworkflowguides.com/gis bash

PyPy, is it a 1:1 replacement for CPython?

2012-07-20 Thread Simon Cropper
are they subtle different from normal code that would make the program incompatible with the normal compiler? -- Cheers Simon Simon Cropper - Open Content Creator Free and Open Source Software Workflow Guides Introduction

Re: Finding duplicate file names and modifying them based on elements of the path

2012-07-18 Thread Simon Cropper
it will be easier for others later to work out what you have done. -- Cheers Simon Simon Cropper - Open Content Creator Free and Open Source Software Workflow Guides Introduction http://www.fossworkflowguides.com

Re: my email

2012-07-17 Thread Simon Cropper
that you have told the world what it is. -- Cheers Simon Simon Cropper - Open Content Creator Free and Open Source Software Workflow Guides Introduction http://www.fossworkflowguides.com GIS Packages

[issue15345] HOWTOs Argparse tutorial - code example raises SyntaxError

2012-07-13 Thread Simon Hayward
New submission from Simon Hayward simonhayw...@gmail.com: HOWTOs - Argparse Tutorial, the code example will raise a syntax error when run. A trailing python3 reference (if called as a function): 'end=', to suppresses a newline remains. print {}^{} == .format(args.x, args.y), end= Should read

Re: ANN: PollyReports 1.5 -- Band-oriented PDF Report Generator

2012-07-11 Thread Simon Cropper
is your license with the main software licenses currently available? -- Cheers Simon Simon Cropper - Open Content Creator Free and Open Source Software Workflow Guides Introduction http

Re: Apology for OT posts

2012-07-05 Thread Simon Cropper
On 06/07/12 12:06, John O'Hagan wrote: On Tue, 03 Jul 2012 23:39:20 -0600 Littlefield, Tyler ty...@tysdomain.com wrote: On 7/3/2012 10:55 PM, Simon Cropper wrote: Some questions to Tyler Littlefield, who started this thread. Q1 -- Did you get any constructive feedback on your code? I did

Re: code review

2012-07-03 Thread Simon Cropper
I have read does not appear to be discussing your code or how you could improve your code. Following the last few posts, I was wondering whether some other off-list dialog is going on or whether I am missing something. -- Cheers Simon -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: eGenix PyRun - One file Python Runtime 1.0.0

2012-07-02 Thread Simon Cropper
standard libraries have been included? How can someone tell whether they would need to distribute or include any additional modules to get a script to work? -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software Workflow Guides

wxpython using variable with wx.statictext ignores \n

2012-06-01 Thread Simon Cropper
would do $question_text. Is there comparable macro substitution in python. -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software Workflow Guides Introduction

Re: GUI toolkits and dynamic table browser widget

2012-05-21 Thread Simon Cropper
using a maintained library/toolkit, rather than creating a hybrid system with a unmaintained project (that is unless you want to fork the project). -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software Workflow Guides

Re: serial module

2012-05-18 Thread Paul Simon
(serial.py?) with good results. Paul Simon Ron Eggler rondotegg...@tscheemail.com wrote in message news:jp6gcj$1rij$1...@adenine.netfront.net... Hoi, I'm trying to connect to a serial port and always get the error serial.serialutil.SerialException: Port is already open. whcih is untrue

Re: GUI toolkits and dynamic table browser widget

2012-05-18 Thread Simon Cropper
On 19/05/12 01:09, Dennis Lee Bieber wrote: On Fri, 18 May 2012 10:52:07 +1000, Simon Cropper simoncrop...@fossworkflowguides.com declaimed the following in gmane.comp.python.general: Hi, There has been some discussion on this list regarding GUI toolkits and it reinvigorated my search

Re: Looking for Python script for Vector Map simplification, preserving shape and topology

2012-05-17 Thread Simon Cropper
sort of vector file? What do you mean by simplify? etc. Of course, most likely most people python-gis bent would say check out the GDAL libraries -- http://pypi.python.org/pypi/GDAL/ -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software

GUI toolkits and dynamic table browser widget

2012-05-17 Thread Simon Cropper
through that data and preferably allow edits to occur. These edits could then be passed back via a string to the program for inclusion in a sql-update command. Any ideas? -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software Workflow

Re: GUI toolkits and dynamic table browser widget

2012-05-17 Thread Simon Cropper
On 18/05/12 14:00, Vincent Vande Vyvre wrote: On 18/05/12 02:52, Simon Cropper wrote: Hi, There has been some discussion on this list regarding GUI toolkits and it reinvigorated my search for one to meet my needs. I would like to create windows with grids (AKA rows and column of a table like

Re: Where is the most recent Tkinter information

2012-05-16 Thread Simon Cropper
/python_gui_programming.htm http://infohost.nmt.edu/tcc/help/pubs/tkinter/ http://www.tkdocs.com/tutorial/index.html http://www.ibm.com/developerworks/linux/library/l-tkprg/ -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software Workflow Guides

Re: Newby Python Programming Question

2012-05-14 Thread Simon Cropper
://pythonide.stani.be/). It and the bundled packages work really well. I note it works on Windows, Mac and Linux. -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software Workflow Guides

[issue14692] json.joads parse_constant callback not working anymore

2012-04-30 Thread Jakob Simon-Gaarde
Jakob Simon-Gaarde jako...@gmail.com added the comment: Ok, I accept that at some point it was decided to take away the call to parse_constant hook on true and false values. But how does it help me to know this, I still need to react on these values? It seems a little overkill to parse

[issue14692] json.joads parse_constant callback not working anymore

2012-04-29 Thread Jakob Simon-Gaarde
New submission from Jakob Simon-Gaarde jako...@gmail.com: Hi It seems like the parse_constant keyword parameter for registering a callback function is no longer called in Python 2.7. http://docs.python.org/library/json.html#json.load I am using Python 2.7.3 on Ubuntu 12.04 I have created

Re: inquery

2012-04-18 Thread Simon Cropper
this work -- e.g. GRASS, gvSIG, QGIS. All you need to do is convert the ArcMap file to something that can be used by ArcView or by one of these tools (e.g. shapefile). -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software Workflow Guides

Re: Fetching data from a HTML file

2012-03-23 Thread Simon Yan
/mailman/listinfo/python-list -- Regards, YeeYaa (Simon Yan) http://simonyan.fedorapeople.org/ -- http://mail.python.org/mailman/listinfo/python-list

[issue14196] Unhandled exceptions in pdb return value display

2012-03-04 Thread Simon Chopin
New submission from Simon Chopin chopin.si...@gmail.com: This issue occurred at least in Python 2.7, I haven't checked in other versions. When stepping on a return statement, pdb calls the return value __str__() method to display it at the end of the line. Only, it doesn't handle

[issue13742] Add a key parameter (like sorted) to heapq.merge

2012-01-16 Thread Simon Sapin
Simon Sapin simon.sa...@kozea.fr added the comment: heapq_merge_key_duplicate.patch is a new patch with two code path. It also updates the function’s docstring (which the previous patch did not). Raymond, do you think the speed is worth the DRY violation? -- Added file: http

[issue13742] Add a key parameter (like sorted) to heapq.merge

2012-01-09 Thread Simon Sapin
New submission from Simon Sapin simon.sa...@kozea.fr: Hi, The attached patch adds a 'key' optional parameter to the heapq.merge function that behaves as in sorted(). Related discussion: http://mail.python.org/pipermail/python-ideas/2012-January/013295.html This is my first contribution

[issue13742] Add a key parameter (like sorted) to heapq.merge

2012-01-09 Thread Simon Sapin
Simon Sapin simon.sa...@kozea.fr added the comment: The attached script benchmarks the basline (current implementation) against 3 new implementations, as suggested on http://mail.python.org/pipermail/python-ideas/2012-January/013296.html On my machine, the output is: merge_baseline

[issue13742] Add a key parameter (like sorted) to heapq.merge

2012-01-09 Thread Simon Sapin
Simon Sapin simon.sa...@kozea.fr added the comment: Oops, the patch to the documentation would also need 'New in 3.3: the key parameter', with the right Sphinx directive. But that depends on whether this change ends up in 3.3 or 3.4. Does 3.3 still get new features

[issue5441] Convenience API for timeit.main

2012-01-09 Thread Simon Sapin
Changes by Simon Sapin simon.sa...@kozea.fr: -- nosy: +ssapin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5441 ___ ___ Python-bugs-list mailing

[issue13742] Add a key parameter (like sorted) to heapq.merge

2012-01-09 Thread Simon Sapin
Simon Sapin simon.sa...@kozea.fr added the comment: Raymond, please have a look at merge_3 in benchmark_heapq_merge.py. It is implemented as you say. Do you think the speed is worth the code duplication? -- ___ Python tracker rep...@bugs.python.org

Re: Data acquisition

2011-10-25 Thread Paul Simon
where there is no hand shaking and would not be surprised to expect the same even with rs-232. Paul Simon -- http://mail.python.org/mailman/listinfo/python-list

[issue13194] zlib (de)compressobj copy() method missing on Windows

2011-10-16 Thread Simon Elén
New submission from Simon Elén pyt...@simon.user.lysator.liu.se: The zlib (de)compressobj copy() method is missing on Windows. Tested on Python 2.7.2 and 3.2.2 Windows binaries. I have not tried to build from source. (In the source code I can see a check for HAVE_ZLIB_COPY. Does the Windows

Create an index from a webpage

2011-09-08 Thread Simon Cropper
.). It is essentially a contents page or sitemap for the site. Interestingly, despite trying quite a few keyword combinations, I was unable to find such a script. Anyone have any ideas? -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software

Re: Create an index from a webpage [RANT, DNFTT]

2011-09-08 Thread Simon Cropper
links to HTML documents; ignore images, etc.). In subsequent notes to Thomas 'PointedEars'... I pointed to an example of the desired output here http://lxml.de/sitemap.html -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software

Re: Create an index from a webpage [RANT, DNFTT]

2011-09-08 Thread Simon Cropper
On 09/09/11 10:32, Rhodri James wrote: On Fri, 09 Sep 2011 00:40:42 +0100, Simon Cropper Ahem. You should expect a certain amount of ribbing after admitting that your Google-fu is weak. So is mine, but hey. I did not admit anything. I consider my ability to find this quite good actually

Re: Create an index from a webpage [RANT, DNFTT]

2011-09-08 Thread Simon Cropper
how I might address this requirement. If I create a python script I will post it on PyPI. As with all my work it will be released under the GPLv3 licence. Thanks for your help. -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software

Re: Create an index from a webpage [RANT, DNFTT]

2011-09-08 Thread Simon Cropper
On 09/09/11 12:59, Chris Angelico wrote: On Fri, Sep 9, 2011 at 12:43 PM, Simon Cropper simoncrop...@fossworkflowguides.com wrote: At present I am definitely getting the impression that my assumption that something like this' must out there', is wrong. I have found a XML-Sitemaps Generator

[issue12928] exec not woking in unittest

2011-09-07 Thread simon
New submission from simon ext-simon.stei...@nokia.com: works in 2.6, fails in 3.2.2 import unittest class MyTest(unittest.TestCase): def test_a(self): exec(compile(a = 1, '', 'single')) assert a == 1 if __name__ == '__main__': unittest.main() -- components

[issue12928] exec not woking in unittest

2011-09-07 Thread simon
simon ext-simon.stei...@nokia.com added the comment: seems i need to use exec(compile(a = 1, '', 'single'), globals()) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12928

[issue12928] exec not woking in unittest

2011-09-07 Thread simon
simon ext-simon.stei...@nokia.com added the comment: Can't get this one working: import unittest class MyTest(unittest.TestCase): def test_a(self): b = 1 exec(compile(a = b + 1, '', 'single')) assert a == 2 if __name__ == '__main__': unittest.main

Hello, and request for help with 'dynamic grids'

2011-09-05 Thread Simon Cropper
any table can be viewed? -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software Workflow Guides Introduction http://www.fossworkflowguides.com GIS

Re: Hello, and request for help with 'dynamic grids'

2011-09-05 Thread Simon Cropper
On 05/09/11 17:19, Steven D'Aprano wrote: On Mon, 5 Sep 2011 03:18 pm Simon Cropper wrote: I am looking for the ability to create dynamic grids in a window but can't for the life of me find how to do this. What GUI toolkit are you using? I have looked at wxGlade, Boa Constructor

Re: Hello, and request for help with 'dynamic grids'

2011-09-05 Thread Simon Cropper
, but the driver is an un-maintained draft). I also believe that the 'base' component in libreoffice/openoffice is a java implementation not python. -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software Workflow Guides

Re: Hello, and request for help with 'dynamic grids'

2011-09-05 Thread Simon Cropper
databases not unknown ones. -- Cheers Simon Simon Cropper - Open Content Creator / Website Administrator Free and Open Source Software Workflow Guides Introduction http://www.fossworkflowguides.com GIS Packages

Re: Hello, and request for help with 'dynamic grids'

2011-09-05 Thread Simon Cropper
On 06/09/11 00:40, alex23 wrote: On Sep 5, 3:18 pm, Simon Croppersimoncrop...@fossworkflowguides.com wrote: My investigations have generally found that windows/forms/data entry screen can be created for a specific table or view, but these are hard-wired during development. Is there anyway

Re: testing if a list contains a sublist

2011-08-20 Thread Simon Forman
(a) Cheers, ~Simon -- http://mail.python.org/mailman/listinfo/python-list

[issue444582] Finding programs in PATH, adding shutil.which

2011-08-08 Thread Simon Law
Changes by Simon Law sfl...@sfllaw.ca: -- nosy: +sfllaw ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue444582 ___ ___ Python-bugs-list mailing list

[issue12688] ConfigParser.__init__(iterpolation=None) documentation != behavior

2011-08-03 Thread John Simon
New submission from John Simon j...@johnsoft.com: The ConfigParser docs say that when __init__ is called with interpolation=None, no interpolation occurs. But when this is done in Python 3.2.1, it actually results in an AttributeError upon getting or setting a value, due to self

[issue10469] test_socket fails using Visual Studio 2010

2011-07-26 Thread Simon Buchan
Simon Buchan simon.buchan...@gmail.com added the comment: Confirming this patch fixes the test_aynsc* tests in my VS10 build. Shouldn't it swap all WSA* defines to protect against this in the future, though? Alternatively, should the check for WSA* codes existing be in Lib\asyncore.py

[issue12590] First line and cursor not visible when opening files

2011-07-26 Thread Simon Forman
Simon Forman forman.si...@gmail.com added the comment: You're very welcome. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12590 ___ ___ Python

[issue12590] First line and cursor not visible when opening files

2011-07-19 Thread Simon Forman
New submission from Simon Forman forman.si...@gmail.com: In IDLE if you open a file that is longer than the editor window the first line, with the cursor, is scrolled off the top of the window making it appear as though the file begins at the second line. This can be fixed by adding 'text.see

[issue8093] IDLE processes don't close

2011-06-21 Thread Simon
Simon simon.buchan...@gmail.com added the comment: Not sure if this is related, but for me none of the F5 processes (command line pythonw.exe -c __import__('idlelib.run').run.main(True) num) ever exit on either 2.7.2 or 3.2.1rc1. -- nosy: +Simon

[issue12345] Add math.tau

2011-06-16 Thread Simon Baird
Changes by Simon Baird simon.ba...@gmail.com: -- nosy: +sbaird ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12345 ___ ___ Python-bugs-list

Re: Abandoning Python

2011-05-22 Thread Brendan Simon (eTRIX)
On 23/05/11 7:17 AM, python-list-requ...@python.org wrote: Subject: Re: Abandoning Python From: John Lee j...@pobox.com Date: Sun, 22 May 2011 21:13:44 + (UTC) Have you looked at Falcon (http://www.falconpl.org/)? It seems to have a lot of what you are looking for. I'm

Python3 designed right (was: PYTHONPATH)

2011-04-18 Thread Brendan Simon (eTRIX)
On 19/04/2011 2:15 AM, python-list-requ...@python.org wrote: Subject: Re: PYTHONPATH From: MRAB pyt...@mrabarnett.plus.com Date: Mon, 18 Apr 2011 16:31:31 +0100 To: python-list@python.org On 18/04/2011 05:37, harrismh777 wrote: [snip] In retrospect, in many ways this is why I am relatively

Re: [ANN] Python 2.5.6 Release Candidate 1

2011-04-18 Thread Brendan Simon (eTRIX)
On 19/04/2011 9:05 AM, python-list-requ...@python.org wrote: Am 18.04.2011 09:59, schrieb Werner F. Bruhin: On 04/17/2011 11:57 PM, Martin v. Löwis wrote: http://www.python.org/2.5.6 If there is an official release of source (e.g. 2.5.5 and 2.5.6) why aren't binaries produced

Python benefits over Cobra

2011-04-05 Thread Brendan Simon (eTRIX)
I just came across the Cobra language, which appears to be heavily influenced by Python (and other languages). The pitch sounds great. It's supposed to have: 1. Quick, expressive coding 2. Fast execution 3. Static and dynamic binding 4. Language level support for quality

Re: Python benefits over Cobra

2011-04-05 Thread Brendan Simon
On 05-Apr-11 06:22 AM, Brendan Simon (eTRIX) wrote: Any other arguments where Python has benefits over Cobra ?? Cheers, Brendan. Two questions: 1. Is Cobra Open Source? 2. The blog ended on October, did he run out of steam? I liked the '.', in place of '.self

Re: Parsing numeric ranges

2011-02-25 Thread Simon Brunning
: from_revision, _, to_revision = revision.partition('-') for revision_in_range in range(int(from_revision), int(to_revision)+1): yield revision_in_range else: yield int(revision) -- Cheers, Simon B. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython in the context of Eclipse

2011-02-20 Thread Brendan Simon (eTRIX)
. -- Brendan Simon www.etrix.com.au -- http://mail.python.org/mailman/listinfo/python-list

Re: multiple values for keyword argument

2011-01-31 Thread Simon Brunning
to be interpreted anyway.  And the other email equating to C's argv, etc. - now I get it. It's perfectly legal to use a name other than self. It's alo perfectly legal never to wash - and you won't make any friends that way either. -- Cheers, Simon B. -- http://mail.python.org/mailman/listinfo/python

Re: WxPython versus Tkinter.

2011-01-26 Thread Brendan Simon (eTRIX)
Since it seems the python motto is Batteries included, then it would seem to me that wxPython is the natural fit as it also has Batteries included (e.g. accessibility, native look-n-feel, mature and evolving, can produce simple or complex gui programs, etc, etc). -- Brendan Simon

Re: list 2 dict?

2011-01-02 Thread Simon Brunning
? grouper() is a recipe, not part of the itertools module. -- Cheers, Simon B. -- http://mail.python.org/mailman/listinfo/python-list

Re: remote control firefox with python

2010-11-29 Thread Simon Brunning
On 28 November 2010 15:22, News123 news1...@free.fr wrote: I wondered whether there is a simpe way to 'remote' control fire fox with python. Selenium might be worth a look, too: http://code.google.com/p/selenium/wiki/PythonBindings -- Cheers, Simon B. -- http://mail.python.org/mailman

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-24 Thread Simon Cross
Simon Cross hodges...@gmail.com added the comment: My vote is that this bug be closed and a new feature request be opened. Failing that, it would be good to have a concise description of what else we would like done (and the priority should be downgraded, I guess

Re: Glob in python which supports the ** wildcard

2010-11-23 Thread Simon Brunning
support the recursive ** wildcard. Is there any 3rd party glob function which do support **? This does roughly what you want: http://code.activestate.com/recipes/499305-locating-files-throughout-a-directory-tree/ -- Cheers, Simon B. -- http://mail.python.org/mailman/listinfo/python-list

Re: Glob in python which supports the ** wildcard

2010-11-23 Thread Simon Brunning
: for filename in locate(*.js, /var/name/): print filename Adding support for ** is left as an exercise for the reader. -- Cheers, Simon B. -- http://mail.python.org/mailman/listinfo/python-list

[issue4236] Crash when importing builtin module during interpreter shutdown

2010-11-20 Thread Simon Cross
Simon Cross hodges...@gmail.com added the comment: I'm attaching a patch to relax the check in PyModule_Create2 as suggested by the Amaury (http://bugs.python.org/issue4236#msg75409). The patch uses PyThreadState_Get()-interp-modules == NULL to determine whether the import machinery has been

[issue2986] difflib.SequenceMatcher not matching long sequences

2010-11-20 Thread Simon Cross
Simon Cross hodges...@gmail.com added the comment: I made the minor changes needed to get Eli Bendersky's patch to apply against 3.2. Diff attached. -- nosy: +hodgestar Added file: http://bugs.python.org/file19675/issue2986.fix32.5.patch ___ Python

[issue8647] PyUnicode_GetMax is undocumented

2010-11-20 Thread Simon Cross
Simon Cross hodges...@gmail.com added the comment: This issue is subsumed by #10435 and can probably be closed as a duplicated. -- nosy: +hodgestar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8647

[issue8646] PyUnicode_EncodeDecimal is undocumented

2010-11-20 Thread Simon Cross
Simon Cross hodges...@gmail.com added the comment: This issue is subsumed by #10435 and can probably be closed as a duplicated. -- nosy: +hodgestar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8646

[issue8645] PyUnicode_AsEncodedObject is undocumented

2010-11-20 Thread Simon Cross
Simon Cross hodges...@gmail.com added the comment: This issue is subsumed by #10435 and can probably be closed as a duplicated. -- nosy: +hodgestar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8645

<    1   2   3   4   5   6   7   8   9   10   >