[issue45263] round displays 2 instead of 3 digits

2021-09-22 Thread Kenneth Fossen
New submission from Kenneth Fossen : When round is given 3 as argument for number of decimal points, the expected behaviour is to return a digit with 3 decimal points Example: ig1 = 0.4199730940219749 ig2 = 0.4189730940219749 print(round(ig1, 3)) # 0.42 expected to be 0.420 print(round(ig2

Backend Python Developer need in NYC ASAP!

2019-05-13 Thread Kenneth Partyka
I have an immediate need for a Backend Python Developer in New York City (SoHo) paying from $70-100/hour. This is an onsite position lasting 3-6 months on a W-2 (no sponsorship, C2C or 1099 is available). Remote work is not an option. What you’ll do: • design, develop, and deploy innovative

[issue34453] ipaddress module accepts some strange IPv6 addresses that it shouldn't

2018-08-25 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: that's interesting, michael: it means that all of the IPv6 validators online are wrong, like this one! https://formvalidation.io/guide/validators/ip/ -- ___ Python tracker <https://bugs.python.

[issue34428] tokenize

2018-08-25 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: yep good call terry, not getting any response from the autopep8 developer, and i believe it was down to a loop where the text is being thrown line-by-line at tokenize and it was losing critical state information. so... not a bug in tokenize

[issue34453] ipaddress module accepts some strange IPv6 addresses that it shouldn't

2018-08-24 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: hi prudvi: i have absolutely no idea. i am simply running test validators online, which show and confirm that they are correctly INVALID. a google search shows a number of IPv6 validators: https://www.google.co.uk/search?q=ipv6+address

[issue34453] ipaddress module accepts some strange IPv6 addresses that it shouldn't

2018-08-22 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: > Hi lkcl, are you working on the fix? I'd like to work on it. hi prudvi, i'm not: i'm simply making people aware that there's an issue that needs to be addressed (pun intended) -- ___ Python trac

[issue34453] ipaddress module accepts some strange IPv6 addresses that it shouldn't

2018-08-21 Thread Luke Kenneth Casson Leighton
New submission from Luke Kenneth Casson Leighton : adding some unit tests to some code being written, searched randomly on the internet for an IPv6 test suite and found one in php *shudder* # https://github.com/gws/ipv6-address-test/blob/master/Tests/Ipv6TestCase.php converted it to python

[issue34428] tokenize

2018-08-18 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: ahh darn-it, autopep8 is passing in tokens line-by-line, to be parsed one at a time oh and of course it's losing state information that tokenizer critically relies on. i *think* that's what's going on so it's highly unlikely

[issue34428] tokenize

2018-08-18 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: wtf??? neither can i import io import tokenize text = r'''\ ( r"\(") ( "\(") ''' string_io = io.StringIO(text) tokens = list( tokenize.generate_tokens(string_io.readline) ) print (tokens) works perfectly. ok

[issue34428] tokenize

2018-08-18 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: regular expressions are not something i am familiar or comfortable with (never have been: the patterns are too dense). however REMOVING "Bracket" from the regular expression(s) for PseudoToken "fixes" the problem. some de

[issue34428] tokenize

2018-08-18 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: python2.7 and 3.5 also has exact same issue. -- versions: +Python 2.7, Python 3.5 ___ Python tracker <https://bugs.python.org/issue34

[issue34428] tokenize

2018-08-18 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: these two line also pass (do not throw an exception): co = re.compile( r"\(") the code that fails may be further reduced to the following: ( "\(") -- ___ Py

[issue34428] tokenize

2018-08-18 Thread Luke Kenneth Casson Leighton
New submission from Luke Kenneth Casson Leighton : https://github.com/hhatto/autopep8/issues/414 the following two lines of code are not parseable by tokenize.py: co = re.compile( "\(") the combination of: * being split on two lines * having a backslash inside quote

[issue33174] compiler error building the _sha3 module with Intel 2018 compilers

2018-06-20 Thread Kenneth Hoste
Kenneth Hoste added the comment: Fully agreed that this is not something that should be fixed in the Python code base. Moreover, the problem has been fixed in Intel compilers 2018 update 3 as far as I can tell (tested with both Python 3.6.4 and 3.7.0rc1). I can't reproduce the problem

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-06-20 Thread Kenneth Hoste
Kenneth Hoste added the comment: After a bit of back and forth, we have figured out the underlying cause for the problem with the Intel compiler: if the stack limit is not set to a specific value (see output of "ulimit -s"), the Intel compilers fail with a segfault or Interal Comp

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-06-19 Thread Kenneth Hoste
Kenneth Hoste added the comment: @William: someone in the EasyBuild community seems to have figured out the culprit, and came up with a patch to work around the problem, see https://github.com/easybuilders/easybuild-easyconfigs/pull/6447/files#diff-bdbfca2206414b3b37794b77c0abb8e8 . Any

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-04-29 Thread Kenneth Hoste
Kenneth Hoste <kenneth.ho...@ugent.be> added the comment: Willian: on which OS and (Intel?) processor generation are you seeing this? We're not seeing this on CentOS 7.4.1708 with Python 3.6.4 and icc 18.0.1.163 on Intel Haswell or Intel Skylake. We have seen this with other software on

[issue33054] unittest blocks when testing function using multiprocessing.Pool with state spawn

2018-03-12 Thread Kenneth Chik
New submission from Kenneth Chik <tarotc...@gmail.com>: I am not sure if this is python or OS problem, I just installed Ubuntu 18.04 LTS which comes with python3 v3.6.4. When I try to unittest code which contains multiprocessing.Pool with spawn, the unittest.main() blocks after completin

[issue31100] unable to open python

2017-08-01 Thread Kenneth Griffin
New submission from Kenneth Griffin: tried installing multiple versions of 3.6 on windows. the installation works. However, when trying to put python --version in the command line of powershell, i get a pop up that says python has stopped working. -- components: Installation messages

Obtain Ceritificate Information from Invalid or Self-Signed Certificate in Python

2017-04-03 Thread Kenneth Buckler
I'm working on a Python 2.7.13 (Win x64) script to verify SSL certificates, and alert for problems. Specifically, I'm looking to return the date the cert expires or did expire. However, I'm running into an issue where the script will return information only if the certificate is valid. If the

3.5.2

2016-10-25 Thread Kenneth L Stege
Im running windows 7 pro, 64 bit. I downloaded 3.5.2 64 bit and when I try to run I get the error message  api-ms-win-crt-runtime-l1-1-0.dll is missing. I loaded that file and still will not run.   suggestions? thanks -- https://mail.python.org/mailman/listinfo/python-list

[issue22450] urllib doesn't put Accept: */* in the headers

2016-09-09 Thread Kenneth Reitz
Kenneth Reitz added the comment: I fully second Corey's comment. -- nosy: +kennethreitz ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26988] Add AutoNumberedEnum to stdlib

2016-08-19 Thread Kenneth Reitz
Kenneth Reitz added the comment: There's a difference between boiler-plate and "code". > On Aug 19, 2016, at 10:53 AM, Ethan Furman <rep...@bugs.python.org> wrote: > > > Ethan Furman added the comment: > > No magic, but

[issue26988] Add AutoNumberedEnum to stdlib

2016-08-19 Thread Kenneth Reitz
Kenneth Reitz added the comment: Explicit is better than implicit :) -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26988> ___ __

[issue26988] Add AutoNumberedEnum to stdlib

2016-08-19 Thread Kenneth Reitz
Kenneth Reitz added the comment: This addition to Python, specifically the bare assignment-free `red` syntax would be a huge mistake for the language. It looks like a syntax error to me, and completely destroys my mental model for how Python code either does work or should work. A simple

[issue27160] str.format: Silent truncation of kwargs when passing keywords containing colons

2016-05-30 Thread Kenneth Lim
Kenneth Lim added the comment: Ah, so the truncation is fully intended behavior. As for the name, a touch too many comic-books in the past might be the reason I latched onto "Barry" as a first name. Thanks for the clarification. On Tue, May 31, 2016 at 12:37 AM, Emanuel

[issue27160] str.format: Silent truncation of kwargs when passing keywords containing colons

2016-05-30 Thread Kenneth Lim
Kenneth Lim added the comment: Hi Barry, I was aware of that. However, I was alluding to the KeyError produced, and the silent truncation of the text. Rather than failing at the colon step (SyntaxError when on run), truncated arguments pass this step, causing errors downstream. On Mon, May 30

[issue27160] Silent truncation of kwargs when passing keywords containing colons

2016-05-30 Thread Kenneth Lim
New submission from Kenneth Lim: Passing a dict with colon-containing keys as kwargs to a function results in a KeyError stemming from a silent truncation of the keys. Error does not clearly describe the issue in this case. -- components: Interpreter Core files: poc.py messages

Newbie: Designer Looking to Build Graphics Editor (PS/AI)

2015-10-02 Thread Kenneth L
I'm a graphic designer. I'm new to Python. I know html, css, alittle actioscript and little javascript. I actually build an iOS using Flash. I understand programming concepts I believe. I'd like to build a Illustrator/Photoshop like program. Why, there are some features that I'd like to

Re: Newbie: Designer Looking to Build Graphics Editor (PS/AI)

2015-10-02 Thread Kenneth L
I tried to use gimp but as a photoshop user it was horrible. I was trying to like it. That is a great idea tearing down gimp. that is how I learn html and css. Breakin down websites. -- https://mail.python.org/mailman/listinfo/python-list

Re: Newbie: Designer Looking to Build Graphics Editor (PS/AI)

2015-10-02 Thread Kenneth L
Well 15 years ago when I was 15 I wanted to model cars in 3D. It took me 100 hours and 5-10 years but I can modeling a realistic vehicle and other objects in 3d. It was time consuming and challenging but it was worth it. And honestly I've used my 3d modeling skills to build displays and

Re: Newbie: Designer Looking to Build Graphics Editor (PS/AI)

2015-10-02 Thread Kenneth L
No don't tell me what to do. I joined the military 3 years ago. You wouldn't believe the stuff I wasn't able to do before but now I am. You can keep your advice to yourself. I wasn't asking for something simple. I was asking for a starting point. The 3d was to show you I've learned hard stuff

[issue12271] panel.h is not found even if it's installed on various flavours of SUSE

2013-03-29 Thread Kenneth O'Brien
Kenneth O'Brien added the comment: Removed generated files from patch. Requesting review. -- Added file: http://bugs.python.org/file29608/ken-ncurses-suse-update.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12271

[issue12271] panel.h is not found even if it's installed on various flavours of SUSE

2013-03-27 Thread Kenneth O'Brien
Kenneth O'Brien added the comment: I have created a simple patch that solves this problem. Depending on whether panel.h or ncurses/panel.h are found, the appropriate one is included. -- nosy: +Kenneth.O'Brien Added file: http://bugs.python.org/file29594/ken_ncurses.patch

[issue5051] test_update2 in test_os.py invalid due to os.environ.clear() followed by reliance on environ COMSPEC

2013-03-18 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: that's not the correct solution, ned. what that will do is when someone runs a combination of python and MSYS under wine, the test will be skipped incorrectly. thanks to the work that i did back in 2009, wine has now been improved significantly

[issue5051] test_update2 in test_os.py invalid due to os.environ.clear() followed by reliance on environ COMSPEC

2013-03-18 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: hi ned, well, the situation surrounding the bug-reporting that i was doing at the time was a general campaign of this person is obviously wasting our time because they're developing yet another port/platform, that is obviously a waste of our

[issue3871] cross and native build of python for mingw* hosts

2013-01-26 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton added the comment: the last time this was brought up on python-dev the opinions of the primary python developers was made very very clear: anything that is not written by them is treated with extreme hostile and predudicial contempt. what i mean

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-30 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: distutils2 is the place to add such new features. you're not getting it. you've just told both this mingw32 project and also the new effort by ray that they can go fuck themselves, because their efforts are a total waste of time

[issue3871] cross and native build of python for mingw32 with packaging

2012-06-30 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: The feature freeze applies to all branches. Even when 3.4 starts, the same rule that has been repeatedly explained for two years will apply: no new features in distutils. Again, neither Tarek nor I are happy about

pyjamas 0.8.1 - help requested for testing to reach stable release

2012-05-01 Thread Luke Kenneth Casson Leighton
hi folks, got a small favour to ask of the python community - or, more specifically, i feel compelled to alert the python community to a need with which you may be able to help: we're due for another release, and it's becoming an increasingly-large task. given the number of examples requiring

pyjamas pyjs.org domain has been hijacked

2012-05-01 Thread Luke Kenneth Casson Leighton
i have an apology to make to the python community. about 3 or 4 months ago a number of the pyjamas users became unhappy that i was sticking to software (libre) principles on the pyjamas project. they saw the long-term policy that i had set, of developing python-based pyjamas-based infrastructure

Re: pyjamas pyjs.org domain has been hijacked

2012-05-01 Thread Luke Kenneth Casson Leighton
... i'm reeally really sorry about this, but it suddenly dawned on me that, under UK law, a breach of the UK's data protection act has occurred, and that the people responsible for setting up the hijacked services have committed a criminal offense under UK law. ordinarily, a free software mailing

[ANN] Pyjamas-Gitweb 0.1 released

2012-04-18 Thread Luke Kenneth Casson Leighton
http://pypi.python.org/pypi/Pyjamas-GitWeb/0.1 Pyjamas-Gitweb is a pure python git repository browser, comprising an independent JSONRPC back-end service written in 130 lines that can be used by any JSONRPC client (a python command-line example is included), and a front-end python (pyjamas)

[ANN] Pyjamas-Gitweb 0.1 released

2012-04-18 Thread Luke Kenneth Casson Leighton
http://pypi.python.org/pypi/Pyjamas-GitWeb/0.1 Pyjamas-Gitweb is a pure python git repository browser, comprising an independent JSONRPC back-end service written in 130 lines that can be used by any JSONRPC client (a python command-line example is included), and a front-end python (pyjamas)

Pyjamas 0.8.1~+alpha1 released

2012-04-16 Thread Luke Kenneth Casson Leighton
This is the 0.8.1~+alpha1 release of Pyjamas. Pyjamas comprises several projects, one of which is a stand-alone python-to-javascript compiler; other projects include a Graphical Widget Toolkit, such that pyjamas applications can run either in web browsers as pure javascript (with no plugins

[issue3871] cross and native build of python for mingw32 with packaging

2011-08-25 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: eric, if you recall there was some discussion that it was acceptable to use distutils but *only* for python 2.N (on the basis that its use is so well entrenched that it would be impossible to force python2.N applications to start

Re: Refactor/Rewrite Perl code in Python

2011-07-25 Thread J Kenneth King
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info writes: On Sun, Jul 24, 2011 at 7:29 PM, Shashwat Anand anand.shash...@gmail.com wrote: How do I start ? The idea is to rewrite module by module. But how to make sure code doesn't break ? By testing it. Read up on test driven

Re: Functional style programming in python: what will you talk about if you have an hour on this topic?

2011-07-13 Thread J Kenneth King
Anthony Kong anthony.hw.k...@gmail.com writes: (My post did not appear in the mailing list, so this is my second try. Apology if it ends up posted twice) Hi, all, If you have read my previous posts to the group, you probably have some idea why I asked this question. I am giving a few

Re: Question about pyjamas inner workings (pyjd's version of imputil.py)

2011-06-08 Thread Luke Kenneth Casson Leighton
[i'm bcc'ing this to python-list because it's something that is generic to python, not pyjamas] On Tue, Jun 7, 2011 at 4:38 PM, Alexander Tsepkov atsep...@gmail.com wrote: I'm working on a python-based side project where I want to be able to generate multiple variations of the program and I

pythonwebkit-gtk, pythonwebkit-dfb

2011-05-16 Thread Luke Kenneth Casson Leighton
in preparation for a 0.8 release of pyjamas, a bit of work has been done on pythonwebkit (http://www.gnu.org/software/pythonwebkit) that makes it easier to compile and install. pythonwebkit provides full and complete (see caveats below!) bindings to web browser functionality... in python. what

[ann] pyjamas 0.8alpha1 release

2011-05-04 Thread Luke Kenneth Casson Leighton
after a long delay the pyjamas project - http://pyjs.org - has begun the 0.8 series of releases, beginning with alpha1: https://sourceforge.net/projects/pyjamas/files/pyjamas/0.8/ pyjamas is a suite of projects, including a python-to-javascript compiler with two modes of operation (roughly

[ann] pyjamas 0.8alpha1 release

2011-05-04 Thread Luke Kenneth Casson Leighton
after a long delay the pyjamas project - http://pyjs.org - has begun the 0.8 series of releases, beginning with alpha1: https://sourceforge.net/projects/pyjamas/files/pyjamas/0.8/ pyjamas is a suite of projects, including a python-to-javascript compiler with two modes of operation (roughly

Re: [ann] pyjamas 0.8alpha1 release

2011-05-04 Thread Luke Kenneth Casson Leighton
On Wed, May 4, 2011 at 3:06 PM, Luke Kenneth Casson Leighton l...@lkcl.net wrote: after a long delay the pyjamas project - http://pyjs.org - has begun the 0.8 series of releases, beginning with alpha1: https://sourceforge.net/projects/pyjamas/files/pyjamas/0.8/ pyjamas is a suite

[issue5043] get_msvcr() returns None rather than []

2010-11-27 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: i'm really sorry, eric, but the decision to ban me from interacting with python developers for 18 months+ has left me with zero working knowledge of many of these complex issues which i was heavily and actively involved

[ANN] PythonWebkit bindings for WebkitDFB

2010-11-25 Thread Luke Kenneth Casson Leighton
WebkitDFB is an experimental port to allow the webkit web browser engine to use DirectFB (http://directfb.org). It is lightning-quick to start up (no large widget set to load), yet has the potential to provide full HTML5 functionality. The PythonWebkit project,

[ANN] PythonWebkit bindings for WebkitDFB

2010-11-25 Thread Luke Kenneth Casson Leighton
WebkitDFB is an experimental port to allow the webkit web browser engine to use DirectFB (http://directfb.org). It is lightning-quick to start up (no large widget set to load), yet has the potential to provide full HTML5 functionality. The PythonWebkit project,

[issue3871] cross and native build of python for mingw32 with distutils

2010-11-15 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: I disagree; i would say that you're entitled to disagree, but i have to point out that unless you've actually been through the process of trying to port python to mingw32 you're not really in a position of ... how can i put

[issue3871] cross and native build of python for mingw32 with distutils

2010-11-15 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: perhaps, amaury, you might like to, instead of saying i disagree, you might like instead to say something like this: that sounds... interesting, and a little scary - creating an entirely new platform! are you absolutely sure it's

[issue3871] cross and native build of python for mingw32 with distutils

2010-11-13 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: I am not sure how we should do this, but here's my proposal for distutils2 at least: - make this new feature a standalone package that patches distutils - release it for 2.x - let's add your work in distutils2 as well, so it's

[issue3871] cross and native build of python for mingw32 with distutils

2010-11-13 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: The current patch makes too many changes in core distutils functions; it cannot be accepted in this form. I'm sure that most of the needed changes can be made in a subclass of the present Mingw32CCompiler. that's what i did when

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2010-11-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: erik, i'm really sorry, but the freeze on distutils simply cannot be accepted: there really is no other way, as you can see from the previous walkthrough analysis, and is reinforced by the further analysis below. simply put

[issue3781] warnings.catch_warnings fails gracelessly when recording warnings but no warnings are emitted

2010-11-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: NUTS. many apologies: my comments should have gone to issue 3871 not 3781. arse! is it possible to delete comments? :) -- ___ Python tracker rep...@bugs.python.org http

[issue3871] cross and native build of python for mingw32 with distutils

2010-11-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: erik, i'm really sorry, but the freeze on distutils simply cannot be accepted: there really is no other way, as you can see from the previous walkthrough analysis, and is reinforced by the further analysis below. simply put

[issue3871] cross and native build of python for mingw32 with distutils

2010-11-12 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: I'm trying to read the patch. It contains many interesting things (and others I have no opinon about), but it is very large, and makes it difficult to comment or find why some change were made etc. amaury: unfortunately

Re: web and standalone access

2010-10-16 Thread Luke Kenneth Casson Leighton
On Tue, Aug 3, 2010 at 6:15 PM, S.Selvam s.selvams...@gmail.com wrote: I have a case where my application needs to run as a standalone application and also allow web based access. What could the best python framework to implement it. well, the total number of options available is about err...

[ANN] pywebkit - python bindings for webkit DOM (alpha)

2010-10-07 Thread Luke Kenneth Casson Leighton
i've been kindly sponsored by http://www.samurai.com.br to create direct python bindings to webkit's DOM: http://www.gnu.org/software/pythonwebkit/ the significance of this project is that it makes python a peer of javascript when it comes to manipulating HTML through DOM functions (including

Re: cPickle segfault with nested dicts in threaded env

2010-09-09 Thread Kenneth Dombrowski
, Kenneth -- http://mail.python.org/mailman/listinfo/python-list

[issue9812] cPickle segfault with nested dicts in threaded env

2010-09-09 Thread Kenneth Dombrowski
New submission from Kenneth Dombrowski kdombrow...@gmail.com: FreeBSD 8.0-RELEASE-p2 Python 2.5.5 amd64 attached diff provides a test for cpickle which reproduces a segfault when pickling 15 nested dicts in a threaded environment cpickle.patch attached to http://bugs.python.org/issue3640

cPickle segfault with nested dicts in threaded env

2010-09-08 Thread Kenneth Dombrowski
) t.start() Any thoughts will be appreciated, thanks for looking, Kenneth -- http://mail.python.org/mailman/listinfo/python-list

[issue3871] cross and native build of python for mingw32 with distutils

2010-09-08 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: sorry to have to ask, but could we get some feedback please so that this issue may move forward? currently there is a conflict between what is required and what is stated as being absolute law. let's imagine that it is reasonable

[ANN] git peer-to-peer bittorrent experiment: first milestone reached

2010-09-01 Thread Luke Kenneth Casson Leighton
http://gitorious.org/python-libbittorrent/pybtlib this is to let people know that a first milestone has been reached in an experiment to combine git with a file-sharing protocol, thus making it possible to use git for truly distributed software development and other file-revision-management

[issue3871] cross and native build of python for mingw32 with distutils

2010-08-24 Thread Luke Kenneth Casson Leighton
Luke Kenneth Casson Leighton l...@lkcl.net added the comment: On Sun, Aug 8, 2010 at 12:27 AM, Éric Araujo rep...@bugs.python.org wrote: Éric Araujo mer...@netwok.org added the comment: FYI, distutils is frozen because even minor bug fixes have broken third-party tools in the past, that’s

[issue504152] rfc822 long header continuation broken

2010-08-17 Thread Kenneth Arnold
Changes by Kenneth Arnold kenneth.arn...@gmail.com: -- nosy: -kcarnold ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue504152 ___ ___ Python-bugs

Re: math symbols in unicode (grouped by purpose)

2010-08-15 Thread Kenneth Tilton
On 8/13/2010 5:18 PM, Xah Lee wrote: some collection of math symbols in unicode. • Math Symbols in Unicode http://xahlee.org/comp/unicode_math_operators.html I am surprised you do not include the numeric character codes. kt • Arrows in Unicode

Re: python interview quuestions

2010-08-10 Thread J Kenneth King
James Mills prolo...@shortcircuit.net.au writes: On Sat, Aug 7, 2010 at 4:32 AM, Tim Chase python.l...@tim.thechases.com wrote: I would like to aquint myself with Python Interview questions This came up a while ago: http://www.mail-archive.com/python-list@python.org/msg168961.html Most

HL7 v3 (XML) importer

2010-08-07 Thread Luke Kenneth Casson Leighton
an HL7 v2 importer was written by john paulett, and it has been enhanced to support some of the HL7 v3 standard, which is XML-based. no dependencies are required: xml.sax is used so as to reduce the dependencies to purely python. additionally, as HL7 has versions/revisions, published data

HL7 v3 (XML) importer

2010-08-06 Thread Luke Kenneth Casson Leighton
an HL7 v2 importer was written by john paulett, and it has been enhanced to support some of the HL7 v3 standard, which is XML-based. no dependencies are required: xml.sax is used so as to reduce the dependencies to purely python. additionally, as HL7 has versions/revisions, published data

Re: Fascinating interview by Richard Stallman at KTH on emacs history and internals

2010-07-18 Thread Kenneth Tilton
Lawrence D'Oliveiro wrote: In message bd2d1d84-6090-4898-b7c2-59167fc8e...@c10g2000yqi.googlegroups.com, Nick Keighley wrote: On 16 July, 09:24, Mark Tarver dr.mtar...@ukonline.co.uk wrote: On 15 July, 23:21, bolega gnuist...@gmail.com wrote: http://www.gnu.org/philosophy/stallman-kth.html

Re: death of newsgroups (Microsoft closing their newsgroups)

2010-07-14 Thread Kenneth Tilton
Steven D'Aprano wrote: On Tue, 13 Jul 2010 23:24:12 -0400, Kenneth Tilton wrote: The moral? If you look for the spam, you'll find it. And if you *don't* look for spam, you can be sure that some goose will reply to it and get it past your filters. Thanks for that Kenneth, if that is your

Re: multitask http server (single-process multi-connection HTTP server)

2010-07-13 Thread Luke Kenneth Casson Leighton
On Tue, Jul 13, 2010 at 1:30 AM, Tim Wintle tim.win...@teamrubber.com wrote: On Mon, 2010-07-12 at 23:28 +, Luke Kenneth Casson Leighton wrote: On Mon, Jul 12, 2010 at 10:13 PM, geremy condra debat...@gmail.com wrote: On Mon, Jul 12, 2010 at 4:59 PM, lkcl luke.leigh...@gmail.com wrote

Re: death of newsgroups (Microsoft closing their newsgroups)

2010-07-13 Thread Kenneth Tilton
Xah Lee wrote: • Death of Newsgroups http://xahlee.org/UnixResource_dir/writ2/death_of_newsgroups.html plain text version follows. -- Death of Newsgroups Xah Lee, 2010-07-13 Microsoft is closing down their newsgroups. See:

Re: multitask http server (single-process multi-connection HTTP server)

2010-07-12 Thread Luke Kenneth Casson Leighton
On Mon, Jul 12, 2010 at 10:13 PM, geremy condra debat...@gmail.com wrote: On Mon, Jul 12, 2010 at 4:59 PM, lkcl luke.leigh...@gmail.com wrote: for several reasons, i'm doing a cooperative multi-tasking HTTP server:  git clone git://pyjs.org/git/multitaskhttpd.git there probably exist

grailbrowser now running under python 2.5 (probably above too)

2010-07-11 Thread Luke Kenneth Casson Leighton
source at: http://github.com/lkcl/grailbrowser $ python grail.py (note the lack of python1.5 or python2.4) conversion of the 80 or so regex's to re has been carried out. entirely successfully or not is a matter yet to be determined. always a hoot to try browsing http://www.bbc.co.uk or

grailbrowser now running under python 2.5 (probably above too)

2010-07-10 Thread Luke Kenneth Casson Leighton
source at: http://github.com/lkcl/grailbrowser $ python grail.py (note the lack of python1.5 or python2.4) conversion of the 80 or so regex's to re has been carried out. entirely successfully or not is a matter yet to be determined. always a hoot to try browsing http://www.bbc.co.uk or

[ANN] git JSONRPC web service and matching pyjamas front-end

2010-06-30 Thread Luke Kenneth Casson Leighton
as more than just a proof-of-concept but to get pyjamas out of looking like a nice toy, doesn't do much, great demos, shame about real life, i've created yet another git repository browser. this one, thanks to pyjamas, obviously runs as both a desktop application and also as a web application -

[ANN] git JSONRPC web service and matching pyjamas front-end

2010-06-29 Thread Luke Kenneth Casson Leighton
as more than just a proof-of-concept but to get pyjamas out of looking like a nice toy, doesn't do much, great demos, shame about real life, i've created yet another git repository browser. this one, thanks to pyjamas, obviously runs as both a desktop application and also as a web application -

Re: List of lists surprising behaviour

2010-06-17 Thread J Kenneth King
candide cand...@free.invalid writes: Let's the following code : t=[[0]*2]*3 t [[0, 0], [0, 0], [0, 0]] t[0][0]=1 t [[1, 0], [1, 0], [1, 0]] Rather surprising, isn't it ? Not at all, actually. I'd be surprised if the multiplication operator was aware of object constructors. Even

Re: Which is the best implementation of LISP family of languages for real world programming ?

2010-06-10 Thread Kenneth Tilton
bolega wrote: Which is the best implementation of LISP family of languages for real world programming ? http://wiki.alu.org/Implementation Kindly pick one from commercial and one from open-source . ACL and SBCL The criteria is : libraries, gui interface and builder, libraries for TCP,

[ANN] pyjamas 0.7 released

2010-04-25 Thread Luke Kenneth Casson Leighton
pyjamas - the stand-alone python-to-javascript compiler, and separate GUI Widget Toolkit, has its 0.7 release, today. this has been much delayed, in order to allow the community plenty of time between the 0.7pre2 release and the final release, to review and test all the examples. pyjamas allows

[ANN] pyjamas 0.7 released

2010-04-25 Thread Luke Kenneth Casson Leighton
pyjamas - the stand-alone python-to-javascript compiler, and separate GUI Widget Toolkit, has its 0.7 release, today. this has been much delayed, in order to allow the community plenty of time between the 0.7pre2 release and the final release, to review and test all the examples. pyjamas allows

Re: Can someone please make it more pythonic or better?

2010-04-19 Thread J Kenneth King
Oltmans rolf.oltm...@gmail.com writes: Greetings Python superstars, I've a directory structure like following tests / __init__.py testfile.py testfile.py contains following code import unittest class Calculator(unittest.TestCase): def test_add(self): print

[issue7945] typo in operator.isCallable deprecation warning

2010-02-16 Thread kenneth dombrowski
New submission from kenneth dombrowski kenneth-pyt...@ylayali.net: The operator documentation @ http://docs.python.org/library/operator.html states for operator.isCallable(obj): Deprecated since version 2.0: Use isinstance(x, collections.Callable) instead., I believe this should read since

Re: Overcoming python performance penalty for multicore CPU

2010-02-08 Thread J Kenneth King
Paul Rubin no.em...@nospam.invalid writes: Stefan Behnel stefan...@behnel.de writes: Well, if multi-core performance is so important here, then there's a pretty simple thing the OP can do: switch to lxml. http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/ Well, lxml is

Re: Object Relational Mappers are evil (a meditation)

2009-12-29 Thread J Kenneth King
Steven D'Aprano st...@remove-this-cybersource.com.au writes: On Wed, 23 Dec 2009 10:55:19 -0500, J Kenneth King wrote: Steven D'Aprano st...@remove-this-cybersource.com.au writes: On Mon, 21 Dec 2009 11:44:29 -0500, J Kenneth King wrote: A programmer that lacks critical thinking is a bad

Re: Object Relational Mappers are evil (a meditation)

2009-12-23 Thread J Kenneth King
Steven D'Aprano st...@remove-this-cybersource.com.au writes: On Mon, 21 Dec 2009 11:44:29 -0500, J Kenneth King wrote: A programmer that lacks critical thinking is a bad programmer. The language they use has no bearing on such human facilities. That's nonsense, and I can demonstrate

Re: Object Relational Mappers are evil (a meditation)

2009-12-21 Thread J Kenneth King
Lie Ryan lie.1...@gmail.com writes: On 12/17/2009 3:17 PM, J Kenneth King wrote: A language is a thing. It may have syntax and semantics that bias it towards the conventions and philosophies of its designers. But in the end, a language by itself would have a hard time convincing a human

Re: Object Relational Mappers are evil (a meditation)

2009-12-16 Thread J Kenneth King
Steven D'Aprano st...@remove-this-cybersource.com.au writes: On Fri, 11 Dec 2009 19:20:21 -0500, Steve Holden wrote: Simon Forman wrote: [...] As far as the OP rant goes, my $0.02: bad programmers will write bad code in any language, with any tool or system or environment they're given.

Re: Object Relational Mappers are evil (a meditation)

2009-12-16 Thread J Kenneth King
r0g aioe@technicalbloke.com writes: J Kenneth King wrote: Steven D'Aprano st...@remove-this-cybersource.com.au writes: On Fri, 11 Dec 2009 19:20:21 -0500, Steve Holden wrote: snip Hear, hear! That's all very well, but some languages and techniques encourage the programmer to write

Re: Object Relational Mappers are evil (a meditation)

2009-12-16 Thread J Kenneth King
Neil Cerutti ne...@norwich.edu writes: On 2009-12-16, J Kenneth King ja...@agentultra.com wrote: The language doesn't encourage anything. It's just a medium like oil paints and canvas. A painting can be good or bad despite the medium it is constructed on. The skill of the painter is what

Re: Perl to Python conversion

2009-12-10 Thread J Kenneth King
martin.sch...@gmail.com (Martin Schöön) writes: First off: I am new here and this is my first post after lurking for quite some time. Hi. Second off: I don't know much Python---yet. It's not a very big language. If you have experience programming in other languages, you can probably pick it

  1   2   3   4   5   >