On Sat, Jan 10, 2009 at 1:32 PM, webcomm wrote:
> On Jan 9, 7:33 pm, John Machin wrote:
>> It is not impossible for a file with dummy data to have been
>> handcrafted or otherwise produced by a process different to that used
>> for a real-data file.
>
> I knew it was produced by the same process,
On Mon, Jan 12, 2009 at 1:13 PM, Laszlo Nagy wrote:
>
> Hi All,
>
> To make the long story short, I have a toy version of an ORB being
> developed, and the biggest problem is slow network speed over TCP/IP.
>
> There is an object called 'endpoint' on both sides, with incoming and
> outgoing messa
On Mon, Jan 12, 2009 at 4:34 PM, Steven D'Aprano
wrote:
> On Mon, 12 Jan 2009 00:38:20 -0600, Chris Mellon wrote:
>
>>> Why Google would deny access to services by unknown User Agents is
>>> beyond me - especially since in most cases User Agents strings are not
>
On Wed, Jan 28, 2009 at 10:05 AM, koranthala wrote:
> On Jan 28, 8:36 pm, Jean-Paul Calderone wrote:
>> On Wed, 28 Jan 2009 06:30:32 -0800 (PST), koranthala
>> wrote:
>> >On Jan 28, 7:10 pm, Jean-Paul Calderone wrote:
>> >> On Wed, 28 Jan 2009 02:02:57 -0800 (PST), koranthala
>> >> wrote:
>>
On Wed, Dec 3, 2008 at 11:42 PM, Warren DeLano <[EMAIL PROTECTED]> wrote:
>> > Why was it necessary to make "as" a reserved keyword?
>>
>> I can't answer for the Python developers as to why they *did* make it
>> a reserved word.
>>
>> But I can offer what I believe is a good reason why it *should*
On Thu, Dec 4, 2008 at 8:45 AM, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Thu, 04 Dec 2008 20:53:38 +1000, James Mills wrote:
>
>> Readability of your code becomes very important especially if you're
>> working with many developers over time.
>>
>> 1. Use sensible meaningful names.
>> 2. Don'
On Thu, Dec 4, 2008 at 1:10 PM, Warren DeLano <[EMAIL PROTECTED]> wrote:
>> Yet Another Python Troll (the ivory tower reference, as well as the
>> abrupt shift from complaining about keywords to multiprocessing), I
>> have to point out that Python does add new keywords, it has done so in
>> the pas
On Thu, Dec 4, 2008 at 2:11 PM, Warren DeLano <[EMAIL PROTECTED]> wrote:
>> I still would have to call your management of the problem considerably
>> into question - your expertise at writing mathematical software may
>> not be in question, but your skills and producing and managing a
>> software p
On Tue, Dec 9, 2008 at 6:39 AM, Paul Boddie <[EMAIL PROTECTED]> wrote:
> On 9 Des, 05:52, alex23 <[EMAIL PROTECTED]> wrote:
>>
>> From my perspective, it was less the original complaint and more the
>> sudden jump to "CPython is dead! The GIL sucks! Academic eggheads!"
>> that prompted the comparis
On Wed, Dec 10, 2008 at 6:30 AM, ff <[EMAIL PROTECTED]> wrote:
> Hi, I am writing an app which models growth of a system over time
> visually which is activated by button clicks, and when the loop
> finishes running i dont want any events [mainly clicking on buttons]
> that happened during the loop
On Thu, Dec 11, 2008 at 12:21 PM, walterbyrd wrote:
> On Dec 7, 12:35 pm, Andreas Waldenburger wrote:
>
>> Plze. Python 3 is shipping now, and so is 2.x, where x > 5. Python
>> 2 is going to be around for quite some time. What is everybody's
>> problem?
>
> A possible, potential, problem, cou
On Thu, Dec 11, 2008 at 9:43 AM, Joe Strout wrote:
> On Dec 10, 2008, at 10:19 PM, Nok wrote:
>
>> I can't get call-by-reference functions to work in SWIG...
>
> Python doesn't have any call-by-reference support at all [1], so I'm not
> surprised that a straight translation of the call-by-referenc
On Wed, Jan 7, 2009 at 9:50 AM, J Kenneth King wrote:
> Jonathan Gardner writes:
>
>> On Jan 6, 12:24 pm, J Kenneth King wrote:
>>> Jonathan Gardner writes:
>>> > On Jan 6, 8:18 am, sturlamolden wrote:
>>> >> On Jan 6, 4:32 pm, mark wrote:
>>>
>>> >> > I want to implement a internal DSL in Py
On Fri, Jan 9, 2009 at 9:05 AM, webcomm wrote:
> On Jan 9, 3:46 am, Carl Banks wrote:
>> The zipfile format is kind of brain dead, you can't tell where the end
>> of the file is supposed to be by looking at the header. If the end of
>> file hasn't yet been reached there could be more data. To m
On Fri, Jan 9, 2009 at 2:32 PM, webcomm wrote:
> On Jan 9, 3:15 pm, Steve Holden wrote:
>> webcomm wrote:
>> > Hi,
>> > In python, is there a distinction between unzipping bytes and
>> > unzipping a binary file to which those bytes have been written?
>>
>> > The following code is, I think, an exa
On Fri, Jan 9, 2009 at 3:08 PM, Chris Mellon wrote:
> On Fri, Jan 9, 2009 at 2:32 PM, webcomm wrote:
>> On Jan 9, 3:15 pm, Steve Holden wrote:
>>> webcomm wrote:
>>> > Hi,
>>> > In python, is there a distinction between unzipping bytes and
>>>
On Wed, Oct 8, 2008 at 10:43 AM, Dave <[EMAIL PROTECTED]> wrote:
> With the open source licenses that allow redistribution of modified
> code, how do you keep someone unaffiliated with the Python community
> from creating his or her own version of python, and declaring it to be
> Python 2.6, or may
On Thu, Nov 6, 2008 at 8:09 AM, <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I just installed wxPython from http://wxpython.org/download.php. When
> I import (import wx), I get this error:
>
> ImportError: DLL load failed: The application has failed to start
> because its side-by-side configuration is in
On Thu, Nov 13, 2008 at 11:16 AM, Joe Strout <[EMAIL PROTECTED]> wrote:
> One thing I miss as I move from REALbasic to Python is the ability to have
> static storage within a method -- i.e. storage that is persistent between
> calls, but not visible outside the method. I frequently use this for su
On Thu, Nov 13, 2008 at 2:22 PM, dpapathanasiou
<[EMAIL PROTECTED]> wrote:
> I have some old Common Lisp functions I'd like to rewrite in Python
> (I'm still new to Python), and one thing I miss is not having to
> declare local variables.
>
> For example, I have this Lisp function:
>
> (defun rando
On Thu, Nov 13, 2008 at 10:25 PM, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Fri, 14 Nov 2008 13:35:02 +1100, Ben Finney wrote:
>
>> Instead, it looks like you're falling foul of one of the classic
>> mistakes in the "How to ask questions the smart way" document: you've
>> got a goal, but you'
On Fri, May 15, 2009 at 1:09 PM, Edd wrote:
> Hi folks,
>
> I have a some threadpool code that works like this :
>
> tp = ThreadPool(number_of_threads)
> futures = [tp.future(t) for t in tasks] # each task is callable
> for f in futures:
> print f.value() # <-- may propagate an exc
On Mon, May 19, 2008 at 11:36 AM, Roger Heathcote
<[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>>
>> On May 16, 11:40 am, Roger Heathcote <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> Despite many peoples insistence that allowing for the arbitrary killing
>>> of threads is a cardinal sin and altho
On Wed, May 21, 2008 at 3:56 PM, Dave Parker
<[EMAIL PROTECTED]> wrote:
> On May 21, 2:44 pm, "Jerry Hill" <[EMAIL PROTECTED]> wrote:
>
>> My understand is no, not if you're using IEEE floating point.
>
> Yes, that would explain it. I assumed that Python automatically
> switched from hardware floa
On Wed, May 21, 2008 at 4:29 PM, Dave Parker
<[EMAIL PROTECTED]> wrote:
> On May 21, 3:17 pm, "Chris Mellon" <[EMAIL PROTECTED]> wrote:
>
>> If you're going to use every post and question about Python as an
>> opportunity to pimp your own pet language y
On Thu, Jul 17, 2008 at 2:55 PM, kj <[EMAIL PROTECTED]> wrote:
> In <[EMAIL PROTECTED]> Erik Max Francis <[EMAIL PROTECTED]> writes:
>
>>kj wrote:
>
>>> I just came across an assignment of the form
>>>
>>> x, = y
>>>
>>> where y is a string (in case it matters).
>>>
>>> 1. What's the meaning of t
On Tue, Jul 29, 2008 at 3:37 AM, Carl Banks <[EMAIL PROTECTED]> wrote:
> On Jul 28, 8:15 pm, Steven D'Aprano <[EMAIL PROTECTED]
> cybersource.com.au> wrote:
>> On Mon, 28 Jul 2008 13:22:37 -0700, Carl Banks wrote:
>> > On Jul 28, 10:00 am, Steven D'Aprano <[EMAIL PROTECTED]
>> > cybersource.com.au>
On Thu, Jul 31, 2008 at 10:27 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> On Jul 31, 10:47 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>> I take the freedom to do so as I see fit - this is usenet...
>
> Fine, then keep beating a dead horse by replying to this thread with
> things that
On Tue, Aug 5, 2008 at 12:12 PM, castironpi <[EMAIL PROTECTED]> wrote:
> On Aug 5, 9:21 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>> On Aug 3, 1:26 am, castironpi <[EMAIL PROTECTED]> wrote:
>>
>>
>> > Which is 12 bytes long and runs in a millisecond. What it does is set
>> > a memory ad
On Thu, Aug 7, 2008 at 8:12 AM, alex23 <[EMAIL PROTECTED]> wrote:
> On Aug 7, 8:08 pm, [EMAIL PROTECTED] wrote:
>> Really how silly can it be when you suggest someone is taking a
>> position and tweaking the benchmarks to prove a point [...]
>
> I certainly didn't intend to suggest that you had twe
On Thu, Aug 7, 2008 at 9:09 AM, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Thu, 07 Aug 2008 06:12:04 -0700, alex23 wrote:
>
>> On Aug 7, 8:08 pm, [EMAIL PROTECTED] wrote:
>>> Really how silly can it be when you suggest someone is taking a
>>> position and tweaking the benchmarks to prove a poi
On Wed, Apr 2, 2008 at 2:33 PM, João Neves <[EMAIL PROTECTED]> wrote:
> On Apr 2, 5:41 pm, "Dan Upton" <[EMAIL PROTECTED]> wrote:
> > > The thing I've been wondering is why _is_ it read-only? In what
> > > circumstances having write access to co_code would break the language
> > > or do some
On Wed, Apr 16, 2008 at 11:40 AM, Aaron Watters <[EMAIL PROTECTED]> wrote:
> On Apr 16, 12:27 pm, Rhamphoryncus <[EMAIL PROTECTED]> wrote:
> > On Apr 16, 6:56 am, Aaron Watters <[EMAIL PROTECTED]> wrote:
> >
> > > I don't get it. It ain't broke. Don't fix it.
> >
> > So how would you have do
On Tue, Aug 19, 2008 at 12:19 PM, eliben <[EMAIL PROTECTED]> wrote:
> Python provides a quite good and feature-complete exception handling
> mechanism for its programmers. This is good. But exceptions, like any
> complex construct, are difficult to use correctly, especially as
> programs get large.
On Tue, Aug 19, 2008 at 1:16 PM, RgeeK <[EMAIL PROTECTED]> wrote:
> Experimenting with graphics in an app: it's AUI based with a few panes, one
> of which has a panel containing a few sizers holding UI elements. One sizer
> contains a panel that needs some basic line-drawing graphics in it.
>
> I u
On Tue, Aug 26, 2008 at 11:12 AM, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Martin Marcher wrote:
>
>>> Are dictionaries the same as hashtables?
>>
>> Yes, but there is nothing in there that does sane collision handling
>> like making a list instead of simply overwriting.
>
> are you sure you know
On Wed, Sep 24, 2008 at 2:11 PM, <[EMAIL PROTECTED]> wrote:
> sturlamolden:
>>No, because Python already has list comprehensions and we don't need the XML
>>buzzword.<
>
> LINQ is more than buzzwords. Python misses several of those features.
> So maybe for once the Python crowd may recognize such
On Thu, Oct 2, 2008 at 2:22 PM, Joe Strout <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I used to by a big Python fan, many years ago [1]. I stopped using it after
> discovering REALbasic, because my main developmental need is to write
> desktop applications that are as native as possible on each plat
On 3/10/06, Michal Kwiatkowski <[EMAIL PROTECTED]> wrote:
> Alex Martelli napisał(a):
> >> So another question arise. Is it possible to make function a method (so
> >> it will receive calling object as first argument)?
> >
> > Sure, impor types then call types.MethodType:
> >
> > f = types.MethodTy
On 13 Mar 2006 10:19:05 -0800, Paul Rubin
<"http://phr.cx"@nospam.invalid> wrote:
> "Paul Boddie" <[EMAIL PROTECTED]> writes:
> > What people don't usually understand (or rather complain about loudly)
> > is that Trolltech can refuse to license Qt to you under the commercial
> > licence, as is thei
On 14 Mar 2006 06:10:19 -0800, Paul Boddie <[EMAIL PROTECTED]> wrote:
> Alan Franzoni wrote:
> >
> > Just one thing I don't understand: if you're developing all your software
> > inside your company, how would they know if you already coded it or you
> > still have to?
>
> I have no idea. But as I
On 3/15/06, robert <[EMAIL PROTECTED]> wrote:
> PyDenis wrote:
>
> > I fixed problem using Atypes:
> >
> > import ctypes
> >
> > ctypes.windll.user32.MessageBoxA(0, 'test', 'Title',
> > win32con.MB_ICONINFORMATION | win32con.MB_OK |
> > win32con.MB_TOPMOST)
> >
> >
> > It compiles and runs fine wit
On 3/15/06, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
> > wx is also in
> > a far better position for most non-trivial UIs, becuase it has
> > infrastructure that win32 (pretty much alone among modern UI toolkits)
> > lacks, like layout algorithms and i18ln support.
>
> Qt has all of this. On all
On 3/15/06, robert <[EMAIL PROTECTED]> wrote:
> Chris Mellon wrote:
>
> >
> > win32gui and wxPython use *exactly* the same controls in almost all
>
> (win32ui or win32gui? the later is almost only a better ctypes replacement )
Both. wx wraps native controls. If you s
On 3/24/06, Wildemar Wildenburger <[EMAIL PROTECTED]> wrote:
> Ok, so i've whipped up this GUI with wxPython but I realize that it
> might hinder the sort of thing I wantto do. What do I want to do?
>
> Basically its a note taking app that should present little boxes of text
> to the user. Also the
On 3/25/06, David Isaac <[EMAIL PROTECTED]> wrote:
> "Ziga Seilnacht" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > >>> a = 1
> > >>> b = 1
> > >>> a == b
> > True
> > >>> a is b
> > False
>
> Two follow up questions:
>
> 1. I wondered about your example,
> and noticed
>
On 3/28/06, Yanping Zhang <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I need to use this C routine in python and there is a void pointer parameter
> in it:
> (this routine was written by someone else):
>
> myfunc(int a, (void *)userdata, bool b)
>
> I saw someone in his C++ wrapper used this routine
On 4/3/06, John Salerno <[EMAIL PROTECTED]> wrote:
> Out of curiosity, is there any kind of equivalent in Python to the
> StringBuilder class in C#? Here's a quick description from the .NET
> documentation:
>
> "This class represents a string-like object whose value is a mutable
> sequence of chara
501 - 548 of 548 matches
Mail list logo