[issue11374] pkgutil.extend_path do not recognize py{c,o} file

2011-03-02 Thread Alexandre Badez

New submission from Alexandre Badez :

extend_path only test if "init.py" files exist, but it should also test 
"init.pyc" and/or "init.pyo".

--
components: Library (Lib)
messages: 129896
nosy: Alexandre.Badez
priority: normal
severity: normal
status: open
title: pkgutil.extend_path do not recognize py{c,o} file
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3

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



[issue11374] pkgutil.extend_path do not recognize py{c,o} file

2011-03-02 Thread Alexandre Badez

Changes by Alexandre Badez :


--
type:  -> behavior

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



[issue11374] pkgutil.extend_path do not recognize py{c,o} file

2011-03-02 Thread Alexandre Badez

Alexandre Badez  added the comment:

I've made a simple patch.

--
keywords: +patch
Added file: http://bugs.python.org/file20977/patch.diff

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



[issue11374] pkgutil.extend_path do not recognize py{c,o} file

2011-03-02 Thread Alexandre Badez

Changes by Alexandre Badez :


Removed file: http://bugs.python.org/file20977/patch.diff

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



[issue11374] pkgutil.extend_path do not recognize py{c,o} file

2011-03-02 Thread Alexandre Badez

Alexandre Badez  added the comment:

A little change in the patch

--
Added file: http://bugs.python.org/file20978/patch.diff

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