ANN: PyGUI 1.6

2006-02-12 Thread greg
PyGUI 1.6 is now available: http://www.cosc.canterbury.ac.nz/~greg/python_gui/ The major change in this version is that the Mac version is based on Cocoa instead of Carbon. This should provide a much better base for future development, but it does mean that MacOSX will now be required

ANN: PyGUI 1.6.1

2006-03-07 Thread greg
PyGUI 1.6.1 is now available: http://www.cosc.canterbury.ac.nz/~greg/python_gui/ Bug fixes: - Mouse down event in a GLView caused a crash. - Canvas methods fill_poly() and stroke_poly() didn't work. Added a test for these. What is PyGUI

ANN: PyGUI 1.7

2006-04-01 Thread greg
PyGUI 1.7 is now available: http://www.cosc.canterbury.ac.nz/~greg/python_gui/ New features: * GL.DisplayList class for managing OpenGL display lists in a similar way to the GL.Texture class introduced in 1.6. * Facilites for displaying a chosen cursor when the mouse

ANN: Pyrex 0.9.4.1

2006-04-21 Thread greg
Pyrex 0.9.4.1 is now available: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ This is a very minor update to correct a tab/space problem in the distutils extension. What is Pyrex? -- Pyrex is a language for writing Python extension modules. It lets you freely mix

ANN: PyGUI 1.7.1

2006-05-06 Thread greg
PyGUI 1.7.1 is now available: http://www.cosc.canterbury.ac.nz/~greg/python_gui/ New features: - Slider control. - run() convenience function, equivalent to application().run(). - Geometry.rects_intersect() function. Enhancements: - Files given on the command

ANN: PyGUI 1.7.2

2006-06-10 Thread greg
PyGUI 1.7.2 is now available: http://www.cosc.canterbury.ac.nz/~greg/python_gui/ This version adds support for multiple mouse buttons, mouse enter and leave events, enhancements to the BlobEdit example application, and a big pile of other enhancements and bug fixes. See the CHANGES.txt file

ANN: Plex 1.1.5

2007-01-27 Thread greg
I have released a small update to Plex to fix the problem of assignment to None causing syntax warnings or errors in Python 2.3 and later. What is Plex? Plex is a Python module for lexical analysis that provides similar functionality to Lex and Flex. -- Greg -- http://mail.python.org/mailman

ANN: Plex 1.1.5 (Repost)

2007-01-27 Thread greg
for lexical analysis that provides similar functionality to Lex and Flex. -- Greg -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations.html

ANN: Pyrex 0.9.5.1

2007-01-30 Thread greg
Pyrex 0.9.5.1 is now available: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ This is a minor release to fix a few bugs introduced in 0.9.5. See the CHANGES for details. What is Pyrex? -- Pyrex is a language for writing Python extension modules. It lets you freely mix

ANN: Pyrex 0.9.5.1a

2007-02-01 Thread greg
Pyrex 0.9.5.1a is now available: http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/ This is a glitch-fix nanorelease to correct a problem with the setup.py file. The list of packages to install is now calculate dynamically, so that it will work with or without the testing files. What

ANN: PROBE 1.0

2007-09-01 Thread greg
, and can actually be played in a deliberate way now instead of just trial and error like the first one. Currently available here: http://www.cosc.canterbury.ac.nz/greg.ewing/python/PyWeek4/Probe-1.0.zip -- Greg -- http://mail.python.org/mailman/listinfo/python-announce-list Support the Python

ANN: Pyrex 0.9.7

2008-05-09 Thread greg
Pyrex 0.9.7 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ Highlights of this version: * I have streamlined the integer for-loop syntax. Instead of the loop variable redundantly appearing in two places, it's now just for x i y: ... * If you

ANN: Pyrex 0.9.7.1

2008-05-13 Thread greg
Pyrex 0.9.7.1 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ This version fixes a bug in the new integer indexing optimisation which causes indexing of a non-sequence type with a C int to fail with a TypeError. What is Pyrex? -- Pyrex is a language

ANN: Pyrex 0.9.8

2008-05-15 Thread greg
Pyrex 0.9.8 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ This version has a number of new features: * In-place operators (+= etc.) are now supported. * The Pyrex compiler now has built-in facilities for automatically tracking down and compiling all the

ANN: Pyrex 0.9.8.1

2008-05-17 Thread greg
Pyrex 0.9.8.1 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ Base classes no longer need to be specified in a forward declaration of an extension type, or in the implementation part of an extension type defined in a .pxd file. Also, I've come up with an even

ANN: Pyrex 0.9.8.3

2008-06-08 Thread greg
Pyrex 0.9.8.3 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ Compiling multiple .pyx files in one go works properly now, and can be substantially faster if you have a lot of modules that cimport from each other. I had to rearrange various things to make this work,

ANN: Pyrex 0.9.8.4

2008-06-11 Thread greg
Pyrex 0.9.8.4 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ This version fixes a bug introduced by the last change to unsigned integer indexing. What is Pyrex? -- Pyrex is a language for writing Python extension modules. It lets you freely mix

ANN: Albow 2.0

2008-10-05 Thread greg
ALBOW - A Little Bit of Widgetry for PyGame Version 2.0 is now available. This version incorporates substantial additions and improvements. New widgets include TabPanel, TableView, CheckBox, RadioButton and an enhanced set of TextField-based controls.

odd behavior

2005-11-11 Thread Greg
Forgive me, and be kind, as I am just a newby learning this language out of M.L. Hetland's book. The following behavior of 2.4.1 seems very strange x = ['aardvark', 'abalone', 'acme', 'add', 'aerate'] x.sort(key=len) x ['add', 'acme', 'aerate', 'abalone', 'aardvark'] x.sort(reverse=True)

Re: Annoying behaviour of the != operator

2005-06-10 Thread greg
an ordering for all objects, whatever they might be. Greg -- http://mail.python.org/mailman/listinfo/python-list

ANN: PyGUI 1.6

2006-02-12 Thread greg
PyGUI 1.6 is now available: http://www.cosc.canterbury.ac.nz/~greg/python_gui/ The major change in this version is that the Mac version is based on Cocoa instead of Carbon. This should provide a much better base for future development, but it does mean that MacOSX will now be required

Read 16 bit integer complex data

2005-04-07 Thread Greg
represent the imaginary. I've looked at the unpack command, but from what I can tell it isn't really efficient for a large data sample. Is there a command or method around to read in large amounts of 16 bit complex data? Thanks in advance for your help, Greg -- http://mail.python.org/mailman/listinfo

Re: Read 16 bit integer complex data

2005-04-07 Thread Greg
That worked, thanks a lot. Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Edit Python code programmatically

2008-02-10 Thread greg
. If you really want to generate code, find a way of separating out the generated code into another .py file that never needs to be edited by hand. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Star Wars and parsecs

2008-02-10 Thread greg
long it takes them to notice they're being fed a load of bull. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: pop langs website ranking

2008-02-11 Thread greg
on the Python web site could be seen as a good sign. :-) -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Speed of light [was Re: Why not a Python compiler?]

2008-02-10 Thread greg
light travelling or propagating. Take your pick. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Turn off ZeroDivisionError?

2008-02-10 Thread greg
turned on, and when one occurs, consult the state to determine whether to raise an exception or re-try that operation with trapping turned off. That would only incur the overhead of changing the hardware setting when a zero division occurs, which presumably is a relatively rare occurrence. -- Greg

Re: Turn off ZeroDivisionError?

2008-02-10 Thread greg
// -- mathematical integer division /// -- IEEE floating point division (where supported) -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Difficulty with inconsistent use of tabs and spaces in indentation in file called string

2008-02-12 Thread greg
it's trying to compile! -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: mmap and shared memory

2008-02-12 Thread greg
is forked from the other, the parent can mmap an anonymous block and the child will inherit that mapping. (I suppose if both processes had sufficient privileges they could map physical memory out of /dev/mem, but that would be *really* dangerous!) -- Greg -- http://mail.python.org/mailman/listinfo

Re: OT: Speed of light [was Re: Why not a Python compiler?]

2008-02-12 Thread greg
. they will likely expect a 2kg hammer to fall to the floor twice as fast as a 1kg hammer, which isn't anywhere near to being true. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: Speed of light

2008-02-13 Thread greg
that rocket engineers, of all people, would be acutely aware of the need to avoid confusing force and mass! -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Solve a Debate

2008-02-17 Thread greg
describe the table entirely with static data, it'll be very fast to load and incur no overhead for code to create it at all. Also, with demand-paging out of the executable file, and infrequent lookups, only parts of the table will actually get loaded anyway. -- Greg -- http://mail.python.org/mailman

Re: Python Memory Manager

2008-02-17 Thread greg
. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Memory Manager

2008-02-17 Thread greg
to be on it, even though they contain references, because it's impossible to create a cycle consisting entirely of such objects. There has to be at least one mutable object in the cycle, and the GC will be able to find the cycle via that object. -- Greg -- http://mail.python.org/mailman/listinfo

Creating dynamic objects with dynamic constructor args

2008-03-25 Thread Greg
to the argument list rather than passed as a single object? ie. class T: def __init__(self, foo, bar): self.foo = foo self.bar = bar argspec = inspect.argspec(T.__init__) args = (1, 2) ??? how do you call T(args)? Thanks. Greg -- http://mail.python.org

Re: Can my own objects support tuple unpacking?

2008-03-28 Thread greg
. Another way is to make your object iterable -- read up about the iterator protocol. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: why does socket.makefile require non-blocking mode?

2008-04-06 Thread greg
buffer waiting to be read. When using select(), you really need to deal with the socket directly, with no buffering in the way. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

ANN: Pyrex 0.9.7

2008-05-09 Thread greg
Pyrex 0.9.7 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ Highlights of this version: * I have streamlined the integer for-loop syntax. Instead of the loop variable redundantly appearing in two places, it's now just for x i y: ... * If you

ANN: Pyrex 0.9.7.1

2008-05-13 Thread greg
Pyrex 0.9.7.1 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ This version fixes a bug in the new integer indexing optimisation which causes indexing of a non-sequence type with a C int to fail with a TypeError. What is Pyrex? -- Pyrex is a language

ANN: Pyrex 0.9.7.2

2008-05-14 Thread greg
Pyrex 0.9.7.2 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ Seems I didn't quite eradicate all of the integer indexing bugs. Here's a fix for the other half. What is Pyrex? -- Pyrex is a language for writing Python extension modules. It lets you

ANN: Pyrex 0.9.8

2008-05-15 Thread greg
Pyrex 0.9.8 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ This version has a number of new features: * In-place operators (+= etc.) are now supported. * The Pyrex compiler now has built-in facilities for automatically tracking down and compiling all the

ANN: Pyrex 0.9.8.1

2008-05-17 Thread greg
Pyrex 0.9.8.1 is now available: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/ Base classes no longer need to be specified in a forward declaration of an extension type, or in the implementation part of an extension type defined in a .pxd file. Also, I've come up with an even

read web page that requires javascript on client

2009-03-18 Thread Greg
in advance! Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: read web page that requires javascript on client

2009-03-19 Thread Greg
. HTH, Carl Selenium. It's not pretty for what I want to do but it works ... then again, what I need to do is not pretty either. Ciao, Greg -- http://mail.python.org/mailman/listinfo/python-list

Need a Python Training Class recommendation

2009-04-01 Thread greg
or options are welcome. Thanks, Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: PyGUI 2.0

2009-04-14 Thread greg
Terry Reedy wrote: Does it work with 3.0? As it stands, almost certainly not. But you're welcome to try running it through 2to3 and see what happens. Relevant libraries would have to be available for 3.0 as well -- not sure what the state of play is there. -- Greg -- http://mail.python.org

Re: ANN: PyGUI 2.0.1

2009-04-16 Thread greg
couldn't find any way of implementing these. Test 37-image-cursor.py: 1. Mouse pointer hotspot is in the middle of the image. That's okay too, it's meant to be there. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Function getting a reference to its own module

2008-09-16 Thread greg
Arnaud Delobelle wrote: Or: import ModuleName as this_module Or: this_module = __import__(__name__) then you don't have to change anything. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: minimum install pickling

2008-09-17 Thread greg
) -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Why are broken iterators broken?

2008-09-26 Thread greg
want to start iterating again. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Python style: exceptions vs. sys.exit()

2008-10-02 Thread greg
know, whether something is deemed a derivative work is judged on the basis of how similar it is to another work, not whether its author had knowledge of the other work. As long as you express an idea in an original way, it shouldn't matter where you got the idea from. -- Greg -- http

Re: Python is slow?

2008-10-03 Thread greg
it with the following. Then you're effectively distributing the modified source in its entirety, just with a funny header at the top of each source file that serves no useful purpose. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Comparing float and decimal

2008-10-03 Thread greg
be rather hackish, and wouldn't do anything for any other incomparable types that might come along. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Comparing float and decimal

2008-10-03 Thread greg
the elements involved are transitive, and leave the semantics in other cases undefined. Then in the Decimal module it could be warned that the equality relations between int-float and int-Decimal are not transitive, perhaps noting that this can cause problems with sets and dicts. -- Greg -- http

Re: What is not objects in Python?

2008-10-03 Thread greg
:-) (BTW, try doing that with the x.len() notation!) -- Greg But it's too late to change things. -- http://mail.python.org/mailman/listinfo/python-list

Re: What is not objects in Python?

2008-10-03 Thread greg
Aaron Castironpi Brady wrote: How do you have a yellow dog, It's not a yellow dog, it's a dog yellow. Attention pay! :-) -- Ewing Gregory -- http://mail.python.org/mailman/listinfo/python-list

Re: One class per file?

2008-10-03 Thread greg
, they don't have any defined relationship to source files, so they don't help you find which file something is defined in. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Odd Errors

2008-10-03 Thread greg
is that there are *no* side effects. The confusing thing is that in everyday English the term implies something bad or unwanted (e.g. side effects of a drug). That's not necessarily true of the technical meaning -- often the side effect is exactly what we want, as in the case of append. -- Greg -- http

Re: closures and dynamic binding

2008-10-03 Thread greg
is regarded as a feature, so anything which changes that seems to be a non-starter. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Inheritance but only partly?

2008-10-03 Thread greg
own nest). -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: What is not objects in Python?

2008-10-04 Thread greg
Marc 'BlackJack' Rintsch wrote: On Fri, 03 Oct 2008 19:10:27 +1200, greg wrote: (BTW, try doing that with the x.len() notation!) def size(obj): return obj.len() or size = operator.methodcaller('len') No, what I meant was that if the normal way of getting the len of something were

Re: One class per file?

2008-10-04 Thread greg
after I've changed something. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: closures and dynamic binding

2008-10-04 Thread greg
it has anything to do with recursion. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

ANN: Albow 2.0

2008-10-06 Thread greg
ALBOW - A Little Bit of Widgetry for PyGame Version 2.0 is now available. This version incorporates substantial additions and improvements. New widgets include TabPanel, TableView, CheckBox, RadioButton and an enhanced set of TextField-based controls.

Re: how to get the thighest bit position in big integers?

2008-10-08 Thread greg
functions. Although Guido has defended it on the grounds that it can be inconvenient having a function that returns different types under different circumstances. Also it discourages making the mistake of treating the return value as a boolean. -- Greg -- http://mail.python.org/mailman/listinfo

Re: PyGUI as a standard GUI API for Python?

2008-10-14 Thread greg
, either it's sufficient to just resize one pane and keep the others a fixed size, or you really want user control over the size of each pane individually. Proportional resizing is a compromise that just ends up annoying me. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: better scheduler with correct sleep times

2008-10-20 Thread greg
for an event to get scheduled while in the midst of a sleep. It also doesn't take any measures to protect its data structures from concurrent access. The documentation could make this clearer, especially since it confusingly talks about allowing other threads to run. -- Greg -- http://mail.python.org

Re: PyGUI - Couple of questions - TextField callbacks and drop down list....

2008-10-20 Thread greg
. Anyway, glad you're finding it useful. Feel free to ask if you have any more questions. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: windows / unix path

2008-10-21 Thread greg
into arguments, it's the program being run. So you need to avoid any kind of exec or spawn operation, whether it goes through the shell or not, unless you know the program being run isn't going to interpret '/' as an option. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: better scheduler with correct sleep times

2008-10-21 Thread greg
. The main problem is that its nature needs to be much more clearly spelled out in the docs -- it's something of an attractive nuisance the way it is. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: What was that, what was it?

2008-10-21 Thread greg
fast, but good for a lot of every day tasks. The neat thing about Python is that you can strap on a jet engine (C extension) when you really need a burst of speed. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: import a function from bash to python? -HELP!-

2008-10-22 Thread greg
James Mills wrote: Directly importing a bash function into python is not possible. Well, you could write a bash interpreter in Python... but that's probably more work than it's worth -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-24 Thread greg
and shouldn't be done in multi- threaded apps No, it's there because it's necessary for acceptable performance when multiple threads are running in one interpreter. Independent interpreters wouldn't mean the absence of a GIL; it would only mean each interpreter having its own GIL. -- Greg -- http

Re: 2.6, 3.0, and truly independent intepreters

2008-10-24 Thread greg
pointers around everywhere is bound to have some effect on performance. The idea mightn't go down too well if it slows things significantly in the case where you're only using one interpreter. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-25 Thread greg
to create its own versions of all the builtin constants and type objects, and import its own copy of all the modules it uses. One wonders if it wouldn't be cheaper just to fork the process. Shared memory can be used to transfer large lumps of data if needed. -- Greg -- http://mail.python.org/mailman

Re: 2.6, 3.0, and truly independent intepreters

2008-10-25 Thread greg
a separate thread for each interpreter, which you mightn't always want. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-25 Thread greg
dump the big lump of data to be transferred in there, and send a short message through a pipe to the other process to let it know it's there. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-25 Thread greg
in there? It becomes visible to other threads using the same type object. If it's not safe for sharing, bad things happen. Python's data model is not conducive to making a clear distinction between private and shared objects, except at the level of an entire interpreter. -- Greg -- http://mail.python.org/mailman

Re: 2.6, 3.0, and truly independent intepreters

2008-10-25 Thread greg
, are shared as well. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: @property decorator doesn't raise exceptions

2008-10-25 Thread greg
that the attribute wasn't found. So when your property raises an AttributeError, this is indistinguishable from the case where the property wasn't there at all. To avoid this you would have to raise some exception that doesn't derive from AttributeError. -- Greg -- http://mail.python.org/mailman

Re: Ordering python sets

2008-10-27 Thread greg
, other.value) Unfortunately, the __cmp__ method has been eliminated from 3.0 as well, so this won't work as-is. You would need to override __lt__, __eq__, etc. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding the instance reference of an object

2008-10-27 Thread greg
an alias for the actual parameter, so that assigning to the formal parameter has the same effect as assigning to the actual parameter. Seems to me that (1) describes exactly how parameter passing works in Python. So why insist that it's *not* call by value? -- Greg -- http://mail.python.org

Re: Finding the instance reference of an object

2008-10-30 Thread greg
Douglas Alan wrote: greg [EMAIL PROTECTED] writes: Seems to me that (1) describes exactly how parameter passing works in Python. So why insist that it's *not* call by value? Because there's an important distinction to be made, The distinction isn't about parameter passing, though, it's

Re: Finding the instance reference of an object

2008-10-30 Thread greg
Gabriel Genellina wrote: En Tue, 28 Oct 2008 00:58:10 -0200, greg [EMAIL PROTECTED] escribió: (1) Call by value: The actual parameter is an expression. It is evaluated and the result is assigned to the formal parameter. Subsequent assignments to the formal parameter do not affect

Re: Finding the instance reference of an object

2008-10-30 Thread greg
assignment works in Python, that tells them all they need to know. If they don't understand how assignment works, then they have a more fundamental knowledge gap that needs to be corrected first. -- Greg Then the questions and puzzled looks will start... And when they tell their friend that Joe

Re: Finding the instance reference of an object

2008-10-31 Thread greg
that don't have anything to do with parameter passing! -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding the instance reference of an object

2008-10-31 Thread greg
and references. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding the instance reference of an object

2008-10-31 Thread greg
). Since Python only has one parameter passing mechanism, there's no need to give it a name at all. If you're having to explain it, just explain it, and don't bother naming it! -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding the instance reference of an object

2008-10-31 Thread greg
*, not some other language you happen to know previously. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding the instance reference of an object

2008-10-31 Thread greg
, that tells them all they need to know. Nonsense. Why? What else *do* you think they need to know? -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding the instance reference of an object

2008-10-31 Thread greg
about it, we don't need it! -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding the instance reference of an object

2008-10-31 Thread greg
Douglas Alan wrote: greg [EMAIL PROTECTED] writes: This holds for *all* languages that I know about, both static and dynamic. Then you don't know about all that many languages. There are languages that use call-by-name, and those that use call-by-value-return. Some use call-by-need

Re: Finding the instance reference of an object

2008-10-31 Thread greg
is somewhat unfortunate. If they'd been called something like call by assignment and call by alias, none of this confusion would have arisen. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: 2.6, 3.0, and truly independent intepreters

2008-10-31 Thread greg
of their regular employment temporarily, so unless there's quite a *lot* of money being offered (enough to offer someone full-time employment, for example) it doesn't necessarily make any more man-hours available. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Single string vs list of strings

2008-10-31 Thread greg
if it doesn't support indexing or iterating or whatever you want to do with it. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Finding the instance reference of an object

2008-10-31 Thread greg
in some way. So instead, you just tell them how it works, and leave them to decide for themselves what name they want to give it. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Code/test ratio wrt static vs dynamic typing [was: Re: Python Success stories]

2008-05-20 Thread greg
and effort developing the compiler than writing the tests. -- Greg -- http://mail.python.org/mailman/listinfo/python-list

Re: Why does python not have a mechanism for data hiding?

2008-06-03 Thread greg
On May 25, 9:50 pm, [EMAIL PROTECTED] wrote: On May 24, 9:41 am, Sh4wn [EMAIL PROTECTED] wrote: Python advertises himself as a full OOP language, but why does it miss one of the basic principles of OOP? Will it ever be added to python? Others have already answered this directly, but I'd

  1   2   3   4   5   6   7   8   9   10   >