[issue18828] urljoin behaves differently with custom and standard schemas

2013-08-25 Thread Mher Movsisyan
New submission from Mher Movsisyan: >>> urljoin('redis://localhost:6379/0', '/1') '/1' >>> urljoin('http://localhost:6379/0', '/1') 'http://localhost:6379/1' -- messages: 196125 nosy: mher.movsisyan priority

[issue18168] plistlib output self-sorted dictionary

2013-06-08 Thread Mher Movsisyan
Mher Movsisyan added the comment: I think this is not a bug. plistlib api accepts dict (not OrderedDict) and sorted output is a valid output. plistlib sorts dictionaries to be consistent with Apple's tools. property list format [1] uses CFDictionary [2] with CFString keys. CFDictionar

[issue18119] urllib.FancyURLopener does not treat URL fragments correctly

2013-06-04 Thread Mher Movsisyan
Changes by Mher Movsisyan : -- nosy: +mher.movsisyan ___ Python tracker <http://bugs.python.org/issue18119> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17403] Robotparser fails to parse some robots.txt

2013-04-22 Thread Mher Movsisyan
Mher Movsisyan added the comment: Can you share the link of the new robots.txt standard? I may help to implement it. -- ___ Python tracker <http://bugs.python.org/issue17

[issue17403] Robotparser fails to parse some robots.txt

2013-03-19 Thread Mher Movsisyan
Mher Movsisyan added the comment: The second patch only normalizes the url. From http://www.robotstxt.org/norobots-rfc.txt it is not clear how to handle multiple rules with the same prefix. -- Added file: http://bugs.python.org/file29476/parser2.patch

[issue17403] Robotparser fails to parse some robots.txt

2013-03-18 Thread Mher Movsisyan
Mher Movsisyan added the comment: Attaching patch. -- keywords: +patch nosy: +mher Added file: http://bugs.python.org/file29457/parser.patch ___ Python tracker <http://bugs.python.org/issue17

[issue775321] plistlib error handling

2011-01-12 Thread Mher Movsisyan
Mher Movsisyan added the comment: I don't see compelling reasons to wrap ExpatError in ValueError. ExpatError contains extra diagnostic information such as line and column numbers. -- ___ Python tracker <http://bugs.python.org/iss

[issue10174] multiprocessing expects sys.stdout to have a fileno/close method.

2011-01-07 Thread Mher Movsisyan
Mher Movsisyan added the comment: This bug was fixed in #5313 --- a/multiprocessing/process.py +++ b/multiprocessing/process.py @@ -225,7 +225,8 @@ class Process(object): self._children = set() self._counter = itertools.count(1) try

[issue10174] multiprocessing expects sys.stdout to have a fileno/close method.

2011-01-07 Thread Mher Movsisyan
Mher Movsisyan added the comment: The reported error is only reproducible in 2.6 Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. &

[issue985064] plistlib crashes too easily on bad files

2011-01-04 Thread Mher Movsisyan
Mher Movsisyan added the comment: I've replaced plistlib.InvalidPlistError with ValueError -- Added file: http://bugs.python.org/file20258/plist_validation_v2.diff ___ Python tracker <http://bugs.python.org/iss

[issue5162] multiprocessing cannot spawn child from a Windows service

2011-01-03 Thread Mher Movsisyan
Mher Movsisyan added the comment: Treating python services like frozen executables solves the issue. The patch is attached. -- Added file: http://bugs.python.org/file20241/forking_r87679.patch ___ Python tracker <http://bugs.python.org/issue5

[issue5162] multiprocessing cannot spawn child from a Windows service

2011-01-03 Thread Mher Movsisyan
Mher Movsisyan added the comment: Attached test case demonstrates the issue. -- nosy: +mher Added file: http://bugs.python.org/file20240/test_issue5162.py ___ Python tracker <http://bugs.python.org/issue5

[issue5879] multiprocessing - example "pool of http servers " fails on windows "socket has no attribute fromfd"

2010-12-21 Thread Mher Movsisyan
Mher Movsisyan added the comment: py3k does support socket.fromfd on Windows (#1378) -- nosy: +mher ___ Python tracker <http://bugs.python.org/issue5879> ___ ___

[issue985064] plistlib crashes too easily on bad files

2010-12-10 Thread Mher Movsisyan
Mher Movsisyan added the comment: The attached patch fixes crashes on bad input. The patch implements validation for dict and array elements as well as some resource cleanup. The tests are included as well. -- keywords: +patch nosy: +mher Added file: http://bugs.python.org/file19996

[issue5586] The documentation of os.makedirs is misleading

2009-04-05 Thread Mher Movsisyan
Mher Movsisyan added the comment: Sorry for confusion. I thought a "leaf directory" is an intermediate-level directory. >>> import os >>> os.makedirs("/tmp/a/b") >>> -- ___ Py

[issue5586] The documentation of os.makedirs is misleading

2009-03-28 Thread Mher Movsisyan
New submission from Mher Movsisyan : The documentation of os.makedirs (http://docs.python.org/library/os.html? highlight=makedirs#os.makedirs) is misleading. It states that os.makedirs raises an exception if the leaf directory already exists but it doesn't. Lib/os.py: 136 def makedirs