[issue1667546] Time zone-capable variant of time.localtime

2012-06-13 Thread Paul Boddie
Paul Boddie p...@boddie.org.uk added the comment: On Wednesday 13 June 2012 23:51:25 Alexander Belopolsky wrote: Alexander Belopolsky alexander.belopol...@gmail.com added the comment: I've simplified Paul's patch by removing timegm and mktimetz functions. Also, platforms that don't support

[issue2124] xml.sax and xml.dom fetch DTDs by default

2012-01-13 Thread Paul Boddie
Paul Boddie p...@boddie.org.uk added the comment: Note that Python 3 provided a good opportunity for doing the minimal amount of work here - just stop things from accessing remote DTDs - but I imagine that even elementary standard library improvements of this kind weren't made (let alone

[issue762963] timemodule.c: Python loses current timezone

2011-06-14 Thread Paul Boddie
Paul Boddie p...@boddie.org.uk added the comment: I don't understand how this bug and its patches are still active. It's difficult for me to remember what I was doing in early 2007 when I started working on issue #1667546, but I can well imagine that it was in response to this and a number

[issue1667546] Time zone-capable variant of time.localtime

2010-06-05 Thread Paul Boddie
Paul Boddie p...@boddie.org.uk added the comment: Speaking for myself, I'm not sure whether I'm really the person to push this further, at least, although others may see it as a worthy sprinting topic. In principle, adding the extra fields is the right thing to do, merely because it exposes

Re: Picking a license

2010-05-15 Thread Paul Boddie
On 15 Mai, 04:20, Lawrence D'Oliveiro l...@geek- central.gen.new_zealand wrote: In message a26e8cac-6561-40f6-ae3f-cfe176ecb...@l31g2000yqm.googlegroups.com, Paul Boddie wrote: Although people can argue that usage of the GPL prevents people from potentially contributing because they would

Re: Picking a license

2010-05-15 Thread Paul Boddie
On 15 Mai, 03:46, Patrick Maupin pmau...@gmail.com wrote: On May 14, 6:52 pm, Paul Boddie p...@boddie.org.uk wrote: And suggesting that people have behavioural disorders (Or because have OCD?) might be a source of amusement to you, or may be a neat debating trick in certain circles you

Re: Picking a license

2010-05-14 Thread Paul Boddie
On 13 Mai, 22:10, Patrick Maupin pmau...@gmail.com wrote: [...] Just to deal with your Ubuntu high horse situation first, you should take a look at the following for what people regard to be the best practices around GPL-licensed software distribution:

Re: Picking a license

2010-05-14 Thread Paul Boddie
On 14 Mai, 03:56, a...@pythoncraft.com (Aahz) wrote: IMO this only makes sense if one agrees that people should not be allowed to sell software for money.  Absent that agreement, your argument about freedom seems rather limited. You'll have to explain this to me because I don't quite follow

Re: Picking a license

2010-05-14 Thread Paul Boddie
On 14 Mai, 05:35, Patrick Maupin pmau...@gmail.com wrote: I mean, it's in English and very technically precise, but if you follow all the references, you quickly come to realize that the license is a patch to the GPL. It is a set of exceptions applied to version 3 of the GPL, done this way so

Re: Picking a license

2010-05-14 Thread Paul Boddie
On 14 Mai, 09:08, Carl Banks pavlovevide...@gmail.com wrote: On May 13, 10:59 pm, Steven D'Aprano st...@remove-this-cybersource.com.au wrote: On Thu, 13 May 2010 17:18:47 -0700, Carl Banks wrote: 2. Reimplment the functionality seperately (*cough* PySide) Yes. So what? In what possible

Re: Picking a license

2010-05-14 Thread Paul Boddie
On 14 Mai, 17:37, Patrick Maupin pmau...@gmail.com wrote: Before, you were busy pointing me at the GPL FAQ as authoritative. No, the licence is the authority, although the FAQ would probably be useful to clarify the licence author's intent in a litigation environment. [Fast-forward through the

Re: Picking a license

2010-05-14 Thread Paul Boddie
On 14 Mai, 19:00, Patrick Maupin pmau...@gmail.com wrote: Would you have agreed had he had said that MatLab's license doesn't do much good and assigned the same sort of meaning to that statement, namely that the MatLab license prevented enough motivated people from freely using MatLab in ways

Re: Picking a license

2010-05-14 Thread Paul Boddie
On 14 Mai, 19:15, Patrick Maupin pmau...@gmail.com wrote: On May 14, 11:48 am, Paul Boddie p...@boddie.org.uk wrote: Section 3 of GPLv2 (and section 6(d) of GPLv3 reads similarly): If distribution of executable or object code is made by offering access to copy from a designated place

Re: Picking a license

2010-05-14 Thread Paul Boddie
On 14 Mai, 20:36, Patrick Maupin pmau...@gmail.com wrote: That statement was made in the context of why Carl doesn't use GPL- licensed *libraries*.  He and I have both explained the difference between libraries and programs multiple times, not that you care. Saying that GPL-licensed

Re: Picking a license

2010-05-14 Thread Paul Boddie
On 14 Mai, 22:12, Patrick Maupin pmau...@gmail.com wrote: I *obviously* was explaining that projects which *aren't* marginal, such as PyQt and MatLab, are the *only* kinds of projects that would be rewritten for a simple license change. As far as your comments about PyQt proving out the

Re: Picking a license

2010-05-14 Thread Paul Boddie
On 14 Mai, 21:14, Patrick Maupin pmau...@gmail.com wrote: If Joe downloads and burns a CD for his friend, he may not have the sources and may not have any intention of getting them, and probably didn't provide a written offer.  What you're ignoring for the moment is my whole point, that

Re: Picking a license

2010-05-14 Thread Paul Boddie
On 14 Mai, 21:18, Ed Keith e_...@yahoo.com wrote: The GPL is fine when all parties concern understand what source code is and what to do with it. But when you add people like my father to the loop if gets very ugly very fast. Sure, and when I'm not otherwise being accused of pushing one

Re: Picking a license

2010-05-13 Thread Paul Boddie
On 13 Mai, 01:36, Patrick Maupin pmau...@gmail.com wrote: Once the court reaches that conclusion, it would only be a tiny step to find that the FSF's attempt to claim that clisp infringes the readline copyright to be a misuse of that same readline copyright. See, e.g. LaserComb v Reynolds,

Re: Picking a license

2010-05-13 Thread Paul Boddie
On 13 Mai, 01:58, Patrick Maupin pmau...@gmail.com wrote: On May 12, 6:15 pm, Paul Boddie p...@boddie.org.uk wrote: Right. The full cost of software that probably cost them nothing monetarily and which comes with all the sources, some through a chain of distribution and improvement which

Re: Picking a license

2010-05-12 Thread Paul Boddie
. Otherwise the following text would be logically inconsistent with such claims: [...] On May 11, 5:24 am, Paul Boddie p...@boddie.org.uk wrote: Again, you have to consider the intent of the licensing: that some software which links to readline results in a software system that should offer

Re: Picking a license

2010-05-12 Thread Paul Boddie
On 11 Mai, 23:02, Patrick Maupin pmau...@gmail.com wrote: Huh? Permissive licenses offer much better certainty for someone attempting a creative mash-up.  Different versions of the Apache license don't conflict with each other.  If I use an MIT-licensed component, it doesn't attempt to make

Re: Picking a license

2010-05-12 Thread Paul Boddie
On 11 Mai, 22:50, Patrick Maupin pmau...@gmail.com wrote: On May 11, 5:34 am, Paul Boddie p...@boddie.org.uk wrote: Yes, *if* you took it. He isn't forcing you to take it, though, is he? No,  but he said a lot of words that I didn't immediately understand about what it meant to be free

Re: Picking a license

2010-05-12 Thread Paul Boddie
On 12 Mai, 16:45, Patrick Maupin pmau...@gmail.com wrote: On May 12, 7:43 am, Paul Boddie p...@boddie.org.uk wrote: Thus, owned my soul joins holy war and Bin Laden on the list. That rhetorical toolbox is looking pretty empty at this point. Not emptier than you analogy toolbox

Re: Picking a license

2010-05-12 Thread Paul Boddie
On 12 Mai, 16:10, Patrick Maupin pmau...@gmail.com wrote: On May 12, 7:10 am, Paul Boddie p...@boddie.org.uk wrote: What the licence asks you to do and what the author of the licence wants you to do are two separate things. But the whole context was about what RMS wanted me to do and you

Re: Picking a license

2010-05-12 Thread Paul Boddie
On 12 Mai, 21:02, Patrick Maupin pmau...@gmail.com wrote: On May 12, 1:00 pm, Paul Boddie p...@boddie.org.uk wrote: [Quoting himself...] Not least because people are only obliged to make their work available under a GPL-compatible licence so that people who are using the combined work may

Re: Picking a license

2010-05-12 Thread Paul Boddie
On 12 Mai, 20:29, Patrick Maupin pmau...@gmail.com wrote: But nobody's whining about the strings attached to the software.  Just pointing out why they sometimes won't use a particular piece of software, and pointing out that some other people (e.g. random Ubuntu users) might not understand

Re: Picking a license

2010-05-12 Thread Paul Boddie
On 11 Mai, 14:12, Ed Keith e_...@yahoo.com wrote: --- On Mon, 5/10/10, Ben Finney ben+pyt...@benfinney.id.au wrote: So I object to muddying the issue by misrepresenting the source of that force. Whatever force there is in copyright comes from law, not any free software license. You are

Re: Picking a license

2010-05-11 Thread Paul Boddie
On 10 Mai, 17:01, Patrick Maupin pmau...@gmail.com wrote: I'll be charitable and assume the fact that you can make that statement without apparent guile merely means that you haven't read the post I was referring to: http://www.gnu.org/philosophy/why-not-lgpl.html Of course I have read it,

Re: Picking a license

2010-05-11 Thread Paul Boddie
On 10 Mai, 20:36, Patrick Maupin pmau...@gmail.com wrote: I've addressed this before.  Aahz used a word in an accurate, but to you, inflammatory, sense, but it's still accurate -- the man *would* force you to pay for the chocolate if you took it. Yes, *if* you took it. He isn't forcing you to

Re: Picking a license

2010-05-11 Thread Paul Boddie
On 11 Mai, 15:00, Lie Ryan lie.1...@gmail.com wrote: Come on, 99%  of the projects released under GPL did so because they don't want to learn much about the law; they just need to release it under a certain license so their users have some legal certainty. Yes, this is frequently the case.

Re: Picking a license

2010-05-10 Thread Paul Boddie
On 10 Mai, 03:09, Patrick Maupin pmau...@gmail.com wrote: On May 9, 6:39 pm, Paul Boddie p...@boddie.org.uk wrote: but if they aren't pitching it directly at you, why would you believe that they are trying to change your behaviour? Because I've seen people specifically state

Re: Picking a license

2010-05-10 Thread Paul Boddie
On 10 Mai, 08:31, Carl Banks pavlovevide...@gmail.com wrote: On May 9, 10:08 am, Paul Boddie p...@boddie.org.uk wrote: Oh sure: the GPL hurts everyone, like all the companies who have made quite a lot of money out of effectively making Linux the new enterprise successor to Unix, plus all

Re: Picking a license

2010-05-10 Thread Paul Boddie
On 10 Mai, 17:06, a...@pythoncraft.com (Aahz) wrote: In article 074b412a-c2f4-4090-a52c-4d69edb29...@d39g2000yqa.googlegroups.com, Paul Boddie  p...@boddie.org.uk wrote: Actually, the copyleft licences don't force anyone to give back changes: they oblige people to pass on changes. IMO

Re: Picking a license

2010-05-09 Thread Paul Boddie
On 9 Mai, 09:05, Carl Banks pavlovevide...@gmail.com wrote: Bottom line is, GPL hurts everyone: the companies and open source community.  Unless you're one of a handful of projects with sufficient leverage, or are indeed a petty jealous person fighting a holy war, the GPL is a bad idea and

Re: Picking a license

2010-05-09 Thread Paul Boddie
On 9 Mai, 07:09, Patrick Maupin pmau...@gmail.com wrote: See, for example, Apple's support of BSD, Webkit, and LLVM.  Apple is not a do no evil corporation, and their contributions back to these packages are driven far more by hard-nosed business

Re: Picking a license

2010-05-09 Thread Paul Boddie
On 8 Mai, 22:05, Patrick Maupin pmau...@gmail.com wrote: On May 8, 2:38 pm, Steven D'Aprano st...@remove-this- No, you don't *owe* them anything, but this brings us back to Ben's original post. If you care about the freedoms of Cisco's customers as much as you care about the freedoms of

Re: Picking a license

2010-05-09 Thread Paul Boddie
On 9 Mai, 19:55, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: Patrick said that Apple is NOT a do no evil company. Yes, apologies to Patrick for reading something other than what he wrote. I suppose I've been reading too many Apple apologist commentaries of late and probably

Re: Picking a license

2010-05-09 Thread Paul Boddie
On 9 Mai, 21:07, Patrick Maupin pmau...@gmail.com wrote: On May 9, 1:02 pm, Paul Boddie p...@boddie.org.uk wrote: People often argue that the GPL only cares about the software's freedom, not the recipient's freedom, which I find to be a laughable claim because if one wanted to point

Re: Picking a license

2010-05-09 Thread Paul Boddie
On 9 Mai, 21:55, Patrick Maupin pmau...@gmail.com wrote: On May 9, 12:08 pm, Paul Boddie p...@boddie.org.uk wrote: Oh sure: the GPL hurts everyone, like all the companies who have made quite a lot of money out of effectively making Linux the new enterprise successor to Unix, plus all

Re: Picking a license

2010-05-09 Thread Paul Boddie
On 10 Mai, 00:02, Patrick Maupin pmau...@gmail.com wrote: You just answered your own question.  It's pathetic to try to change people's behavior by offering them something worthless if they change their license to match yours.  (I'm not at all saying that all GPL code is worthless, but I have

[issue762963] timemodule.c: Python loses current timezone

2010-04-16 Thread Paul Boddie
Paul Boddie p...@boddie.org.uk added the comment: Well, this still doesn't work for me. I'm running Kubuntu 8.04 (libc6 package version 2.7-10ubuntu5) and reside in the CEST time zone, yet attempting to display the time zone always seems to give +. Here are the failing tests, too

Re: DreamPie - The Python shell you've always dreamed about!

2010-02-21 Thread Paul Boddie
On 21 Feb, 17:32, Mensanator mensana...@aol.com wrote: On Feb 21, 10:30 am, Mensanator mensana...@aol.com wrote: What versions of Python does it suuport? What OS are supported? From the Web site referenced in the announcement (http:// dreampie.sourceforge.net/): # Supports Python 2.5,

Re: The future of frozen types as the number of CPU cores increases

2010-02-21 Thread Paul Boddie
On 21 Feb, 03:00, sjdevn...@yahoo.com sjdevn...@yahoo.com wrote: On Feb 18, 2:58 pm, John Nagle na...@animats.com wrote:     Multiple processes are not the answer.  That means loading multiple copies of the same code into different areas of memory.  The cache miss rate goes up accordingly.

[issue7942] Inconsistent error types/messages for __len__ (and __nonzero__) between old and new-style classes

2010-02-18 Thread Paul Boddie
Paul Boddie p...@boddie.org.uk added the comment: Actually, in the issue reported, the initial problem occurs in the evaluation of an object in a boolean context (and the subsequent problem occurs with an explicit len invocation): http://www.selenic.com/pipermail/mercurial/2010-February

[issue7942] Inconsistent error types/messages for __len__ between old and new-style classes

2010-02-17 Thread Paul Boddie
Paul Boddie p...@boddie.org.uk added the comment: I don't disagree that OverflowError describes what's happening, but the need to convert to an int in the first place is a detail of the machine - you'd have to know that this is a limitation of whatever internal protocol CPython implements

Re: Python Optimization

2010-02-16 Thread Paul Boddie
On 14 Feb, 19:41, Steve Howell showel...@yahoo.com wrote: I ditto the profiling recommendation. http://docs.python.org/library/profile.html (To the original inquirer...) Try this, too: http://wiki.python.org/moin/PythonSpeed/Profiling If you have the tools, it's a lot easier than scanning

[issue7942] Inconsistent error types/messages for __len__ between old and new-style classes

2010-02-16 Thread Paul Boddie
New submission from Paul Boddie p...@boddie.org.uk: As noted here: http://www.selenic.com/pipermail/mercurial/2010-February/030068.html This is probably documented somewhere, and there may even be a good reason for the difference, but old-style classes raise TypeError when __len__ returns

[issue7942] Inconsistent error types/messages for __len__ between old and new-style classes

2010-02-16 Thread Paul Boddie
Paul Boddie p...@boddie.org.uk added the comment: I would have expected a more accurate error message for the new-style class. In the original message which brought this to my attention, the cause was not particularly obvious: http://www.selenic.com/pipermail/mercurial/2010-February/030066

Re: python 3's adoption

2010-01-29 Thread Paul Boddie
On 29 Jan, 06:56, Terry Reedy tjre...@udel.edu wrote: On 1/28/2010 6:47 PM, Paul Boddie wrote: What would annoy me if I used Python 3.x would be the apparent lack of the __cmp__ method for conveniently defining comparisons between instances of my own classes. Having to define all the rich

Re: python 3's adoption

2010-01-28 Thread Paul Boddie
On 27 Jan, 13:26, Xah Lee xah...@gmail.com wrote: So, for practical reasons, i think a “key” parameter is fine. But chopping off “cmp” is damaging. When your data structure is complex, its order is not embedded in some “key”. Taking out “cmp” makes it impossible to sort your data structure.

Re: I really need webbrowser.open('file://') to open a web browser

2010-01-27 Thread Paul Boddie
On 27 Jan, 23:00, Mitchell L Model mlm...@comcast.net wrote: I suppose that since a file: URL is not, strictly speaking, on the   web, that it shouldn't be opened with a web browser. But anything with a URL is (or should be regarded as being) on the Web. It may not be anything more than a

Re: I really need webbrowser.open('file://') to open a web browser

2010-01-16 Thread Paul Boddie
On 15 Jan, 21:14, Timur Tabi ti...@freescale.com wrote: After reading several web pages and mailing list threads, I've learned that the webbrowser module does not really support opening local files, even if I use a file:// URL designator.  In most cases, webbrowser.open() will indeed open the

Re: Author of a Python Success Story Needs a Job!

2010-01-14 Thread Paul Boddie
On 28 Des 2009, 08:32, Andrew Jonathan Fine eternalsqu...@hotmail.com wrote:   As a hobby to keep me sane, I am attempting to retrain part time at home as a jeweler and silversmith, and I sometimes used Python for generating and manipulating code for CNC machines. It occurs to me

Re: I have a cross platform os.startfile but I need to asociate files with xdg-open in linux how do I do that??

2009-12-16 Thread Paul Boddie
On 16 Des, 17:03, eric_dex...@msn.com eric_dex...@msn.com wrote: #this should be a cross platform example of os.startfile ( startfile ) #for windows and linux.  this is the first version and #linux, mac, other os's commands for exceptions to the #rule would be appreciated.  at some point this

Re: Imitating tail -f

2009-11-30 Thread Paul Boddie
On 22 Nov, 05:10, exar...@twistedmatrix.com wrote: tail -f is implemented by sleeping a little bit and then reading to see if there's anything new. This was the apparent assertion behind the 99 Bottles concurrency example: http://wiki.python.org/moin/Concurrency/99Bottles However, as I

Re: New to python

2009-11-30 Thread Paul Boddie
On 30 Nov, 18:14, inhahe inh...@gmail.com wrote: i don't think structs technically exist in Python (though they exist in C/C++), but you could always use a plain class like a struct, like this, for a simple example: class Blah:   pass b = blah() b.eyecolor = brown [...] Yes, a bare

Re: pointless musings on performance

2009-11-26 Thread Paul Boddie
On 25 Nov, 13:11, Antoine Pitrou solip...@pitrou.net wrote: When you say executing each kind of bytecode instruction, are you talking about the overhead of bytecode dispatch and operand gathering, or the total cost including doing the useful work? Strip away any overhead (dispatch, operand

Re: pointless musings on performance

2009-11-24 Thread Paul Boddie
On 24 Nov, 16:11, Antoine Pitrou solip...@pitrou.net wrote: [JUMP_IF_FALSE] It tries to evaluate the op of the stack (here nonevar) in a boolean context (which theoretically involves calling __nonzero__ on the type) and then jumps if the result is False (rather than True). [...] As

Re: pointless musings on performance

2009-11-24 Thread Paul Boddie
On 24 Nov, 19:25, Antoine Pitrou solip...@pitrou.net wrote: Sorry, I have trouble parsing your sentence. Do you mean bytecode interpretation overhead is minimal compared to the cost of actual useful work, or the contrary? (IMO both are wrong by the way) I'm referring to what you're talking

Re: python simply not scaleable enough for google?

2009-11-17 Thread Paul Boddie
On 17 Nov, 14:48, Aaron Watters aaron.watt...@gmail.com wrote: ... and I still have an issue with the whole Python is slow meme.  The reason NASA doesn't build a faster Python is because Python *when augmented with FORTRAN libraries that have been tested and optimized for decades and are

Re: python simply not scaleable enough for google?

2009-11-16 Thread Paul Boddie
On 16 Nov, 05:51, sturlamolden sturlamol...@yahoo.no wrote: NASA can find money to build a space telescope and put it in orbit. They don't find money to create a faster Python, which they use for analyzing the data. Is the analysis in Python really what slows it all down? Google is a

Re: python simply not scaleable enough for google?

2009-11-15 Thread Paul Boddie
On 15 Nov, 09:30, Terry Reedy tjre...@udel.edu wrote: greg wrote: [Shed Skin] These restrictions mean that it isn't really quite Python, though. Python code that only uses a subset of features very much *is* Python code. The author of ShedSkin makes no claim that is compiles all Python

Re: ANN: WHIFF += Mako treeview url rewrites

2009-10-28 Thread Paul Boddie
On 27 Okt, 18:26, Aaron Watters aaron.watt...@gmail.com wrote: Alex sent me the traceback (thanks!) and after consulting the logs and the pages I figured out that the version of Firefox in question was not ignoring my javascript links like it should.  Instead FF was interpreting them as HTTP

Re: ANN: WHIFF += Mako treeview url rewrites

2009-10-27 Thread Paul Boddie
On 27 Okt, 03:49, Aaron Watters aaron.watt...@gmail.com wrote: WHIFF now includes components for implementing tree views for web navigation panes or other purposes, either using AJAX or frame reloads.  Try the GenBank demo at http://aaron.oirt.rutgers.edu/myapp/GenBankTree/index This looks

Re: how to write a unicode string to a file ?

2009-10-16 Thread Paul Boddie
On 16 Okt, 01:49, Benjamin Kaplan benjamin.kap...@case.edu wrote: Unicode is an abstract concept, and as such can't actually be written to a file. To write Unicode to a file, you have to specify an encoding so Python has actual bytes to write. If Python doesn't know what encoding it should

Re: cx_freeze problem on Ubuntu

2009-10-02 Thread Paul Boddie
On 1 Okt, 16:08, John j...@nospam.net wrote: I downloaded the cx_freeze source code fromhttp://cx-freeze.sourceforge.net/into a directory. [...]  From here:http://linux.softpedia.com/get/Programming/Assembler-Tools/cx-Freeze-... the directions state: What about the documentation

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Paul Boddie
On 25 Sep, 08:15, Olof Bjarnason olof.bjarna...@gmail.com wrote: Hi! I write small games in Python/PyGame. I want to find a way to make a downloadable package/installer/script to put on my webpage, especially for Ubuntu users. I've skimmed a couple of tutorials on how to generate

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Paul Boddie
On 25 Sep, 09:26, Donn donn.in...@gmail.com wrote: You could use distutils (setup.py) and include a readme that explains what apt-get commands to use to install pygame, etc. Generally it's better to *not* include the kitchen-sink with your apps; rather expect the user to have those libraries

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Paul Boddie
On 25 Sep, 13:21, Olof Bjarnason olof.bjarna...@gmail.com wrote: I am thinking of two target audiences: 1. Early adopters/beta-testers. This would include:   - my non-computer-geek brother on a windows-machine. I'll go for py2exe.   - any non-geek visiting my blog using windows (py2exe) I'd

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Paul Boddie
On 25 Sep, 23:14, Olof Bjarnason olof.bjarna...@gmail.com wrote: So what approach do you suggest? I've gotten as far as understanding how to add menu-items to the Ubuntu menus, simple .desktop file format to do that. Yes, xdg-desktop-menu will probably do the trick. One could cheat and

Re: Is there a concerted effort afoot to improve the Python Wiki?

2009-09-21 Thread Paul Boddie
On 21 Sep, 02:52, s...@pobox.com wrote: I've noticed over the past few weeks a huge increase in the frequency of edits in the Python wiki.  Many of those are due to Carl Trachte's work on non-English pages about Python.  There are plenty of other pages going under the knife as well though.  Is

Re: python profiling for a XML parser program

2009-09-19 Thread Paul Boddie
On 19 Sep, 21:19, MacRules macru...@none.com wrote: Is there a python profiler just like for C program? And tell me which functions or modules take a long time. Can you show me URL or link on doing this task? Having already looked at combining Python profilers with KCachegrind (as suggested

Re: pyjamas pyv8run converts python to javascript, executes under command-line

2009-09-18 Thread Paul Boddie
On 18 Sep, 23:17, lkcl luke.leigh...@googlemail.com wrote: the pyjamas project is taking a slightly different approach to achieve this same goal: beat the stuffing out of the pyjamas compiler, rather than hand-write such large sections of code in pure javascript, and double-run regression

Re: OpenAnything

2009-09-17 Thread Paul Boddie
On 17 Sep, 23:24, kj no.em...@please.post wrote: In Dive Into Python, Mark Pilgrim offers the function openAnything that can open for reading anything (i.e. local files or URLs). I was wondering if there was already in the standard Python library an official version of this, that could not

Re: can python make web applications?

2009-09-16 Thread Paul Boddie
On 16 Sep, 18:31, lkcl luke.leigh...@googlemail.com wrote: http://pyjs.org/examples/timesheet/output/TimeSheet.html I get this error dialogue message when visiting the above page: TimeSheet undefined list assignment index out of range Along with the following in-page error, once the data has

Re: Problem with the inclusion of new files like lxml, django, numpy, etc.

2009-09-14 Thread Paul Boddie
On 14 Sep, 04:46, alex23 wuwe...@gmail.com wrote: joy99 subhakolkata1...@gmail.com wrote: What is the problem I am doing? Following the wrong installation instructions? The wrong instructions appear to come from this page: http://docs.djangoproject.com/en/dev/topics/install/ Those

Re: An assessment of the Unicode standard

2009-09-01 Thread Paul Boddie
On 30 Aug, 18:00, r rt8...@gmail.com wrote: Hold the phone Paul you are calling me a retarded bigot and i don't much appreciate that. I think you are completely misinterpreting my post. i and i ask you read it again especially this part... I didn't call you a retarded bigot, and yet I did

Re: An assessment of the Unicode standard

2009-09-01 Thread Paul Boddie
On 31 Aug, 00:28, r rt8...@gmail.com wrote: I said it before and i will say it again. I DONT CARE WHAT LANGUAGE WE USE AS LONG AS IT IS A MODERN LANGUAGE FOUNDED ON IDEALS OF SIMPLICITY [Esperanto] English is by far already the de-facto lingua franca throughout the world. You don't

Re: An assessment of the Unicode standard

2009-08-30 Thread Paul Boddie
On 30 Aug, 14:49, r rt8...@gmail.com wrote: It can be made better and if that means add/removing letters or redefining what a letter represents i am fine with that. I know first hand the hypocrisy of the English language. I am thinking more on the lines of English redux! Elsewhere in this

Re: ubuntu dist-packages

2009-08-27 Thread Paul Boddie
On 27 Aug, 15:27, Diez B. Roggisch de...@nospam.web.de wrote: You mean it's the problem of the python packaging that it can't deal with RPMs, debs, tgzs, OSX bundles, MSIs and put-in-the-next-big-packaging-thing-here? No, it's the problem of the Pythonic packaging brigade that package

Re: ubuntu dist-packages

2009-08-26 Thread Paul Boddie
On 26 Aug, 17:48, Jorgen Grahn grahn+n...@snipabacken.se wrote: Well, if you are thinking about Debian Linux, it's not as much ripping out as splitting into a separate package with a non-obvious name. Annoying at times, but hardly an atrocity. Indeed. Having seen two packages today which

Re: Help with libxml2dom

2009-08-19 Thread Paul Boddie
On 19 Aug, 13:55, Nuno Santos nuno.hespan...@gmail.com wrote: I have just started using libxml2dom to read html files and I have some questions I hope you guys can answer me. [...]   table = body.firstChild   table.nodeName u'text' #?! Why!? Shouldn't it be a table? (1) You answer this

Re: Social problems of Python doc [was Re: Python docs disappointing]

2009-08-18 Thread Paul Boddie
On 18 Aug, 05:19, ru...@yahoo.com wrote: Yes, I agree.  I should have mentioned this as an exception in my wikis suck diatribe.  Although it far better than most wiki's I've seen, it is still pretty easy to find signs of typical wiki-ness.  On the Documentation page my first click was on

Re: Diversity in Python (was Re: Need cleanup advice for multiline string)

2009-08-17 Thread Paul Boddie
On 17 Aug, 19:23, Jean-Michel Pichavant jeanmic...@sequans.com wrote: Are you suggesting this list reject part of the community regarding its sexual orientation, ethnicity, size, culture? If that was the case I'd like to know about it. Careful: you probably meant to write rejects, not reject.

Re: Social problems of Python doc [was Re: Python docs disappointing]

2009-08-13 Thread Paul Boddie
On 13 Aug, 16:05, ru...@yahoo.com wrote: All the above not withstanding, I too think a wiki is worth trying.  But without doing a lot more than just setting up a wiki, I sadly believe even a python.org supported wiki is doomed to failure. The ones on python.org seem to function reasonably

Re: Social problems of Python doc [was Re: Python docs disappointing]

2009-08-12 Thread Paul Boddie
On 12 Aug, 09:58, Steven D'Aprano ste...@remove.this.cybersource.com.au wrote: We know that there are problems. We've said repeatedly that corrections and patches are welcome. We've repeatedly told you how to communicate your answer to the question of what should be done. None of this is good

Re: Social problems of Python doc [was Re: Python docs disappointing]

2009-08-12 Thread Paul Boddie
On 12 Aug, 14:08, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: With tens of millions of web users, it's no surprise that Wikipedia can attract thousands of editors. But this does not apply to Python, which starts from a comparatively tiny population, primarily those interested

Re: Social problems of Python doc [was Re: Python docs disappointing]

2009-08-12 Thread Paul Boddie
On 12 Aug, 17:08, Steven D'Aprano st...@remove-this- cybersource.com.au wrote: On Wed, 12 Aug 2009 06:24:18 -0700, Paul Boddie wrote: What does the Python entry on Wikipedia have to do with editing the Python documentation in a Wiki? Good question. I was responding to you mentioning

Re: Social problems of Python doc [was Re: Python docs disappointing]

2009-08-11 Thread Paul Boddie
On 11 Aug, 23:50, ru...@yahoo.com wrote: However, were the Python docs site to provide a wiki, along with a mechanism to migrate suggestions developed on the wiki into the docs, it might well be a viable (and easier because of the wysiwyg effect) way of improving the docs.  As other have

Re: JavaScript toolkits (was Re: ANN: Porcupine Web Application Server 0.6 is released!)

2009-07-23 Thread Paul Boddie
On 23 Jul, 05:55, a...@pythoncraft.com (Aahz) wrote: In article 1c994086-8c58-488f-b3b3-6161c4b2b...@k30g2000yqf.googlegroups.com, Paul Boddie  p...@boddie.org.uk wrote: http://www.boddie.org.uk/python/XSLTools.html Thanks!  I'll take a look after OSCON. The JavaScript parts

Re: JavaScript toolkits (was Re: ANN: Porcupine Web Application Server 0.6 is released!)

2009-07-21 Thread Paul Boddie
On 20 Jul, 18:00, a...@pythoncraft.com (Aahz) wrote: Out of curiosity, are there any JavaScript toolkits that generate code that degrades gracefully when JavaScript is disabled? You mean Web toolkits which use JavaScript, I presume. I have written (and use myself) a toolkit/framework called

Re: psyco V2 beta2 benchmark

2009-07-10 Thread Paul Boddie
On 10 Jul, 04:54, Zac Burns zac...@gmail.com wrote: Where do you get this beta? I heard that Psyco V2 is coming out but can't find anything on their site to support this. I found the Subversion repository from the Psyco site: http://psyco.sourceforge.net/ -

Re: The meaning of = (Was: tough-to-explain Python)

2009-07-08 Thread Paul Boddie
On 8 Jul, 16:04, kj no.em...@please.post wrote:   identifier = expression and not to those like, for example,   identifier[expression] = expression or   identifier.identifier = expression The former are syntatic sugar for certain namespace modifications that leave objects unchanged.  

Re: IMPORTANT: I NEED TO HELP WITH ONE OF THE CORE DEVELOPERS

2009-06-25 Thread Paul Boddie
On 24 Jun, 15:22, Pegasus non...@nowhere.com wrote: I need help with an implementation of your interpreter under PSPE/PSP. There doesn't seem to be much of an intersection between the PSP and mainstream Python communities, so some more context may have been desirable here. [...] We believe

Re: Status of Python threading support (GIL removal)?

2009-06-19 Thread Paul Boddie
On 19 Jun, 21:41, Carl Banks pavlovevide...@gmail.com wrote: (Note: I'm not talking about releasing the GIL for I/O operations, it's not the same thing.  I'm talking about the ability to run computations on multiple cores at the same time, not to block in 50 threads at the same time.  

Re: Tool for browsing python code

2009-06-17 Thread Paul Boddie
On 16 Jun, 14:48, Lucas P Melo lukepada...@gmail.com wrote: Is there any tool for browsing python code? (I'm having a hard time trying to figure this out) Anything like cscope with vim would be great. Are you limiting your inquiry to text editors or IDEs, or are Web- based solutions also

Re: How to get the total size of a local hard disk?

2009-06-15 Thread Paul Boddie
On 15 Jun, 14:58, willgun will...@live.cn wrote: How to get the total size of a local hard disk? I mean total size,not free space. Which platform are you using? On a Linux-based system you might look at the contents of /proc/partitions and then, presumably with Python, parse the contents to

Re: unladen swallow: python and llvm

2009-06-08 Thread Paul Boddie
On 8 Jun, 12:13, bearophileh...@lycos.com wrote: The C code produced by ShedSkin is a bit hairy but it's 50 times more readable than the C jungle produced by Pyrex, where I have lost lot of time looking for the missing reference counts, etc. The C++ code produced by Shed Skin can actually

Re: Yet another unicode WTF

2009-06-05 Thread Paul Boddie
On 5 Jun, 03:18, Ron Garret rnospa...@flownet.com wrote: According to what I thought I knew about unix (and I had fancied myself a bit of an expert until just now) this is impossible.  Python is obviously picking up a different default encoding when its output is being piped to a file, but I

Re: Yet another unicode WTF

2009-06-05 Thread Paul Boddie
On 5 Jun, 11:51, Ben Finney ben+pyt...@benfinney.id.au wrote: Actually strings in Python 2.4 or later have the ‘encode’ method, with no need for importing extra modules: = $ python -c 'import sys; sys.stdout.write(u\u03bb\n.encode(utf-8))' λ $ python -c 'import sys;

  1   2   3   4   5   6   7   8   9   10   >