[issue41365] Python Launcher is sorry to say... No pyvenv.cfg file

2020-07-22 Thread Chuck


Chuck  added the comment:

Does anyone know why when Python Launcher is executed by double clicking on the 
Python script called ecrypt_bitcoinj_seed.pyw a small window pops of stating... 
"Python Launcher is sorry to say... No pyvenv.cfg file" as in the image? Why 
wouldn't the pyvenv.cfg file NOT get created like it's supposed to.  After 
doing a search for it on C: drive it is not found.  If anyone has a copy of the 
file, would you please provide it and also tell me the folder to place it in? 
Thank you

--
Added file: https://bugs.python.org/file49330/screenshot.png

___
Python tracker 
<https://bugs.python.org/issue41365>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41365] Python Launcher is sorry to say... No pyvenv.cfg file

2020-07-22 Thread Chuck


Chuck  added the comment:

Mr. Dower, I apologize for not being more specific... since this is Windows 
based and not console driven, the file used for execution should be pythonw.exe 
according to the instructions at 
https://github.com/gurnec/decrypt_bitcoinj_seed so I right clicked on 
decrypt_bitcoinj_seed.pyw and went to properties and changed it's association 
to pythonw.exe so it would run in a non-console manner.  After doing this 
however, it still didn't work with the error "No pyvenv.cfg file".  Would I 
still follow your instructions, choosing Python instead of pythonw.exe?  Do you 
happen to know why the pyvenv.cfg never got created in the first place?  After 
all, when I do a search it's no where to be found on my C: drive.

--

___
Python tracker 
<https://bugs.python.org/issue41365>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41365] Python Launcher is sorry to say... No pyvenv.cfg file

2020-07-21 Thread Chuck


New submission from Chuck :

on Windows 10 64 after install of Python 3.8.5 and after install of 
decrypt_bitcoinj_seed.pyw <--- and after double click, I get "Python Launcher 
is sorry to say... No pyvenv.cfg file".  I have tried multiple reinstalls of 
Python to no avail. When a search is performed on the entire C:\ drive, no 
pyvenv.cfg file is present so c:\>python -m venv myenv c:\path\to\myenv does 
not create the pyvenv.cfg file.  The Python Script requires PIP (Google 
Protobuf and pylibscrypt) and I understand it's included in 3.8.5. Please 
provide step by step instructions for how to either create or download the 
pyvenv.cfg file and the exact Python path to folder name it needs to go so I 
can overcome this error. Or if someone has a different solution, that's fine 
too... I just need the decrypt_bitcoinj_seed.pyw to work.

--
components: Windows
messages: 374083
nosy: Packhash, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Python Launcher is sorry to say... No pyvenv.cfg file
type: behavior
versions: Python 3.8

___
Python tracker 
<https://bugs.python.org/issue41365>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7063] Memory errors in array.array

2013-02-19 Thread Chuck

Chuck added the comment:

I attached a patch, in which I removed v and all code having to do with 
inserting elements. In particular, I changed the value of b to being positive, 
since there is no distinction between increasing and decreasing size anymore.

--
keywords: +patch
nosy: +Chuck
Added file: http://bugs.python.org/file29121/array_del_slice.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7063
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6978] compiler.transformer dict key bug d[1,] = 1

2010-02-01 Thread Chuck Rhode

Chuck Rhode crh...@lacusveris.com added the comment:

Here are four ways to generate things called in the documentation Abstract 
Syntax Trees (ASTs).  Obviously they are not all the same kind of object:

#!/usr/local/bin/python2.6

import sys
import compiler
import parser
import ast

STATEMENT = 'd[1,] = 2'

print 'level %s' % sys.version
print compiler.parse(STATEMENT)
print parser.suite(STATEMENT).tolist()
print ast.dump(
compile(STATEMENT, 'string', 'exec', ast.PyCF_ONLY_AST),
annotate_fields=False,
include_attributes=False,
)
print ast.dump(
ast.parse(STATEMENT),
annotate_fields=False,
include_attributes=False,
)

# Fin

Here are the results:

 level 2.6.2 (r262:71600, Jun 29 2009, 08:08:18) 
[GCC 4.3.2]
 Module(None, Stmt([Assign([Subscript(Name('d'), 'OP_ASSIGN', [Const(1)])], 
 Const(2))]))
 [257, [267, [268, [269, [270, [327, [304, [305, [306, [307, [308, [310, 
 [311, [312, [313, [314, [315, [316, [317, [318, [1, 'd']], [322, [9, '['], 
 [323, [324, [304, [305, [306, [307, [308, [310, [311, [312, [313, [314, 
 [315, [316, [317, [318, [2, '1', [12, ',']], [10, 
 ']', [22, '='], [327, [304, [305, [306, [307, [308, [310, 
 [311, [312, [313, [314, [315, [316, [317, [318, [2, '2']], 
 [4, '']]], [0, '']]
 Module([Assign([Subscript(Name('d', Load()), Index(Tuple([Num(1)], 
 Load())), Store())], Num(2))])
 Module([Assign([Subscript(Name('d', Load()), Index(Tuple([Num(1)], 
 Load())), Store())], Num(2))])

To me the *compiler* module has vestigial utility.  It would be nice if it 
returned correct results.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6978
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6978] compiler.transformer dict key bug d[1,] = 1

2010-02-01 Thread Chuck Rhode

Chuck Rhode crh...@lacusveris.com added the comment:

 I don't see why the compiler module is any better than any of the other 
 ways that produce reasonable AST.

It is available on Python releases older than 2.6?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6978
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7076] Documentation add note about SystemRandom

2009-11-03 Thread chuck

chuck jan.hos...@gmail.com added the comment:

I think many people who are looking for a random number generator end up 
on this page and need to be informed if there are alternatives so they can 
make up their own mind. If you want to discourage people to use it, that's 
fine and we can do so, but I think it's wrong to hide it from people who 
don't suspect random functions which are os dependent to be in the os 
package instead of the random package or don't even know about the os 
random facility.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7076
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7210] Proposed Syntax Checks in Test Suite

2009-10-31 Thread Chuck Rhode

Chuck Rhode crh...@lacusveris.com added the comment:

Thanks.  -ccr-

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7210] Proposed Syntax Checks in Test Suite

2009-10-30 Thread Chuck Rhode

Changes by Chuck Rhode crh...@lacusveris.com:


Removed file: http://bugs.python.org/file15231/test_grammar.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7210] Proposed Syntax Checks in Test Suite

2009-10-30 Thread Chuck Rhode

Chuck Rhode crh...@lacusveris.com added the comment:

Oh!  That's very different.  :-)

I can do that.

--
Added file: http://bugs.python.org/file15237/test_grammar_trunk.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7210] Proposed Syntax Checks in Test Suite

2009-10-29 Thread Chuck Rhode

Changes by Chuck Rhode crh...@lacusveris.com:


Removed file: http://bugs.python.org/file15213/test_grammar.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7210] Proposed Syntax Checks in Test Suite

2009-10-29 Thread Chuck Rhode

Chuck Rhode crh...@lacusveris.com added the comment:

Sorry I'm having so much trouble with this patch.  Here's another. 
Thanks for your patience.  -ccr-

--
Added file: http://bugs.python.org/file15231/test_grammar.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7210] Proposed Syntax Checks in Test Suite

2009-10-27 Thread Chuck Rhode

Chuck Rhode crh...@lacusveris.com added the comment:

Yet another patch file

--
Added file: http://bugs.python.org/file15213/test_grammar.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode

New submission from Chuck Rhode crh...@lacusveris.com:

PythonTidy is a code beautifier written three years ago and downloaded
numerous times.

o http://lacusveris.com/PythonTidy/PythonTidy.python

It suffers a bug, which has only recently come to light.  It considers
the following lines equivalent:

  if False is (2 is 3): pass

  if False is 2 is 3: pass

They're not.  PythonTidy handles other non-associative operators such as
division correctly.  I was unable to generalize from arithmetic
operators to comparison operators because the Abstract Syntax Tree (AST)
generated by the *compiler* module returns a different structure for them.  

I tested PythonTidy by running the Python Test Suite (the *test* module
scripts) through it and executing the results, thought I had all my
bases covered because most tests succeeded, and missed this case, so I
am suggesting an amplification of the Python Test Suite for developers
who may be using it for purposes other than testing Python.

I wish to add these lines to the foot of *test_grammar.py*.

  verify(16 // (4 // 2) == 8, '16 // (4 // 2) == 8')
  verify((16 // 4) // 2 == 2, '(16 // 4) // 2 == 2')
  verify(16 // 4 // 2 == 2, '16 // 4 // 2 == 2')
  verify((False is (2 is 3)) == True, '(False is (2 is 3)) == True')
  verify(((False is 2) is 3) == False, '(((False is 2) is 3) == False')
  verify((False is 2 is 3) == False, '(False is 2 is 3) == False')

--
components: Tests
files: test_grammar.patch
keywords: patch
messages: 94501
nosy: ChuckRhode
severity: normal
status: open
title: Proposed Syntax Checks in Test Suite
type: feature request
versions: Python 2.5
Added file: http://bugs.python.org/file15206/test_grammar.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode

Chuck Rhode crh...@lacusveris.com added the comment:

You mean like this?

--
Added file: http://bugs.python.org/file15209/test_grammar.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode

Changes by Chuck Rhode crh...@lacusveris.com:


Removed file: http://bugs.python.org/file15209/test_grammar.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode

Changes by Chuck Rhode crh...@lacusveris.com:


Removed file: http://bugs.python.org/file15206/test_grammar.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7210] Proposed Syntax Checks in Test Suite

2009-10-26 Thread Chuck Rhode

Chuck Rhode crh...@lacusveris.com added the comment:

Well, the last two patch files weren't very good, but I hope the third
time's the charm.

--
Added file: http://bugs.python.org/file15210/test_grammar.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7210
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6978] compiler.transformer dict key bug d[1,] = 1

2009-10-21 Thread Chuck Rhode

Chuck Rhode crh...@lacusveris.com added the comment:

PythonTidy encounters this problem.

o http://lacusveris.com/PythonTidy/PythonTidy.python

It is unable correctly to render line 694 of test_grammar.py in the
Python Test Suite:

d[1,] = 2

becomes:

d[1] = 2

because the *compiler* module does not return an abstract syntax tree
containing a tuple for the subscript.

--
nosy: +ChuckRhode

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6978
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7138] elementtree segfaults on invalid xml declaration

2009-10-15 Thread chuck

chuck jan.hos...@gmail.com added the comment:

I'm seeing this on the built-in python on os x 10.6, too:
Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin


But neither with the trunk
Python 2.7a0 (trunk:75433M, Oct 15 2009, 08:27:13) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin

nor with a ports installation
Python 2.6.3 (r263:75183, Oct  7 2009, 07:05:03) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin

--
nosy: +chuck

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7138
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7069] inspect.isabstract to return boolean values only

2009-10-14 Thread chuck

chuck jan.hos...@gmail.com added the comment:

That's fine with me. Looks like nobody wants to check it in anyways.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7069
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue7076] Documentation add note about SystemRandom

2009-10-07 Thread chuck

chuck jan.hos...@gmail.com added the comment:

Depends on how verbose we want to be. It should say why one might want to 
use urandom() instead of random (if you decide you are interested you can 
still look up the documentation). I think it would be nice to say why 
random does not use urandom if urandom is better, so you end up with a 
very short pro/con of urandom, which should be appropriate for users who 
are seeking information on getting random numbers.

Unfortunately I don't know enough about random. I guess it's a 
speed/security tradeoff?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7076
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6941] Socket error when launching IDLE

2009-09-19 Thread chuck

Changes by chuck jan.hos...@gmail.com:


--
status: pending - open
title: Socket error when launching IDL - Socket error when launching IDLE

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6941
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



Re: [ python-Bugs-1215887 ] String and list methods deeply hidden

2005-12-24 Thread Chuck Rhode
SourceForge.net wrote this on Mon, Jun 06, 2005 at 11:16:19AM -0700.  My reply 
is below.

The way the docs are written makes perfect sense to me ~ now ~ but I
too had difficulty navigating them at first, particularly with finding
the methods of sequence types from the TOC.  Eventually, I must have
looked them up in the alphabetic index and backtracked to find the
appropriate TOC headings.  Isn't that what everyone does?

I think that's what everyone should do!

Not being a C programmer, I must refer to 2.3.6.2 String Formatting
Operations continually, and I'm not complaining that it's not buried
under 2.3.6.1 String Methods.  

Exposing the fourth level of subtopics in section 2.3 of the lib.html
document would be nice, though.

-- 
.. Chuck Rhode, Sheboygan, WI
.. http://www.excel.net/~crhode/RockyGnashtoothsWeather/
.. 72?F. Wind WSW 9 mph. Partly cloudy. 
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com