[Bug 871092] Review Request: updf - Application to write to PDF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=871092

--- Comment #35 from Michael Schwendt <mschwendt@xxxxxxxxx> ---
> yum provides */sys.py

Wrong query. :)

Basically, due to using the '*' wildcard, you here accept _any_ path. But a
sys.py or sys.so in a location that is private to an arbitrary program does not
matter at all here. Unless you tell Python to look for modules in that
location. The paths you've found are not in Python's default list of module
search paths:

$ python
...
>>> import sys
>>> print sys.path
['', '/usr/lib64/python27.zip', '/usr/lib64/python2.7',
'/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk',
'/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload',
'/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/PIL',
'/usr/lib64/python2.7/site-packages/gst-0.10',
'/usr/lib64/python2.7/site-packages/gtk-2.0',
'/usr/lib/python2.7/site-packages',
'/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info']
>>> 


Btw, Python modules "sys", "os" and many others are well-known as being part of
the Python Standard Library: http://docs.python.org/2/library/
You would not spend time on trying to search for them.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=9s0ybEqUxW&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]