Wichtig für Maximus

2017-05-15 Thread Hans-Georg Joepgen
https://www.heise.de/newsticker/meldung/WannaCry-Microsoft-liefert-Sicherheits-Patches-fuer-veraltete-Windows-Versionen-3713417.html -- https://mail.python.org/mailman/listinfo/python-list

pathlib type error

2015-01-03 Thread Georg Grafendorfer
t;) >>> q = p / "init.d" Traceback (most recent call last): File "", line 1, in TypeError: unsupported operand type(s) for /: 'PosixPath' and 'str' >>> On the same computer, using rescuecd 4.4.1 (Nov 2014) which ships python 3.4.1 it works as expected. thanks for help, Georg -- https://mail.python.org/mailman/listinfo/python-list

[RELEASED] Python 3.2.6, Python 3.3.6

2014-10-12 Thread Georg Brandl
These are production versions, please report any bugs to http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and contributors) -BEGIN PGP SIGNATURE- Version: GnuPG v2 iEYEARECAAYF

[RELEASED] Python 3.2.6rc1, Python 3.3.6rc1

2014-10-04 Thread Georg Brandl
https://www.python.org/downloads/release/python-336rc1/ These are pre-releases, please report any bugs to http://bugs.python.org/ The final releases are scheduled one week from now. Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and contrib

[RELEASED] Python 3.3.5

2014-03-09 Thread Georg Brandl
3.3.5 visit: http://www.python.org/downloads/release/python-335/ This is a production release, please report any bugs to http://bugs.python.org/ The final release is scheduled one week from now. Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire p

[RELEASED] Python 3.3.5 release candidate 2

2014-03-03 Thread Georg Brandl
nload Python 3.3.5 visit: http://www.python.org/download/releases/3.3.5/ This is a preview release, please report any bugs to http://bugs.python.org/ The final release is scheduled one week from now. Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire p

[RELEASED] Python 3.3.5 release candidate 1

2014-02-23 Thread Georg Brandl
nload Python 3.3.5 visit: http://www.python.org/download/releases/3.3.5/ This is a preview release, please report any bugs to http://bugs.python.org/ The final release is scheduled one week from now. Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire p

[RELEASED] Python 3.3.4

2014-02-10 Thread Georg Brandl
http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.3's contributors) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlL5PMwACgkQN9GcIYhpnLCv4wCePNVqwsOYCHdJBi

[RELEASED] Python 3.3.4 release candidate 1

2014-01-26 Thread Georg Brandl
http://www.python.org/download/releases/3.3.4/ This is a preview release, please report any bugs to http://bugs.python.org/ The final version is scheduled to be released in two weeks' time, on or about the 10th of February. Enjoy! - -- Georg Brandl, Release Manager georg at pyth

[RELEASED] Python 3.3.3 final

2013-11-18 Thread Georg Brandl
visit: http://www.python.org/download/releases/3.3.3/ This is a production release, please report any bugs to http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.3's contributors) [1] http://bugs.

Re: Self-defence

2013-11-17 Thread Georg Brandl
long as python-list is coupled to Usenet, there will be little to no barrier to posting, and the only way to get rid of trolls is to ignore them. Let the barrage of posts continue for a few more days; if he doesn't get replies he will get fed up eventually. cheers, Georg -- https://mail.python.org/mailman/listinfo/python-list

[RELEASED] Python 3.3.3 release candidate 2

2013-11-11 Thread Georg Brandl
gs to http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.3's contributors) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlKB1G4ACgkQN9GcIYhpnLAu5gCfRkfpnEs+rmtZ9i

Re: Problem installing matplotlib 1.3.1 with Python 2.7.6 and 3.3.3 (release candidate 1)

2013-11-03 Thread Georg Brandl
se open an issue on the Python bug tracker for the Python component of > this. > > http://bugs.python.org And please mark as release blocker, I think this should go into 3.3.3rc2. Georg -- https://mail.python.org/mailman/listinfo/python-list

[RELEASED] Python 3.3.3 release candidate 1

2013-10-27 Thread Georg Brandl
to be released in two weeks' time, on or about the 10th of November. Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.3's contributors) -BEGIN PGP SIGNATURE- Version: GnuPG v2.

[RELEASED] Python 3.2.5 and Python 3.3.2

2013-05-15 Thread Georg Brandl
report bugs to http://bugs.python.org/ (Thank you to those who reported these regressions.) Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and all contributors) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux

Re: [RELEASED] Python 3.2.4 and Python 3.3.1

2013-04-06 Thread Georg Brandl
Am 06.04.2013 22:48, schrieb cmcp: > On Saturday, 6 April 2013 21:43:11 UTC+1, Georg Brandl wrote: >> -BEGIN PGP SIGNED MESSAGE- >> >> Hash: SHA1 >> >> >> >> On behalf of the Python development team, I am pleased to announce the &g

[RELEASED] Python 3.2.4 and Python 3.3.1

2013-04-06 Thread Georg Brandl
://www.python.org/download/releases/3.3.1/ respectively. As always, please report bugs to http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and all contributors) -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU

[RELEASED] Python 3.2.4 rc 1 and Python 3.3.1 rc 1

2013-03-25 Thread Georg Brandl
notice to: http://bugs.python.org/ To download Python 3.2.4 or Python 3.3.1, visit: http://www.python.org/download/releases/3.2.4/ or http://www.python.org/download/releases/3.3.1/ respectively. Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire

Re: [RELEASED] Python 3.3.0

2012-09-30 Thread Georg Brandl
On 09/29/2012 06:53 PM, Antoine Pitrou wrote: Hello, I've created a 3.3 category on the buildbots: http://buildbot.python.org/3.3/ http://buildbot.python.org/3.3.stable/ Someone will have to update the following HTML page: http://python.org/dev/buildbot/ Should be done now. Georg --

[RELEASED] Python 3.3.0

2012-09-29 Thread Georg Brandl
of changes in 3.3.0, see http://docs.python.org/3.3/whatsnew/3.3.html To download Python 3.3.0 visit: http://www.python.org/download/releases/3.3.0/ This is a production release, please report any bugs to http://bugs.python.org/ Enjoy! -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.3's contributors) -- http://mail.python.org/mailman/listinfo/python-list

[RELEASED] Python 3.3.0 release candidate 3

2012-09-23 Thread Georg Brandl
eases/3.3.0/ Please consider trying Python 3.3.0 with your code and reporting any bugs you may notice to: http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.3's contributors) -BEGIN PGP SIGNATURE- Ve

[RELEASED] Python 3.3.0 release candidate 2

2012-09-09 Thread Georg Brandl
eases/3.3.0/ Please consider trying Python 3.3.0 with your code and reporting any bugs you may notice to: http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.3's contributors) -BEGIN PGP SIGNATURE- Ve

[RELEASED] Python 3.3.0 release candidate 1

2012-08-25 Thread Georg Brandl
otal, almost 500 API items are new or improved in Python 3.3. For a more extensive list of changes in 3.3.0, see http://docs.python.org/3.3/whatsnew/3.3.html To download Python 3.3.0 visit: http://www.python.org/download/releases/3.3.0/ Please consider trying Python 3.3.0 with you

[RELEASED] Python 3.3.0 beta 2

2012-08-12 Thread Georg Brandl
.0 visit: http://www.python.org/download/releases/3.3.0/ Please consider trying Python 3.3.0 with your code and reporting any bugs you may notice to: http://bugs.python.org/ Enjoy! (*) Please note that this document is usually finalized late in the release cycle and therefore may h

[RELEASED] Python 3.3.0 beta 1

2012-06-26 Thread Georg Brandl
ng any bugs you may notice to: http://bugs.python.org/ Enjoy! (*) Please note that this document is usually finalized late in the release cycle and therefore may have stubs and missing entries at this point. -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.3's contributors) -- http://mail.python.org/mailman/listinfo/python-list

[RELEASED] Python 3.3.0 alpha 4

2012-05-31 Thread Georg Brandl
load Python 3.3.0 visit: http://www.python.org/download/releases/3.3.0/ Please consider trying Python 3.3.0 with your code and reporting any bugs you may notice to: http://bugs.python.org/ Enjoy! (*) Please note that this document is usually finalized late in the release cycle and

[RELEASED] Python 3.3.0 alpha 3

2012-05-01 Thread Georg Brandl
3.0 visit: http://www.python.org/download/releases/3.3.0/ Please consider trying Python 3.3.0 with your code and reporting any bugs you may notice to: http://bugs.python.org/ Enjoy! (*) Please note that this document is usually finalized late in the release cycle and therefore

[RELEASED] Python 3.3.0 alpha 2

2012-04-01 Thread Georg Brandl
any bugs you may notice to: http://bugs.python.org/ Enjoy! (*) Please note that this document is usually finalized late in the release cycle and therefore may have stubs and missing entries at this point. - - -- Georg Brandl, Release Manager georg at python

[RELEASED] Python 3.3.0 alpha 1

2012-04-01 Thread Georg Brandl
ython.org/ Enjoy! (*) Please note that this document is usually finalized late in the release cycle and therefore may have stubs and missing entries at this point. - -- Georg Brandl, Release Manager georg at python.org (on behalf of the entire python-dev team and 3.3's cont

[RELEASED] Python 3.3.0 alpha 1

2012-03-04 Thread Georg Brandl
s such as "sendfile()" For a more extensive list of changes in 3.3.0, see http://docs.python.org/3.3/whatsnew/3.3.html To download Python 3.3.0 visit: http://www.python.org/download/releases/3.3.0/ Please consider trying Python 3.3.0a1 with your code and reporting any bugs you

tiff/pbm in pyplot (ubuntu)

2011-10-19 Thread Hans Georg Schaathun
array and check that the colour channels are equal. I'll be grateful for any pointers, TIA -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

[RELEASED] Python 3.2.2

2011-09-04 Thread Georg Brandl
list of changes in 3.2, see http://docs.python.org/3.2/whatsnew/3.2.html To download Python 3.2 visit: http://www.python.org/download/releases/3.2/ Please consider trying Python 3.2 with your code and reporting any bugs you may notice to: http://bugs.python.org/ Enjoy! - -- Georg

[RELEASED] Python 3.2.1

2011-07-10 Thread Georg Brandl
features in the 3.2 line, see http://docs.python.org/3.2/whatsnew/3.2.html To download Python 3.2.1 visit: http://www.python.org/download/releases/3.2.1/ This is a final release: Please report any bugs you may notice to: http://bugs.python.org/ Enjoy! - -- Georg Brandl, Release

[RELEASED] Python 3.2.1 rc 2

2011-07-04 Thread Georg Brandl
http://docs.python.org/3.2/whatsnew/3.2.html To download Python 3.2.1 visit: http://www.python.org/download/releases/3.2.1/ This is a testing release: Please consider trying Python 3.2.1 with your code and reporting any bugs you may notice to: http://bugs.python.org/ Enjoy! -- Georg

Re: obviscating python code for distribution

2011-05-20 Thread Hans Georg Schaathun
On 20 May 2011 07:04:27 GMT, Steven D'Aprano wrote: : On Fri, 20 May 2011 05:48:50 +0100, Hans Georg Schaathun wrote: : : > Either way, the assumption that your system will not be handled by : > idiots is only reasonable if you yourself is the only user. : : Nonsense. How do y

Re: English Idiom in Unix: Directory Recursively

2011-05-20 Thread Hans Georg Schaathun
timates the : intelligence of lay people and over-estimates the difficulty of : understanding recursion. Could we then say that «recursion is a technical word that should not /unnecessarily/ be foisted onto lay users»? -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: English Idiom in Unix: Directory Recursively

2011-05-19 Thread Hans Georg Schaathun
On Thu, 19 May 2011 23:21:30 +0200, Rikishi42 wrote: : On 2011-05-18, Hans Georg Schaathun wrote: : > Now Mac OS X has maintained the folder concept of older mac generations, : > and Windows has cloned it. They do not want the user to understand : > recursive data structures, and

Re: obviscating python code for distribution

2011-05-19 Thread Hans Georg Schaathun
methods do not help on that step. It takes more than a non-idiot to avoid misunderstandings on the interface betweeen professions. Either way, the assumption that your system will not be handled by idiots is only reasonable if you yourself is the only user. -- :-- Hans Georg -- http

Re: obviscating python code for distribution

2011-05-19 Thread Hans Georg Schaathun
Obviously, if you were implying that no system passes the lower levels, then of course they won't pass the higher levels, but then, if that's the case, we would all know that we cannot even design /seemingly/ secure systems. And nobody has suggested that so far. ¹ e.g. Dieter Gollmann

Re: obviscating python code for distribution

2011-05-19 Thread Hans Georg Schaathun
out what it takes to do it, before spend the resources barking up the wrong tree. For each successful attack, there probably is a number of failed ones. Thanks for the reference. BTW. That's not the only attack on MIFARE. I cannot remember the details of the other. -- :-- Hans Georg -

Re: obviscating python code for distribution

2011-05-18 Thread Hans Georg Schaathun
saying that, but whenever you try to back the claim, you keep referring to limited components and not systems at all. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: English Idiom in Unix: Directory Recursively

2011-05-18 Thread Hans Georg Schaathun
ildren for each node, one way or another. The only thing I am assuming is that the children can be inspected in the same order every time the node is visited. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: English Idiom in Unix: Directory Recursively

2011-05-18 Thread Hans Georg Schaathun
ar operation, possibly. For other tree : operations, a single parent pointer may not be sufficient. Que? What tree operations do you have in mind? We have covered all the standard textbook tree walks by now. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: obviscating python code for distribution

2011-05-18 Thread Hans Georg Schaathun
aybe it is right to say that the theory and skills do exist, but the money to gather it all in one project to demonstrate the security of a single system does not :-) -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: English Idiom in Unix: Directory Recursively

2011-05-18 Thread Hans Georg Schaathun
call stack, and not really a significant expense in context. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: English Idiom in Unix: Directory Recursively

2011-05-18 Thread Hans Georg Schaathun
ent pointers of some description; but it does demonstrate that tree walks can be done iteratively, without keeping a stack of any sort. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: obviscating python code for distribution

2011-05-18 Thread Hans Georg Schaathun
On Wed, 18 May 2011 09:54:30 -0700, geremy condra wrote: : On Wed, May 18, 2011 at 12:36 AM, Hans Georg Schaathun wrote: : > But then, nothing is secure in any absolute sense. : : If you're talking security and not philosophy, there is such a thing : as a secure system. As a devel

Re: English Idiom in Unix: Directory Recursively

2011-05-18 Thread Hans Georg Schaathun
times the node is visited. This node requires no stack. The only state space is constant, regardless of the size of the tree, requiring just the two pointers to previous and current. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: English Idiom in Unix: Directory Recursively

2011-05-18 Thread Hans Georg Schaathun
w Mac OS X has maintained the folder concept of older mac generations, and Windows has cloned it. They do not want the user to understand recursive data structures, and therefore, naturally, avoid the word. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: obviscating python code for distribution

2011-05-18 Thread Hans Georg Schaathun
attack, it also reduces risk, and thereby provides some level of security. Obviously, if your threat sources are dedicated hackers or maybe MI5, there is no point bothering with obfuscation, but if your threat source is script kiddies, then it might be quite effective. -- :-- Hans Georg -- http://

[RELEASED] Python 3.2.1 rc 1

2011-05-17 Thread Georg Brandl
http://docs.python.org/3.2/whatsnew/3.2.html To download Python 3.2.1 visit: http://www.python.org/download/releases/3.2.1/ This is a testing release: Please consider trying Python 3.2.1 with your code and reporting any bugs you may notice to: http://bugs.python.org/ Enjoy! -- Georg

Re: checking if a list is empty

2011-05-13 Thread Hans Georg Schaathun
ing the top floor, and still much less than the concrete engineer. And the main difference here, is that the civil engineers have a much better language to share information. The best programmers have is the programmming language, and we ought to make that as good as possible. -- :-- Hans Georg

Re: checking if a list is empty

2011-05-12 Thread Hans Georg Schaathun
eeded. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-12 Thread Hans Georg Schaathun
On Thu, 12 May 2011 16:46:38 +1000, Ben Finney wrote: : Hans Georg Schaathun writes: : : > On Wed, 11 May 2011 20:31:45 -0700 (PDT), alex23 : >wrote: : > : On May 12, 7:24 am, harrismh777 wrote: : > : > We need to move away from 'canned apps' to a new day whe

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
typewriters and entertainment theatres does in no way reduce the need of those who actually need /computers/. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
eader when you go down that route. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
without programming skills, polyglot programmers etc. Only very narrow-purpose applications can be created by one of these groups on their own, and to collaborate their abilities must be overlapping. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
On Thu, 12 May 2011 17:44:07 +1200, Gregory Ewing wrote: : Roy Smith wrote: : > Hans Georg Schaathun wrote: : >>If both are numbers, they are converted to a common type. Otherwise, : >>objects of different types always compare unequal Actually, I did not. :-- hg -- http://

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
On Wed, 11 May 2011 20:16:01 -0700 (PDT), alex23 wrote: : Hans Georg Schaathun wrote: : > Revolutionary indeed, so why don't we exploit the revolution : > and write the programs to be as accessible as possible? : : Where do you draw the line, though? I said that, "as poss

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
On 11 May 2011 21:47:27 GMT, Steven D'Aprano wrote: : On Wed, 11 May 2011 20:13:35 +0100, Hans Georg Schaathun wrote: : > One principle of object oriented programming is to bestow the objects : > with properties reflecting known properties from the domain being : > modelled. Lis

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
stitute functional/logical/whatever for imperative. You would not be completely clueless moving to ada/fortran/C/pascal/simula. There may be new concepts, and some concepts which must be adapted to another level of abstraction, but you do have a clue about the core concepts. -- :-- Hans Georg --

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
t oriented programming is to bestow the objects with properties reflecting known properties from the domain being modelled. Lists do not have truth values in the application domain, and therefore truth values in the implementation domain is complicated. -- :-- Hans Georg -- http://mail.python.o

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
tion or is expected to learn enough Python to understand it. That's fair enough. You know your code, so it is probably true. It would not be true for the code I am writing. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
: I may not have made the point well, but I cannot see any advantage : for trying to program for the lowest common denominator. Common to what? I'd try the lowest common denominator of legibility and effictiveness. It is just KISS. -- :-- Hans Georg -- http://mail.python.org/mailma

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
On Wed, 11 May 2011 10:31:59 -0600, Ian Kelly wrote: : (x + 3 for x in xs if x % 2 == 1) Interesting. Thanks. That might come in handy some time. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
ndeed, so why don't we exploit the revolution and write the programs to be as accessible as possible? (Although, python is not the most revolutionary in this respect.) -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
ntial, one would simply not be able to keep up with the application discipline. If all you do is to write software for computer illiterate users, YMWV. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
ing theory is reading this? I better dumb it down." That depends on the purpose of that particular paper, but the real question is, who writes the software to test that string theory empirically? Please tell. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
knows how the computation has to be done without specialising in talking to the computer. : This discussion is giving me some insight into some of the crap : programming I see these days. I wonder if you would do a better job at programming the software to crack equations from quantum physics th

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
needs to see your program is a python programmer, then your approach works as well as mine. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
reader and not the writer. What could elif mean other than else: if? if x could, for instance, mean "if x is defined". -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
amming. The audience I am concerned about is the ones who are over-educated into using and having used a score of different meanings of the same symbols. They will be used to their intuition being wrong when they move into a new context. Being explicit will help them. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
oping ideas in a large and complex community, where perfect universal mastery of one language is not an option, because half the community do not normally use that language or aren't really programmers at all. The less you assume about the skill of the reader, the better it is. -- :-- Hans Geor

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
of an arbitrary object as a boolean is peculiar for python. An empty list is a real, existing object, and the supposition that [] be false is counter-intuitive. It can be learnt, and the shorthand may be powerful when it is, but it will confuse many readers. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: checking if a list is empty

2011-05-11 Thread Hans Georg Schaathun
and much more flexible. Just x is as generic as it gets, but depends on python's convolved rules for duck processing and if you aim at legibility it is better avoided. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: vertical ordering of functions

2011-05-10 Thread Hans Georg Schaathun
alls may be circular or otherwise convolved in a way that does not allow consistent sorting of caller before/after callee. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: scipy

2011-05-10 Thread Hans Georg Schaathun
st painful. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: What other languages use the same data model as Python?

2011-05-10 Thread Hans Georg Schaathun
types (as in haskell or ada)? I think there are too many meanings and too few words ... That's why some languages support overloading. I am afraid we just need to cope with it, overloading I mean. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: What other languages use the same data model as Python?

2011-05-10 Thread Hans Georg Schaathun
don't have universal meanings. :-) -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: Overuse of try/except/else?

2011-05-10 Thread Hans Georg Schaathun
and the information could be passed through the return value instead. Exceptions is a very flexible, but also rather expensive means of communications. You can, actually, write any program using raise instead of return. That would be overuse. -- :-- Hans Georg -- http://mail.python.org/mailman/listinf

Re: What other languages use the same data model as Python?

2011-05-09 Thread Hans Georg Schaathun
text. Analogies, even imperfect ones, are good when we are clear about the fact that they are analogies. Using C pointers to illustrate how to use bound names in python may be useful, but only if we are clear about the fact that it is an analogy and do not pretend that it explains it in full. -- :-- Hans

Re: What other languages use the same data model as Python?

2011-05-09 Thread Hans Georg Schaathun
7;t perfect, is that it creates the illusion that references are boxes (objects) just like data objects, leading the reader to think that we could have a reference to a reference. If they are all boxes, by can't we make reference thereto? -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: What other languages use the same data model as Python?

2011-05-08 Thread Hans Georg Schaathun
ned by the languagedefined by the language. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: What other languages use the same data model as Python?

2011-05-05 Thread Hans Georg Schaathun
You cannot reference nor manipulate a reference in python, and that IMHO makes them more abstract. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: What other languages use the same data model as Python?

2011-05-05 Thread Hans Georg Schaathun
On Wed, 04 May 2011 20:11:02 -0500, harrismh777 wrote: : A reference is a pointer (an address). : : A value is memory (not an address). Sure, and pointers (from a hardware or C perspective) are memory, hence pointers are values. -- :-- Hans Georg -- http://mail.python.org/mailman

Re: What other languages use the same data model as Python?

2011-05-05 Thread Hans Georg Schaathun
the better result, but relying on human input when the work can be automated is ridiculously expensive. Now, python is only one level above C in abstraction, but that's a different matter. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: What other languages use the same data model as Python?

2011-05-04 Thread Hans Georg Schaathun
function. Well, call-by-name is not the same as transmission by name either. Transmission by name is what most posters here call call by reference, and transmission by reference is what this thread calls object sharing or call by object. No wonder I started off confused :-) It is better now. --

Re: What other languages use the same data model as Python?

2011-05-04 Thread Hans Georg Schaathun
e, this is useful as /one/ way to consider python variables. As long as one is aware that this is just an example, one approach out of many, then it enhances understanding. If one blindly extrapolates from one implementation, it enhances misunderstanding. -- :-- Hans Georg -- http://mail.python.o

Re: What other languages use the same data model as Python?

2011-05-04 Thread Hans Georg Schaathun
On Wed, 04 May 2011 14:33:34 -0500, harrismh777 wrote: : Hans Georg Schaathun wrote: : > In C it is pass by value, as the pointer : > is explicit and do whatever you want with the pointer value. : : You clearly are not a C programmer. I am not really a programmer period. I am many

Re: What other languages use the same data model as Python?

2011-05-04 Thread Hans Georg Schaathun
lid for that one interpreter. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: What other languages use the same data model as Python?

2011-05-04 Thread Hans Georg Schaathun
table. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: What other languages use the same data model as Python?

2011-05-04 Thread Hans Georg Schaathun
make sense. And pass-by-value where the value is a reference is just confusing. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: What other languages use the same data model as Python?

2011-05-04 Thread Hans Georg Schaathun
inking in this model for years. Maybe : I'm brainwashed. :) You are. You explain Python in terms of C. That's useful when you talk to other speakers of C. If you want to explain the language to a broader audience, you should use terminology from the language's own level of abst

Re: What other languages use the same data model as Python?

2011-05-04 Thread Hans Georg Schaathun
sharing in Wikipedia. What Wikipedia calls call by reference is transmission by name in the Simula context. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: What other languages use the same data model as Python?

2011-05-03 Thread Hans Georg Schaathun
l mutually exclusive though. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: What other languages use the same data model as Python?

2011-05-03 Thread Hans Georg Schaathun
n different ways. Whether you use C or Simula, transmission by reference, that is what python appears to be doing, seems to be the normal approach for any composite data type. Thus python does not seem to do anything out of the ordinary at all. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: What other languages use the same data model as Python?

2011-05-03 Thread Hans Georg Schaathun
t my hand around exactly what this means: Simula has three ways of transmitting arguments, namely transmission by name, by value, and by reference. Is transmission by name the same as call by object? Anyway, I have never seen anyone counting more than three ways of doing this ... -- :-- Hans

Re: Fibonacci series recursion error

2011-05-03 Thread Hans Georg Schaathun
#x27;ll produce better code. THAT is what distinguishes the : master from the novice. That depends on /what/ your career is, and what you need to master. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

Re: Fibonacci series recursion error

2011-05-02 Thread Hans Georg Schaathun
language for you. It isn't the trade-off per se which bothers me, but certain features which seem to make compilation harder without making development any easier. But then, it probably depeds on what kind of development you are doing. -- :-- Hans Georg -- http://mail.python.org/mailman/

Re: Fibonacci series recursion error

2011-05-02 Thread Hans Georg Schaathun
t it is not an issue. Sometimes it isn't, but sometimes it is. The other arguments are valid. And they make me lean more towards more static, compiled languages without the excessive run-time dynamism of python. -- :-- Hans Georg -- http://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   5   >