On 22/03/17 21:57, M. R.P. wrote:
does anyone know were I can [find?] python source code programs?
Are you looking for the source to a Python language implementation
itself? If so, see this link:
https://www.python.org/downloads/
If not, what are you looking for, exactly? What sort of Pytho
On 03/22/2017 05:57 PM, M. R.P. wrote:
does anyone know were I can python source code programs?
The source code for cpython (i.e. the most common interpreter) can be
found here:
https://www.python.org/downloads/source/
https://github.com/python/cpython
Unless you mean the so
On 9/10/2016 11:27 AM, Steve D'Aprano wrote:
On Sun, 11 Sep 2016 01:04 am, Steve D'Aprano wrote:
I ran hg fetch to update the CPython repo.
I use pull (to local repository) and update (working directory)
separately in the following script (pull.bat), based on either the
devguide or what Tor
On 2016-09-10 15:27:07 +, Steve D'Aprano said:
Never mind. I got bored and frustrated and Ctrl-C'ed the process and ran it
again. This time it took about 15 seconds to complete.
Out of curiosity I checked for python debugger with "attach" feature
(aking to gdb/lldb) and I found a few but
On Sun, 11 Sep 2016 01:04 am, Steve D'Aprano wrote:
> I ran hg fetch to update the CPython repo.
>
> It has been stuck on "adding changesets" for half an hour. I don't know if
> that's because the process has locked up, or because there really are that
> many new changesets and it will simply tak
Jabba Laci wrote:
> As a university project, I would like to work on an automated
> converter that transforms a Python source code to C++ or Java (not yet
> decided but I would vote on Java since it seems less complicated).
> Do you know if it's already done? What other similar projects are you
>
Saw a talk at a Python usergroup today which talked about: Ply
http://www.dabeaz.com/ply/
But you're probably looking for Cython. Python can run of the JRE
e.g.: see Jython.
There was also another one that you can use to build C extensions
with, it was MP... something
On Fri, Mar 8, 2013 at 2:1
Jayden於 2012年9月28日星期五UTC+8下午7時57分14秒寫道:
> Dear All,
>
>
>
> I have a concern in developing commercial code with Python. Someone told me
> that its program can be easily hacked to get its source code. Is it really
> the case? Any way to protect your source code?
>
>
>
> Thanks a lot!
>
>
>
On 9/28/2012 9:19 AM, stu...@molden.no wrote:
kl. 16:38:10 UTC+2 fredag 28. september 2012 skrev Jerry Hill følgende:
This is true, but both java and .net are also relatively easy to decompile.
Neither of them are very "obfuscated".
In general though, why does it matter?
Paranoia among man
kl. 16:38:10 UTC+2 fredag 28. september 2012 skrev Jerry Hill følgende:
> This is true, but both java and .net are also relatively easy to decompile.
Neither of them are very "obfuscated".
> In general though, why does it matter?
Paranoia among managers?
> What are you trying to protect y
On Fri, Sep 28, 2012 at 10:18 AM, wrote:
> Python bytecode is not easier to hack than Java or .NET bytecodes.
This is true, but both java and .net are also relatively easy to decompile.
In general though, why does it matter? What are you trying to protect
yourself against? If you're including
kl. 13:57:14 UTC+2 fredag 28. september 2012 skrev Jayden følgende:
> Dear All, I have a concern in developing commercial code with Python. Someone
> told me that its program can be easily hacked to get its source code. Is it
> really the case? Any way to protect your source code? Thanks a lot! J
On 09/28/2012 02:17 PM, Mark Lawrence wrote:
On 28/09/2012 12:57, Jayden wrote:
Dear All,
I have a concern in developing commercial code with Python. Someone
told me that its program can be easily hacked to get its source code.
Is it really the case? Any way to protect your source code?
Thanks
On 28/09/2012 12:57, Jayden wrote:
Dear All,
I have a concern in developing commercial code with Python. Someone told me
that its program can be easily hacked to get its source code. Is it really the
case? Any way to protect your source code?
Thanks a lot!
Jayden
This question has been as
On 07/15/2010 10:23 AM, Andrew Lucas wrote:
> "svn co http://svn.python.org/projects/python/trunk";
>
> ...
>
> "svn: Server sent unexpected return value (307 Proxy Redirect) in
> response to OPTIONS request for 'http://svn.python.org/projects/python/
> trunk' "
>
Assuming trunk is what you actu
On 7/15/2010 11:23 AM, Andrew Lucas wrote:
I am trying to check-out the python source using subversion. The
documentation says that
Which doc? It probably needs to be changed.
"svn co http://svn.python.org/projects/python/trunk";
I believe 'trunk' is frozen as of the 2.7 release.
I suspect
"Stephen Hansen" wrote in message
news:mailman.2344.1277821469.32709.python-l...@python.org...
> On 6/29/10 12:27 AM, Lawrence D'Oliveiro wrote:
>> In message<4c286d71$0$18654$4fafb...@reader3.news.tin.it>, superpollo
>> wrote:
>>
>>> Lawrence D'Oliveiro ha scritto:
Is it really such a
On 6/29/10 12:27 AM, Lawrence D'Oliveiro wrote:
In message<4c286d71$0$18654$4fafb...@reader3.news.tin.it>, superpollo
wrote:
Lawrence D'Oliveiro ha scritto:
Is it really such a hassle to install things on Windows?
no, but it *IS* to explain it to dumb users... :-(
Can’t you create an inst
In message <4c286d71$0$18654$4fafb...@reader3.news.tin.it>, superpollo
wrote:
> Lawrence D'Oliveiro ha scritto:
>>
>> Is it really such a hassle to install things on Windows?
>
> no, but it *IS* to explain it to dumb users... :-(
Can’t you create an installation package that specifies Python a
Lawrence D'Oliveiro ha scritto:
In message <4c24c152$0$31381$4fafb...@reader1.news.tin.it>, superpollo
wrote:
suppose i work in a linux environment, but i would like to ship a
win/dos executable file from time to time, just for test purposes (my
"testers" are windows users and don't want to go
On Sun, Jun 27, 2010 at 9:16 PM, Lawrence D'Oliveiro
wrote:
> In message <4c24c152$0$31381$4fafb...@reader1.news.tin.it>, superpollo
> wrote:
>
>> suppose i work in a linux environment, but i would like to ship a
>> win/dos executable file from time to time, just for test purposes (my
>> "testers"
On 2010-06-28, Lawrence D'Oliveiro wrote:
> In message <4c24c152$0$31381$4fafb...@reader1.news.tin.it>, superpollo
> wrote:
>
>> suppose i work in a linux environment, but i would like to ship a
>> win/dos executable file from time to time, just for test purposes (my
>> "testers" are windows user
In message <4c24c152$0$31381$4fafb...@reader1.news.tin.it>, superpollo
wrote:
> suppose i work in a linux environment, but i would like to ship a
> win/dos executable file from time to time, just for test purposes (my
> "testers" are windows users and don't want to go through the hassle of
> inst
On 2010-06-25, superpollo wrote:
> suppose i work in a linux environment, but i would like to ship a
> win/dos executable file from time to time, just for test purposes (my
> "testers" are windows users and don't want to go through the hassle
> of installing python on their win boxes). what is t
En Thu, 08 Mar 2007 13:13:23 -0300, Alan Franzoni
<[EMAIL PROTECTED]> escribió:
> this
> container does create a copy of the object even employing incremental
> operators.
>
> Now, let's suppose I find that container type not useful for my purposes,
> *or* I have already written a different cont
Il Wed, 07 Mar 2007 14:13:28 -0300, Gabriel Genellina ha scritto:
> __iadd__, in general, is not *required* to modify the instance in place
> (but should try to do that, if possible). After this code:
> b = a
> a += c
> you can't assert than a and b both refer to the *same* object, a
En Wed, 07 Mar 2007 10:29:29 -0300, Alan Franzoni
<[EMAIL PROTECTED]> escribió:
> Il Tue, 06 Mar 2007 01:55:54 -0300, Gabriel Genellina ha scritto:
> If we rely on duck typing, by the way, we may encounter two types
> quacking
> like ducks, flying like ducks, but in fact acting as slightly di
Il Tue, 06 Mar 2007 01:55:54 -0300, Gabriel Genellina ha scritto:
> The problem is that other people -not necesarily "smarter and more
> experienced" than you- may use those features, and perhaps you have to
> read, understand and modify some code written by someone else.
> So, you should at
En Mon, 05 Mar 2007 07:07:57 -0300, Alan Franzoni
<[EMAIL PROTECTED]> escribió:
> Il Sat, 03 Mar 2007 17:34:35 +1300, greg ha scritto:
>
>> This was all discussed at *very* great length many
>> years ago, and the addition of in-place operators
>> to the language was held up for a long time until
On 2 Mar, 14:45, Alan Franzoni <[EMAIL PROTECTED]>
wrote:
>
> I mean... I don't like that. I'm not really a Python expert, I found this
> behaviour is documented in the language reference itself:
>
> http://docs.python.org/ref/augassign.html
>
> But... I don't know, still think it's confusing and n
Il Sat, 03 Mar 2007 17:34:35 +1300, greg ha scritto:
> This was all discussed at *very* great length many
> years ago, and the addition of in-place operators
> to the language was held up for a long time until
> the present compromise was devised. You might not
> like it, but it's here to stay.
S
Alan Franzoni wrote:
> I would assume then, that if the '+=' operator
> is assumed to modify objects in-place, it would just fail on immutable
> objects, wouldn't I?
Then you wouldn't be able to do things like
x = 3
x += 1
which would result in howls of outrage from the
*other* half of t
Il 28 Feb 2007 14:09:09 -0800, [EMAIL PROTECTED] ha scritto:
> Seems obvious and desirable to me. Bare "=" is the way you assign a
> name to an object; saying "NAME =" will rebind the name, breaking the
> connection between a and b. Without it, they continue to refer to the
> same object; exten
En Wed, 28 Feb 2007 19:09:09 -0300, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> escribió:
> On Feb 28, 11:24 am, Alan Franzoni
> <[EMAIL PROTECTED]> wrote:
>> Il 27 Feb 2007 16:14:20 -0800, [EMAIL PROTECTED] ha scritto:
>>
>> > Those mean different things:
>>
>> a=[1]
>> b=a
>> a += [2]
Hello,
thanks.
pythontidy (with maybe some patches could be useful)
not directly related but:
pyflakes looks quite interesting too.
and I try out (again) pylint and pychecker or a combination
of these could bring good results, I assume. ;)
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 28, 11:24 am, Alan Franzoni
<[EMAIL PROTECTED]> wrote:
> Il 27 Feb 2007 16:14:20 -0800, [EMAIL PROTECTED] ha scritto:
>
>
>
> > Those mean different things:
>
> a=[1]
> b=a
> a += [2]
> a
> > [1, 2]
> b
> > [1, 2]
> a=[1]
> b=a
> a = a + [2]
> a
>
Alan Franzoni wrote:
> Yeah, that's right, it could have semantic differences, but that
> shouldn't be the case anyway. I mean, if I don't define an __iadd__
> method, writing
>
> a += n
>
> or
>
> a = a + n
>
> is just the same, right?
>
> So, if I bother to define an __iadd__ method, I sho
Alan Franzoni <[EMAIL PROTECTED]> wrote:
> Yeah, that's right, it could have semantic differences, but that
> shouldn't be the case anyway. I mean, if I don't define an __iadd__
> method, writing
>
> a += n
>
> or
>
> a = a + n
>
> is just the same, right?
>
>
> So, if I bother to define an
Il 27 Feb 2007 16:14:20 -0800, [EMAIL PROTECTED] ha scritto:
> Those mean different things:
>
a=[1]
b=a
a += [2]
a
> [1, 2]
b
> [1, 2]
a=[1]
b=a
a = a + [2]
a
> [1, 2]
b
> [1]
This is a really nasty one! I just answered to Tim above here, and the
Il Wed, 28 Feb 2007 07:53:47 +1100, Delaney, Timothy (Tim) ha scritto:
> Alan Franzoni wrote:
>> the += operator is syntactic sugar just to save time... if one
>> doesn't use it I don't think it's a matter of beauty.
>
> This change can have semantic differences, and so should not be done for
> a
On Feb 27, 3:45 am, Franz Steinhaeusler <[EMAIL PROTECTED]>
wrote:
> Hello, I did not find any reasonable pyhton source code beautifier
> program (preferable gui).
>
> Some would ask why? Program it immediatly good.
>
> (BTW: Would be a nice project, if I would have more spare time).
>
> Ich have s
Alan Franzoni wrote:
>> self.scriptcount = self.scriptcount + 1 => self.scriptcount += 1
>
> the += operator is syntactic sugar just to save time... if one
> doesn't use it I don't think it's a matter of beauty.
This change can have semantic differences, and so should not be done for
anything ex
Franz Steinhaeusler wrote:
> Use Spaces, size: 4
> detect mixed line ending
> detect tabs mixed with space
> trim trailing whitespaces.
look at: tools/scripts/reindent.py
> convert structs like: if (a > b): to if a > b:
> fill in spaces, but not in functions between operators:
>
> a+=1 =>
Il Tue, 27 Feb 2007 09:45:42 +0100, Franz Steinhaeusler ha scritto:
> Hello, I did not find any reasonable pyhton source code beautifier
> program (preferable gui).
Well, most of the things you ask should be written as such, not written and
then beautified!
> Use Spaces, size: 4
Your editor sho
Franz Steinhaeusler wrote this on Tue, 27 Feb 2007 09:45:42 +0100. My
reply is below.
> Hello, I did not find any reasonable pyhton source code beautifier
> program (preferable gui).
-snip-
> Is there such a tool around?
Why, yes! Yes, there is:
o http://lacusveris.com/PythonTidy/PythonTidy.
Franz Steinhaeusler:
> Hello, I did not find any reasonable pyhton source code beautifier
> program (preferable gui).
> ...
> convert:
> ...
> from "is" to "==" and "is not" to "!=" (ok a find replace could do that
> easily also), but in a program that would be more comfortable.
That's an unsa
Ben Finney wrote:
> I don't understand the request.
one wonders if someone who's not even capable of finding the code
is capable of "hacking" it, in any sense of that word.
--
http://mail.python.org/mailman/listinfo/python-list
"ArdPy" <[EMAIL PROTECTED]> writes:
> Is it possible to hack through the code written by Guido van Rossum
> that makes the python interpreter.
Hack through it to where? I don't understand the request.
Why, specifically, only the code written by GvR?
--
\ "I busted a mirror and got seven
ArdPy enlightened us with:
> Is it possible to hack through the code written by Guido van Rossum
> that makes the python interpreter.
Yes it is.
> If yes please let me know how to begin. If its not then pardon me.
Download the source, start hacking.
Sybren
--
Sybren Stüvel
Stüvel IT - http:/
At Saturday 21/10/2006 05:09, ArdPy wrote:
I am not sure whether this group is the best place to post my thought.
I will ask neverthless:
I doubt any other group would be better...
Is it possible to hack through the code written by Guido van Rossum
that makes the python interpreter. If yes p
Boy, do I feel foolish! I hang my head in shame and thank you for your
assistance---that solved it.
--
http://mail.python.org/mailman/listinfo/python-list
Petter Haggholm wrote:
> Any help, thoughts, or advice would be vastly appreciated.
After changing PyObject_HEAD, I would run "make distclean".
Most likely, some object files were not recompiled and still
using the old layout.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-lis
"Harry Fuecks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Wondering if a tool exists to generate "cross reference" documentation
> for Python code bases?
PyXR does cross referencing. epydoc generates good doc from comments
(javadoc style):
http://pyxr.sourceforge.net/
http
Colin J. Williams wrote:
> Harry Fuecks wrote:
> > Hi All,
> >
> > Wondering if a tool exists to generate "cross reference" documentation
> > for Python code bases?
> >
> > Particularly after something like phpxref -
> > http://phpxref.sourceforge.net/ : written in Perl, scans a bunch of
> > PHP s
Harry Fuecks wrote:
> Hi All,
>
> Wondering if a tool exists to generate "cross reference" documentation
> for Python code bases?
>
> Particularly after something like phpxref -
> http://phpxref.sourceforge.net/ : written in Perl, scans a bunch of
> PHP scripts and generates HTML output that allo
llothar wrote:
>Hello,
>
>i'm looking for a simple http proxy in python.
>Does anybody know about something like this ?
>
>
>
Here's a list, maintained by Alan Kennedy, of about 20 proxys written
in Python:
http://xhaus.com/alan/python/proxies.html
Enjoy,
Gary Herron
--
http://mail.pyth
56 matches
Mail list logo