[issue16304] re: Match Objects always have a boolean value of True

2012-11-02 Thread Jan Duzinkiewicz

Jan Duzinkiewicz added the comment:

I agree this is unclear - If Match object always have a boolean value of True, 
it actually prevents me from using simple if statement - what's the point of 
if True: statement? - so the remark that matching functions do not always 
return match objects has some value. I've submitted a patch.

--
keywords: +patch
nosy: +dhgmgn
Added file: http://bugs.python.org/file27838/16304.patch

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



[issue15962] Windows STDIN/STDOUT Redirection is actually FIXED

2012-11-02 Thread Jan Duzinkiewicz

Jan Duzinkiewicz added the comment:

I've referenced the kb article in the docs. Please let me know if the fix is ok 
- maybe the whole registry change process should be included in the docs 
directly?

--
keywords: +patch
nosy: +dhgmgn
Added file: http://bugs.python.org/file27839/15962.patch

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



[issue14878] Improve documentation for generator.send method

2012-11-02 Thread Jan Duzinkiewicz

Jan Duzinkiewicz added the comment:

The latest docs have a crossrefence at the end of the section:

http://docs.python.org/3/reference/simple_stmts.html#grammar-token-yield_stmt

I copied  the reference to 2.7 docs

--
keywords: +patch
nosy: +dhgmgn
Added file: http://bugs.python.org/file27842/14878.patch

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



[issue16386] imp.find_module does not specify registry key it searches on windows

2012-11-02 Thread Jan Duzinkiewicz

New submission from Jan Duzinkiewicz:

quote from http://docs.python.org/3/library/imp.html#imp.find_module:

...on some systems some other places are looked in as well (on Windows, it 
looks in the registry which may point to a specific file).

I actually didn't know the registry key is listed in using Python on Window 
guide until I grepped for PythonCore (which kind of requires to know the key 
already) - so I'm submitting a patch that cross references find_module docs and 
using Python on Windows guide.

--
assignee: docs@python
components: Documentation
files: import_nt_reg.patch
keywords: patch
messages: 174508
nosy: dhgmgn, docs@python
priority: normal
severity: normal
status: open
title: imp.find_module does not specify registry key it searches on windows
versions: Python 2.7, Python 3.3
Added file: http://bugs.python.org/file27843/import_nt_reg.patch

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



[issue16386] imp.find_module does not specify registry key it searches on windows

2012-11-17 Thread Jan Duzinkiewicz

Jan Duzinkiewicz added the comment:

Ok, didn't knew much about importlib, I can work on a patch but have a few 
questions/suggestions:

1. For importlib, simply referencing the Using on Windows guide imo won't be 
ok - the importlib sources show that the key being used is 
Software\\Python\\PythonCore\\{sys_version}\\Modules\\{fullname}, while guide 
refers to \\PythonPath. Am I missing something here?
2. Considering that importlib code is Python, easy to retrieve without having C 
sources (which is common case on Windows) - do you think this should go into 
3.3 docs? 
3. Do you think the current version of the patch is applicable to Python 2.7?

--

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