[Python-Dev] for Python + Java devs - real-world importance of the security model

2014-03-08 Thread Sean Felipe Wolfe
Hello everybody,

I'm getting back into some Java game programming using the (excellent)
libgdx library. It's been a couple years since I've written Java
classes from scratch and it's got me thinking.

The Java code I'm going through has lots 'final' and 'static' variable
declarations, along with public vs private vs protected.

For those of you who are Java devs in the real world ... is this
security model really important? Is it protection against other
developers somehow modifying state in your program via another package
somewhere in the system?

I've been doing Ruby code for a couple years now, and Python for a bit
longer, and while I'm not a senior level dev by any means, I have yet
to see where this security model is actually useful. Why not just keep
it simple?

For now I am writing my classes with very little protection keywords
... with as little keywords as possible actually. But I'm just getting
started and I need to read up more.

Any Java devs out there care to chime in? I'm not trying to troll,
just interested in a response from those who appreciate KISS as a
general principle.

Thanks!

-- 
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] for Python + Java devs - real-world importance of the security model

2014-03-08 Thread Sean Felipe Wolfe
Oops sorry I meant to send it elsewhere. Stupid auto complete :P

On Sat, Mar 8, 2014 at 3:25 AM, Nick Coghlan  wrote:
> On 8 March 2014 20:27, Sean Felipe Wolfe  wrote:
>> Hello everybody,
>>
>> I'm getting back into some Java game programming using the (excellent)
>> libgdx library. It's been a couple years since I've written Java
>> classes from scratch and it's got me thinking.
>
> Sean, did you mean to send this to core Python list? It is not
> relevant to CPython development (it's really off topic even for
> python-ideas).
>
> A more appropriate venue for this kind of general programming question
> is the "Programmers" subsite of Stack Exchange. For example, you can
> see some discussion of the "private" variable question at
> https://programmers.stackexchange.com/questions/143736/why-do-we-need-private-variables
>
> Regards,
> Nick.
>
> --
> Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia



-- 
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] hg branching + log question

2014-03-17 Thread Sean Felipe Wolfe
I'm getting my feet wet with the cpython sources and Mercurial. I'm a
bit confused -- when I checkout a branch, eg. 3.3, and I do an 'hg
log', why do I see log messages for other branches?

I'm expecting different branches to be kept discreetly. If I switch to
3.3, then I expect to see only 3.3 commits and changes.

Also, what does the branch 'default' mean in this context? Since
cpython is concerned with 3 major concurrent release tracks, why would
there even be a default ? Does it just point to 3.4?

Thanks.


-- 
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] trouble building 3.3

2014-03-17 Thread Sean Felipe Wolfe
Ah ok, got it.

Antoine - I'll try your solution out though just out of curiosity, thanks :)

On Mon, Mar 17, 2014 at 2:52 PM, Terry Reedy  wrote:
> On 3/17/2014 3:57 PM, Sean Felipe Wolfe wrote:
>>
>> I'm working on some IDLE oriented bugs and I'm having some trouble
>> building the 3.3 branch:
>
>
> Starting today, Idle for 3.3 is no more patched.
> 2.7, 3.4, and 3.5 will be patched for now.
>
>
>
> --
> Terry Jan Reedy
>
>
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/ether.joe%40gmail.com



-- 
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] hg branching + log question

2014-03-17 Thread Sean Felipe Wolfe
Ah well, ok. That seems pretty counterintuitive to me though. I
suppose Hg has its quirks just like ... that other DCVS system ... :P

On Mon, Mar 17, 2014 at 1:07 PM, Antoine Pitrou  wrote:
> On Mon, 17 Mar 2014 13:02:23 -0700
> Sean Felipe Wolfe  wrote:
>> I'm getting my feet wet with the cpython sources and Mercurial. I'm a
>> bit confused -- when I checkout a branch, eg. 3.3, and I do an 'hg
>> log', why do I see log messages for other branches?
>
> This is a classic hg question, you would get the answer by asking
> Mercurial for help: hg log --help :)
>
> Basically, to restrict the log to a given branch, just use the -b
> option: hg log -b 3.3.
>
> Regards
>
> Antoine.
>
>
> ___
> Python-Dev mailing list
> Python-Dev@python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: 
> https://mail.python.org/mailman/options/python-dev/ether.joe%40gmail.com



-- 
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Sean Felipe Wolfe
On Tue, Mar 26, 2013 at 4:34 AM, Victor Stinner
 wrote:
> Anyway, you should trust Brett Canon: "Python 3.3: Trust Me, It's
> Better Than Python 2.7".
>
> https://speakerdeck.com/pyconslides/python-3-dot-3-trust-me-its-better-than-python-2-dot-7-by-dr-brett-cannon

Was there supposed to be audio with this, or is it slides only? I got
no audio :P
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Sean Felipe Wolfe
On Tue, Mar 26, 2013 at 3:26 PM, Hynek Schlawack  wrote:
> Speakerdeck is slides only. The video is here: 
> http://pyvideo.org/video/1730/python-33-trust-me-its-better-than-27

Sweet thanks!
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] noob contributions to unit tests

2013-03-26 Thread Sean Felipe Wolfe
Hey everybody how are you all :)

I am an intermediate-level python coder looking to get help out. I've
been reading over the dev guide about helping increase test coverage
-->
http://docs.python.org/devguide/coverage.html

And also the third-party code coverage referenced in the devguide page:
http://coverage.livinglogic.de/

I'm seeing that according to the coverage tool, two of my favorite
libraries, urllib/urllib2, have no unit tests? Is that correct or am I
reading it wrong?

If that's correct it seems like a great place perhaps for me to cut my
teeth and I would be excited to learn and help out here.

And of course any thoughts or advice for an aspiring Python
contributor would be appreciated. Of course the dev guide gives me
plenty of good info.

Thanks!



-- 
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] A decade as a core dev

2013-04-24 Thread Sean Felipe Wolfe
On Thu, Apr 18, 2013 at 8:02 AM, Brett Cannon  wrote:
> Today marks my 10 year anniversary as a core developer on Python. I
> wrote a blog post to mark the occasion
> (http://sayspy.blogspot.ca/2013/04/a-decade-of-commits.html), but I
> wanted to personally thank python-dev for the past decade (and
> whatever comes in the future). All of you taught me how to really
> program and for that I will be eternally grateful. And the friendships
> I have built through this list are priceless.


Congratulations Brett :)  I am just getting started on my
contribuatory journey and this is good positive reinforcement.
Saludos!!
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] slow hg clone of python repo?

2013-04-24 Thread Sean Felipe Wolfe
Hey everybody, I'm trying to download the python sources with hg and
it's taking a while ... 7+ minutes so far and all I've got is
.../cpython and .../cypython/.hg . Any ideas as to why there's a
delay?

I'm following the dev guide with this command:
hg clone http://hg.python.org/cpython

I'm on Linux Mint 14, using the supplied hg version 2.2.2 . My
internet connection seems speedy enough.

TIA!
Sean

-- 
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] slow hg clone of python repo?

2013-04-24 Thread Sean Felipe Wolfe
On Wed, Apr 24, 2013 at 4:24 PM, Guido van Rossum  wrote:
> It's a big repo. Patience.
>
> On Wed, Apr 24, 2013 at 4:17 PM, Sean Felipe Wolfe  
> wrote:
>> Hey everybody, I'm trying to download the python sources with hg and
>> it's taking a while ... 7+ minutes so far and all I've got is
>> .../cpython and .../cypython/.hg . Any ideas as to why there's a
>> delay?
>>
>> I'm following the dev guide with this command:
>> hg clone http://hg.python.org/cpython
>>
>> I'm on Linux Mint 14, using the supplied hg version 2.2.2 . My
>> internet connection seems speedy enough.
>>
>> TIA!
>> Sean

Thanks :) It actually completed quickly after I sent the email.  :P
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] noob contributions to unit tests

2013-05-01 Thread Sean Felipe Wolfe
On Thu, Mar 28, 2013 at 11:36 AM, Walter Dörwald  wrote:
>
> Am 27.03.2013 um 03:24 schrieb R. David Murray :
>
>> On Tue, 26 Mar 2013 16:59:06 -0700, Maciej Fijalkowski  
>> wrote:
>>> On Tue, Mar 26, 2013 at 4:49 PM, Sean Felipe Wolfe  
>>> wrote:
>>>> Hey everybody how are you all :)
>>>>
>>>> I am an intermediate-level python coder looking to get help out. I've
>>>> been reading over the dev guide about helping increase test coverage
>>>> -->
>>>> http://docs.python.org/devguide/coverage.html
>>>>
>>>> And also the third-party code coverage referenced in the devguide page:
>>>> http://coverage.livinglogic.de/
>>>>
>>>> I'm seeing that according to the coverage tool, two of my favorite
>>>> libraries, urllib/urllib2, have no unit tests? Is that correct or am I
>>>> reading it wrong?
>>>>
>>>> If that's correct it seems like a great place perhaps for me to cut my
>>>> teeth and I would be excited to learn and help out here.
>>>>
>>>> And of course any thoughts or advice for an aspiring Python
>>>> contributor would be appreciated. Of course the dev guide gives me
>>>> plenty of good info.
>>>>
>>>> Thanks!
>>>
>>> That looks like an error in the coverage report, there are certainly
>>> urllib and urllib2 tests in test/test_urllib*
>>
>> The devguide contains instructions for running coverage yourself,
>> and if I recall correctly the 'fullcoverage' recipe does a better
>> job than what runs at coverage.livinglogic.de.
>
> The job that produces that output has been broken for some time now, and I 
> haven't found the time to look into it. If someone wants to try, here's the 
> code:
>
>https://pypi.python.org/pypi/pycoco/0.7.2
>
>> […]
>
> Servus,
>Walter
>

Hello Walter and everybody, after a bit of family time and other
stuffs, I'm getting back to this today and looking at what's involved
in fixing the livinglogic code coverage tool.

I was able to get the depencies and a few minor issues, and now the
script is running on a first attempt. I'll report back with progress
or problems.

Thanks y'all :)


-- 
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com