Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-02-04 Thread Michael Torrie
On 02/04/2015 05:19 PM, sohcahto...@gmail.com wrote: > They can take your computer and it doesn't matter if you've got your files on > Dropbox. > >> "My dog ate my USB stick." >> >> :-) > > I never used a USB stick for school work. > > At this point, I'm probably sounding like a shill for Dropb

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-02-04 Thread sohcahtoa82
On Wednesday, January 28, 2015 at 4:30:11 PM UTC-8, Steven D'Aprano wrote: > sohcahto...@gmail.com wrote: > > > I recently finished my CS degree, and I had more than one professor say > > that they won't take "My computer crashed and I lost everything!" as an > > excuse for not being able to turn

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-02-04 Thread Dave Angel
On 01/28/2015 07:34 PM, Steven D'Aprano wrote: Devin Jeanpierre wrote: On Wed, Jan 28, 2015 at 1:40 PM, Chris Angelico wrote: On Thu, Jan 29, 2015 at 5:47 AM, Chris Kaynor wrote: I use Google Drive for it for all the stuff I do at home, and use SVN for all my personal projects, with the SVN

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-29 Thread Devin Jeanpierre
On Wed, Jan 28, 2015 at 4:34 PM, Steven D'Aprano wrote: > Devin Jeanpierre wrote: >> Git doesn't help if you lose your files in between commits, > > Sure it does? You just lose the changes made since the previous commit, but > that's no different from restoring from backup. The restored file is on

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-29 Thread Cem Karan
On Jan 28, 2015, at 5:02 PM, Chris Angelico wrote: > On Thu, Jan 29, 2015 at 8:52 AM, Devin Jeanpierre > wrote: >> Git doesn't help if you lose your files in between commits, or if you >> lose the entire directory between pushes. > > So you commit often and push immediately. Solved. > > Chris

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-28 Thread Mark Lawrence
On 28/01/2015 23:12, Chris Kaynor wrote: On Wed, Jan 28, 2015 at 3:01 PM, Devin Jeanpierre wrote: On Wed, Jan 28, 2015 at 2:02 PM, Chris Angelico wrote: On Thu, Jan 29, 2015 at 8:52 AM, Devin Jeanpierre wrote: Git doesn't help if you lose your files in between commits, or if you lose the en

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-28 Thread Steven D'Aprano
Devin Jeanpierre wrote: > On Wed, Jan 28, 2015 at 1:40 PM, Chris Angelico wrote: >> On Thu, Jan 29, 2015 at 5:47 AM, Chris Kaynor >> wrote: >>> I use Google Drive for it for all the stuff I do at home, and use SVN >>> for all my personal projects, with the SVN depots also in Drive. The >>> combi

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-28 Thread Steven D'Aprano
sohcahto...@gmail.com wrote: > I recently finished my CS degree, and I had more than one professor say > that they won't take "My computer crashed and I lost everything!" as an > excuse for not being able to turn in homework.   How about "My computer crashed and died and now I can't get to Dropbo

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-28 Thread sohcahtoa82
On Wednesday, January 28, 2015 at 3:13:36 PM UTC-8, Chris Kaynor wrote: > On Wed, Jan 28, 2015 at 3:01 PM, Devin Jeanpierre > wrote: > > On Wed, Jan 28, 2015 at 2:02 PM, Chris Angelico wrote: > >> On Thu, Jan 29, 2015 at 8:52 AM, Devin Jeanpierre > >> wrote: > >>> Git doesn't help if you lose yo

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-28 Thread Chris Kaynor
On Wed, Jan 28, 2015 at 3:01 PM, Devin Jeanpierre wrote: > On Wed, Jan 28, 2015 at 2:02 PM, Chris Angelico wrote: >> On Thu, Jan 29, 2015 at 8:52 AM, Devin Jeanpierre >> wrote: >>> Git doesn't help if you lose your files in between commits, or if you >>> lose the entire directory between pushes.

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-28 Thread Devin Jeanpierre
I distrust any backup strategy that requires explicit action by the user. I've seen users fail too often. (Including myself.) -- Devin On Wed, Jan 28, 2015 at 2:02 PM, Chris Angelico wrote: > On Thu, Jan 29, 2015 at 8:52 AM, Devin Jeanpierre > wrote: >> Git doesn't help if you lose your files i

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-28 Thread Chris Angelico
On Thu, Jan 29, 2015 at 8:52 AM, Devin Jeanpierre wrote: > Git doesn't help if you lose your files in between commits, or if you > lose the entire directory between pushes. So you commit often and push immediately. Solved. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-28 Thread Devin Jeanpierre
On Wed, Jan 28, 2015 at 1:40 PM, Chris Angelico wrote: > On Thu, Jan 29, 2015 at 5:47 AM, Chris Kaynor > wrote: >> I use Google Drive for it for all the stuff I do at home, and use SVN >> for all my personal projects, with the SVN depots also in Drive. The >> combination works well for me, I can

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-28 Thread Chris Angelico
On Thu, Jan 29, 2015 at 5:47 AM, Chris Kaynor wrote: > I use Google Drive for it for all the stuff I do at home, and use SVN > for all my personal projects, with the SVN depots also in Drive. The > combination works well for me, I can transfer between my desktop and > laptop freely, and have full

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-28 Thread Chris Kaynor
On Wed, Jan 28, 2015 at 10:42 AM, Devin Jeanpierre wrote: > FWIW I put all my source code inside Dropbox so that even things I > haven't yet committed/pushed to Bitbucket/Github are backed up. So far > it's worked really well, despite using Dropbox on both Windows and > Linux. (See also: Google Dr

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-28 Thread Devin Jeanpierre
FWIW I put all my source code inside Dropbox so that even things I haven't yet committed/pushed to Bitbucket/Github are backed up. So far it's worked really well, despite using Dropbox on both Windows and Linux. (See also: Google Drive, etc.) (Free) Dropbox has a 30 day recovery time limit, and I

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2015-01-28 Thread n . poppelier
Last night I accidentally deleted a group of *.py files (stupid-stupid-stupid!). Thanks to unpyc3 I have reconstructed all but one of them so far from the *.pyc files that were in the directory __pycache__. Many thanks!!! -- Nico -- https://mail.python.org/mailman/listinfo/python-list

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2011-09-14 Thread Arnaud Delobelle
On 14 September 2011 11:03, Vincent Vande Vyvre wrote: > Le 14/09/11 11:31, Arnaud Delobelle a écrit : [...] > Could you show me what you do to get this error? Thank you, > [vincent@myhost unpyc3]$ python > Python 3.2.1 (default, Jul 11 2011, 12:37:47) > [GCC 4.6.1] on linux2 > Type "help", "cop

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2011-09-14 Thread Vincent Vande Vyvre
Le 14/09/11 11:31, Arnaud Delobelle a écrit : On 14 September 2011 09:44, Vincent Vande Vyvre wrote:   File "unpyc3.py", line 211, in __init__     for v in code_obj.co_cellvars + code_obj.co_freevars] AttributeError: 'NoneType' object has no attribute 'co_cel

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2011-09-14 Thread Arnaud Delobelle
On 14 September 2011 09:44, Vincent Vande Vyvre wrote: >   File "unpyc3.py", line 211, in __init__ >     for v in code_obj.co_cellvars + code_obj.co_freevars] > AttributeError: 'NoneType' object has no attribute 'co_cellvars' Could you show me what you do to get this error? Thank you, Arnaud P

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2011-09-14 Thread Vincent Vande Vyvre
Le 14/09/11 10:13, Vincent Vande Vyvre a écrit : Le 14/09/11 08:20, Arnaud Delobelle a écrit : On 14 September 2011 06:53, Vincent Vande Vyvre wrote: Hi, trying your code, I have had numbers of errors: Hi Vincent, t

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2011-09-14 Thread Vincent Vande Vyvre
Le 14/09/11 08:20, Arnaud Delobelle a écrit : On 14 September 2011 06:53, Vincent Vande Vyvre wrote: Hi, trying your code, I have had numbers of errors: Hi Vincent, thanks for trying it.   File "unpyc3.py", line 55, in     SE

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2011-09-13 Thread Arnaud Delobelle
On 14 September 2011 06:53, Vincent Vande Vyvre wrote: > > Hi, trying your code, I have had numbers of errors: Hi Vincent, thanks for trying it. >   File "unpyc3.py", line 55, in >     SETUP_WITH, > NameError: name 'SETUP_WITH' is not defined > > commented it > >   File "unpyc3.py", line 58, in

Re: ANN: unpyc3 - a python bytecode decompiler for Python3

2011-09-13 Thread Vincent Vande Vyvre
Le 13/09/11 22:20, Arnaud Delobelle a écrit : Hi all, Unpyc3 can recreate Python3 source code from code objects, function source code from function objects, and module source code from .pyc files. The current version is able to decompile itself successfully :). It has been t

ANN: unpyc3 - a python bytecode decompiler for Python3

2011-09-13 Thread Arnaud Delobelle
Hi all, Unpyc3 can recreate Python3 source code from code objects, function source code from function objects, and module source code from .pyc files. The current version is able to decompile itself successfully :). It has been tested with Python3.2 only. It currently reconstructs most of Python