[issue821862] ftplib: Strict RFC 959 (telnet in command channel)

2010-08-17 Thread Oleg Broytmann
Oleg Broytmann added the comment: > Other than IAC what other chars need to be doubled? Only IAC must be doubled. Also there have to be a special prefix for urgent (out-of-bound) commands (ABORt); I didn't implement that. > As an alternative to a brand new TelnetFTP class

[issue6070] Python 2.6 makes .pyc/.pyo bytecode files executable

2009-07-07 Thread Oleg Broytmann
Oleg Broytmann added the comment: I didn't test ifndef-version, I tested the full version (issue6070.patch) on both Linux and w32. You are right, 'mode' must be defined even on w32. -- ___ Python tracker <http://bugs.py

[issue6070] Python 2.6 makes .pyc/.pyo bytecode files executable

2009-06-26 Thread Oleg Broytmann
Oleg Broytmann added the comment: Yes, I think #ifndef MS_WINDOWS is enough. -- ___ Python tracker <http://bugs.python.org/issue6070> ___ ___ Python-bugs-list m

[issue6070] Python 2.6 makes .pyc/.pyo bytecode files executable

2009-06-26 Thread Oleg Broytmann
Oleg Broytmann added the comment: I can confirm the patch works on WinXP on NTFS partition and Samba-shared network drive. I have WinXP running in an emulator (VirtualBox) and I compiled Python using MSVC90 Express. -- ___ Python tracker <h

[issue6070] Python 2.6 makes .pyc/.pyo bytecode files executable

2009-06-26 Thread Oleg Broytmann
Oleg Broytmann added the comment: Sorry, found the bug in my process of testing. ./python uses /usr/lib/python26.so instead of ./python26.so. Setting LD_LIBRARY_PATH=. fixes the problem and the test passes. The patch is ok. -- ___ Python tracker

[issue6070] Python 2.6 makes .pyc/.pyo bytecode files executable

2009-06-22 Thread Oleg Broytmann
Oleg Broytmann added the comment: I am not on Windows. I am on Linux. -- ___ Python tracker <http://bugs.python.org/issue6070> ___ ___ Python-bugs-list mailin

[issue6070] Python 2.6 makes .pyc/.pyo bytecode files executable

2009-06-22 Thread Oleg Broytmann
Oleg Broytmann added the comment: import_patch2.patch doesn't work for me. I patched and compiled Python 2.6.2 and without installing it ran ./python -c "import test" in the build directory. It copied executable bits from test

[issue6070] Pyhon 2.6 makes .pyc/.pyo bytecode files executable

2009-05-22 Thread Oleg Broytmann
Oleg Broytmann added the comment: I will try to look at import.c, though I must say I am a bad C programmer. I have switched to Python after ten years of Pascal. Low priority is ok. -- ___ Python tracker <http://bugs.python.org/issue6

[issue6070] Pyhon 2.6 makes .pyc/.pyo bytecode files executable

2009-05-20 Thread Oleg Broytmann
New submission from Oleg Broytmann : On compilation of .pyc/.pyo bytecode files on import Python 2.6 copies Unix file access attributes (-rwx-) from the imported file. I'd think it's ok except for executable (-x-) bit - bytecode files are not directly executable. That is, for a modu

[issue821862] ftplib: Strict RFC 959 (telnet in command channel)

2009-03-30 Thread Oleg Broytmann
Oleg Broytmann added the comment: Since I've created the issue I found there are different servers even in Unix. ProFTPd (and, I believe wu-ftpd) strictly implement telnet-in-command channel, they even don't have an option to turn it off. PureFTPd doesn't implement it. On

[issue1576598] ftplib doesn't follow standard

2009-03-30 Thread Oleg Broytmann
Oleg Broytmann added the comment: This is a duplicate of the issue http://bugs.python.org/issue821862 -- nosy: +phd ___ Python tracker <http://bugs.python.org/issue1576

[issue2666] webbrowser.py doesn't properly handle BROWSER env var

2008-11-15 Thread Oleg Broytmann
Changes by Oleg Broytmann <[EMAIL PROTECTED]>: Removed file: http://bugs.python.org/file10072/webbrowser.py.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2666] webbrowser.py doesn't properly handle BROWSER env var

2008-11-15 Thread Oleg Broytmann
Oleg Broytmann <[EMAIL PROTECTED]> added the comment: Update the patch. Added file: http://bugs.python.org/file12015/webbrowser.py.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2666] webbrowser.py doesn't properly handle BROWSER env var

2008-04-21 Thread Oleg Broytmann
New submission from Oleg Broytmann <[EMAIL PROTECTED]>: webbrowser.py ignores browsers listed in the BROWSER environment variables if it doesn't recognize the browser. For example, if I add "links2" to the BROWSER env var, webbrowser.py ignores it. It is because _synthesi

[issue2482] Decimal(unicode)

2008-03-25 Thread Oleg Broytmann
New submission from Oleg Broytmann <[EMAIL PROTECTED]>: Decimal(u'123').to_eng_string() returns unicode in Python 2.5.2. That's probably due to the optimization in decimal module, after which decimal stores coefficient (mantissa) as a str, and doesn't coerce input to st

[issue1206] logging/__init__.py

2007-09-26 Thread Oleg Broytmann
New submission from Oleg Broytmann: See the thread in the python-dev mailing list: http://mail.python.org/pipermail/python-dev/2007-September/074732.html -- components: Library (Lib) files: __init__.py.patch messages: 56145 nosy: phd severity: minor status: open title: logging/__init__