Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #22351

RE: RE: Advise of programming one of my first programs

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ramit.prasad@jpmorgan.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'completeness': 0.07; 'wednesday,': 0.07; '>>>>': 0.09; 'skip:l 60': 0.09; 'to:name :python-list@python.org': 0.15; 'currencies': 0.16; 'dangerous,': 0.16; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'eval': 0.16; 'from:addr:jpmorgan.com': 0.16; 'received:155.180': 0.16; 'received:155.180.234': 0.16; 'received:155.180.234.122': 0.16; 'received:159': 0.16; 'received:159.53': 0.16; 'received:159.53.110': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:se3.svr.bankone.net': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'subject:programming': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'accuracy': 0.18; '&gt;': 0.18; 'header:Received:8': 0.20; 'passed': 0.20; 'received:169.254': 0.20; 'programming': 0.21; '&gt;&gt;&gt;': 0.22; 'header:In-Reply-To:1': 0.22; 'import': 0.24; '>>>': 0.24; 'received:169': 0.27; 'least': 0.27; 'cc:': 0.27; 'received:155': 0.29; 'yes.': 0.29; 'skip:& 10': 0.30; 'code:': 0.31; 'problems': 0.31; 'phone:': 0.31; 'in:': 0.33; 'url:microsoft': 0.34; 'url :rec-html40': 0.34; 'url:office': 0.35; 'url:schemas': 0.35; 'really': 0.36; 'url:omml': 0.36; 'url:2004': 0.36; 'sure': 0.36; 'but': 0.36; 'url:org': 0.36; 'running': 0.36; 'url:12': 0.37; 'something': 0.38; 'subject:': 0.38; 'url:tr': 0.39; 'being': 0.39; 'from:': 0.39; 'to:addr:python-list': 0.39; 'email addr:python.org': 0.40; 'to:addr:python.org': 0.40; 'more': 0.63; 'programs': 0.65; 'information,': 0.65; 'world': 0.65; 'email name :python-list': 0.67; 'is.': 0.67; 'march': 0.67; 'purchase': 0.67; '2012': 0.69; 'subject': 0.70; 're:': 0.70; 'investment': 0.71; 'legal': 0.73; 'bank': 0.74; 'sale': 0.75; 'cause': 0.79; '5:36': 0.84; '712': 0.84; 'houston,': 0.84; 'received:169.254.8': 0.84
X-DKIM OpenDKIM Filter v2.1.3 sj1.jpmchase.com q2THIW1r024268
DKIM-Signature v=1; a=rsa-sha256; c=simple/simple; d=jpmorgan.com; s=smtpout; t=1333041513; bh=QI9iLU6SbDX2zP9rUmVbPqZ8/qoNZgc1SNLDpiwX9SE=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: MIME-Version:Content-Type; b=KmRQ7wNvk7d0JRaBbvKSDpTYC7LqNZTCgRo9eIXrbZ2i6KiAxFstZWZazb5AtYcr+ Wv+dk1hRb8Q+cVODf0PdUUNI2bFcvOwGQl9kzieibIlWC0svFH5YJVup6Dy+M083fa nvhG3TAgmjAOiP6DMQxK4s0UOQYAjCaRInFZEpQk=
From "Prasad, Ramit" <ramit.prasad@jpmorgan.com>
To "python-list@python.org" <python-list@python.org>
Subject RE: RE: Advise of programming one of my first programs
Thread-Topic RE: Advise of programming one of my first programs
Thread-Index AQHNC5r4MvUwEx1tfEGrnSkYZViDo5Z9Ix/AgAFcCQD//8DxYIAAtaUAgAAo5oCAAK/3cIAAw5AAgAD1cgA=
Date Thu, 29 Mar 2012 17:18:25 +0000
References <CAKhY55OL1qvq+kqbyKT8gEuFOK4BkgYGZkkyUVb84_H9VVEQhA@mail.gmail.com> <5B80DD153D7D744689F57F4FB69AF4740928C365@SCACMX008.exchad.jpmchase.net> <CAKhY55O9zE_jxF5PvzOF0DGifRT2gZLbRHiuQ_a1vA-aGGDb9g@mail.gmail.com> <5B80DD153D7D744689F57F4FB69AF4740928E137@SCACMX008.exchad.jpmchase.net> <4F72385E.8020804@cs.wisc.edu> <CABicbJKMdxbQ-r2Qmxy2n8W2YpxNAXos9WLKuz7rrhLz8KF+ow@mail.gmail.com> <5B80DD153D7D744689F57F4FB69AF4740929109C@SCACMX008.exchad.jpmchase.net> <CAKhY55MCtxnafbz+aPsAMndtcNruU0ZQcoP_FPC=9mwRncrbyA@mail.gmail.com>
In-Reply-To <CAKhY55MCtxnafbz+aPsAMndtcNruU0ZQcoP_FPC=9mwRncrbyA@mail.gmail.com>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [10.67.79.38]
MIME-Version 1.0
X-DLP-FWD Yes
Content-Type multipart/alternative; boundary="_000_5B80DD153D7D744689F57F4FB69AF47409292DC4SCACMX008exchad_"
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1127.1333041523.3037.python-list@python.org> (permalink)
Lines 127
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1333041523 news.xs4all.nl 6895 [2001:888:2000:d::a6]:35753
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:22351

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

From: Anatoli Hristov [mailto:tolidtm@gmail.com]
Sent: Wednesday, March 28, 2012 5:36 PM
To: Prasad, Ramit
Cc: python-list@python.org
Subject: Re: RE: Advise of programming one of my first programs


>>> > Um, at least by my understanding, the use of Pickle is also dangerous if
>>>> you
>>> > are not completely sure what is being passed in:
>>>
>>> Oh goodness yes. pickle is exactly as unsafe as eval is. Try running this
>>> code:
>>>
>>> from pickle import loads
>>> loads("c__builtin__\neval\n(c__builtin__\nraw_input\n(S'py>'\ntRtR.")

>>It might be as dangerous, but which is more likely to cause problems in
>>real world scenarios?

>Guys this is really something  that is not that important at this time for me

“My Eyes! The goggles do nothing!”

Ramit


Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX 77002
work phone: 713 - 216 - 5423

--


This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE: RE: Advise of programming one of my first programs "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-29 17:18 +0000

csiph-web