[issue7583] [patch] doctest should normalize tabs when comparing output

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik : Added file: http://bugs.python.org/file16721/issue7583.doctest.tabs.diff ___ Python tracker <http://bugs.python.org/issue7583> ___ ___ Pytho

[issue7583] [patch] doctest should normalize tabs when comparing output

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik : Removed file: http://bugs.python.org/file16712/issue7583.doctest.tabs.diff ___ Python tracker <http://bugs.python.org/issue7583> ___ ___

[issue6703] cross platform failure and silly test in doctest

2010-04-01 Thread anatoly techtonik
anatoly techtonik added the comment: Sure doctests should be crossplatform by default when possible. The patch should fix the behavior for windows. It also cleans the doc and code a bit. Can you provide some testcases? -- keywords: +patch nosy: +techtonik Added file: http

[issue6703] cross platform failure and silly test in doctest

2010-04-01 Thread anatoly techtonik
anatoly techtonik added the comment: http://codereview.appspot.com/815042/show -- ___ Python tracker <http://bugs.python.org/issue6703> ___ ___ Python-bugs-list m

[issue7583] doctest should normalize tabs when comparing output

2010-04-01 Thread anatoly techtonik
anatoly techtonik added the comment: http://docs.python.org/library/doctest.html#how-are-docstring-examples-recognized "Changed in version 2.4: Expanding tabs to spaces is new; previous versions tried to preserve hard tabs, with confusing results" Unfortunately, no confusing result

[issue1659] Tests needing network flag?

2010-04-01 Thread anatoly techtonik
anatoly techtonik added the comment: Updated patch. test_socket - whole suite will be skipped test_socket_ssl - no more avail test_ssl - only test that require network will be marked as skipped test_urllib2 - untouched, requires fine-grained approach, probably for

[issue1659] Tests needing network flag?

2010-04-01 Thread anatoly techtonik
anatoly techtonik added the comment: I propose to split this issue. One is to test which tests that marked with `test_support.requires('network')` _really_ need network connection. Second is annotation of appropriate methods instead of whole test suite to count exact number of tes

[issue2810] _winreg.EnumValue fails when the registry data includes multibyte unicode characters

2010-04-01 Thread anatoly techtonik
anatoly techtonik added the comment: I propose to close this as "invalid", because the bug with _winreg.EnumValue can not be confirmed. However, it seems to be impossible to return unicode data from _winreg.EnumKey, and this deserves a new bug. -- nosy: +techtonik version

[issue2810] _winreg.EnumValue fails when the registry data includes multibyte unicode characters

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik : Added file: http://bugs.python.org/file16726/issue2810_registry.png ___ Python tracker <http://bugs.python.org/issue2810> ___ ___ Python-bug

[issue3778] python uninstaller leave registry entries

2010-04-01 Thread anatoly techtonik
anatoly techtonik added the comment: Confirmed 2.6.5 installer leaves "HKLM\SOFTWARE\Python\PythonCore\2.6\Modules" on install/uninstall without \2.6\ key. I propose to mark it as 'low' priority. -- nosy: +techtonik versions: +Py

[issue8282] Windows uninstaller requests admin access for unindentified program

2010-04-01 Thread anatoly techtonik
New submission from anatoly techtonik : Uninstall on Vista requires administrative privileges to "Unindentified program" from "Unindentified publisher". Tested 2.6.5 and 2.7a4 -- components: Installation messages: 102117 nosy: techtonik severity: normal status:

[issue7585] difflib should separate filename from timestamp with tab

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik : Added file: http://bugs.python.org/file16730/issue7585.difflib-tab-separator.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7585] difflib should separate filename from timestamp with tab

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik : Added file: http://bugs.python.org/file16731/issue7585.difflib-tab-separator-no-trail.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7585] difflib should separate filename from timestamp with tab

2010-04-02 Thread anatoly techtonik
anatoly techtonik added the comment: Refreshed patches - feel free to apply in any order you want. Convenience link for reviews: http://codereview.appspot.com/809043/show -- ___ Python tracker <http://bugs.python.org/issue7

[issue7585] difflib should separate filename from timestamp with tab

2010-04-02 Thread anatoly techtonik
Changes by anatoly techtonik : Added file: http://bugs.python.org/file16732/issue7585.difflib-tab-update-docs.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7585] difflib should separate filename from timestamp with tab

2010-04-02 Thread anatoly techtonik
Changes by anatoly techtonik : Removed file: http://bugs.python.org/file16732/issue7585.difflib-tab-update-docs.diff ___ Python tracker <http://bugs.python.org/issue7

[issue7585] difflib should separate filename from timestamp with tab

2010-04-02 Thread anatoly techtonik
anatoly techtonik added the comment: These patches are incrementally add features. Feel free to apply one that suits most. Codereview provides more convenient way to review differences between these. attaching optional patch that removes recommendation to use ctime format for timestamps

[issue7585] difflib should separate filename from timestamp with tab

2010-04-02 Thread anatoly techtonik
Changes by anatoly techtonik : Added file: http://bugs.python.org/file16734/issue7585.difflib-tab-updoc-iso8601.diff ___ Python tracker <http://bugs.python.org/issue7

[issue2810] _winreg.EnumValue fails when the registry data includes multibyte unicode characters

2010-04-02 Thread anatoly techtonik
anatoly techtonik added the comment: If this doesn't relate to multibyte strings anymore, but just to long strings then I'd open new bug. If even regedit fails to query then maybe its WinAPI flaw? Maybe it will worth to try ctypes. --

[issue3778] python uninstaller leave registry entries

2010-04-02 Thread anatoly techtonik
anatoly techtonik added the comment: The top level should be removed only when it is empty after Python that is being uninstalled removed its own branch. -- ___ Python tracker <http://bugs.python.org/issue3

[issue3778] python uninstaller leave registry entries

2010-04-02 Thread anatoly techtonik
anatoly techtonik added the comment: There should be a "function" to remove key if empty. BTW, what software is used to create (un)installer and where is Python code for it? -- ___ Python tracker <http://bugs.python.

[issue1220212] os.kill on windows

2010-04-05 Thread anatoly techtonik
anatoly techtonik added the comment: FAQ should be updated http://www.python.org/doc/faq/windows/#how-do-i-emulate-os-kill-in-windows -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/issue1220

[issue7583] doctest should normalize tabs when comparing output

2010-04-05 Thread anatoly techtonik
anatoly techtonik added the comment: Could you be more specific about why users should not be allowed to use tabs in docstrings. An example use case/user story would help me a lot. I've made a precondition to check tab existence before expanding tabs for performance reasons. The indent

[issue1220212] os.kill on windows

2010-04-05 Thread anatoly techtonik
anatoly techtonik added the comment: Seems good to me, even though I'd rewrite some parts like this: - Prior to Python 2.7 and 3.2, to terminate a process, you can use ctypes:: + Prior to Python 2.7 and 3.2, you can use linksomehow:`ctypes` to terminate a process:: ... In newer P

[issue6090] zipfile DeprecationWarning Python 2.5/2.6

2010-04-06 Thread anatoly techtonik
anatoly techtonik added the comment: This code is broken in 2.7alpha4 - it doesn't add file at all. Traceback (most recent call last): File "test.py", line 5, in new.writestr(zi,'fgh') File "C:\~env\Python27\lib\zipfile.py", line 1099, in writestr

[issue2824] zipfile to handle duplicate files in archive

2010-04-06 Thread anatoly techtonik
anatoly techtonik added the comment: Still an issue for Python 2.7 -- versions: +Python 2.7 Added file: http://bugs.python.org/file16776/test2824.py ___ Python tracker <http://bugs.python.org/issue2

[issue2228] Imaplib speedup patch

2010-04-06 Thread anatoly techtonik
Changes by anatoly techtonik : -- components: +Library (Lib) type: resource usage -> performance versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/iss

[issue8325] improve regrtest command line help

2010-04-06 Thread anatoly techtonik
New submission from anatoly techtonik : regrtest command line help can be greatly improved to encourage users run tests. -- components: Tests messages: 102443 nosy: techtonik severity: normal status: open title: improve regrtest command line help versions: Python 2.7

[issue8325] improve regrtest command line help

2010-04-06 Thread anatoly techtonik
anatoly techtonik added the comment: This should be enough for now. Is HG diff against trunk ok? -- keywords: +patch versions: +Python 2.6 Added file: http://bugs.python.org/file16777/8325.improve-regrtest-help.diff ___ Python tracker <h

[issue8332] regrtest single TestClass/test_method

2010-04-07 Thread anatoly techtonik
New submission from anatoly techtonik : It would be convenient for debug to execute single test_method or TestClass. Running all tests in file can take a long time. -- components: Tests messages: 102524 nosy: techtonik severity: normal status: open title: regrtest single TestClass

[issue8332] regrtest single TestClass/test_method

2010-04-07 Thread anatoly techtonik
anatoly techtonik added the comment: regrtest [options] test_file.TestClass regrtest [options] test_file.test_method -- ___ Python tracker <http://bugs.python.org/issue8

[issue7585] difflib should separate filename from timestamp with tab

2010-04-07 Thread anatoly techtonik
anatoly techtonik added the comment: Added unittest for tab with and without set filedate. Removed #7583 dependency with NORMALIZE_WHITESPACE. -- Added file: http://bugs.python.org/file16797/issue7585.difflib-tab-unittest.diff ___ Python tracker

[issue2810] _winreg.EnumValue fails when the registry data includes multibyte unicode characters

2010-04-07 Thread anatoly techtonik
anatoly techtonik added the comment: Great analysis! -- ___ Python tracker <http://bugs.python.org/issue2810> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2824] zipfile to handle duplicate files in archive

2010-04-08 Thread anatoly techtonik
anatoly techtonik added the comment: On the second thought having a switch for a low-level zip format hacking is a good addition. It may also be used for in-place removals from .zip file by erasing directory entry. Otherwise remove operation will require repacking archive into temporary file

[issue8343] improve re parse error messages for named groups

2010-04-08 Thread anatoly techtonik
New submission from anatoly techtonik : sre_parse has some messages among repeated code sequences, but can be tweaked for user convenience -- components: Library (Lib) files: lib.re.improve-error-message.diff keywords: patch messages: 102604 nosy: techtonik severity: normal status

[issue7443] test.support.unlink issue on Windows platform

2010-04-09 Thread anatoly techtonik
anatoly techtonik added the comment: It is unlikely that it will go further then discussion unless this bug can be reliably reproduced to be debugged. If not testcase when at least Process Monitor log would be helpful. -- ___ Python tracker <h

[issue7584] datetime.rfcformat() for Date and Time on the Internet

2010-04-09 Thread anatoly techtonik
anatoly techtonik added the comment: Atom spec - http://www.atomenabled.org/developers/syndication/atom-format-spec.php#date.constructs -- ___ Python tracker <http://bugs.python.org/issue7

[issue8355] diff.py produce unified format by default

2010-04-09 Thread anatoly techtonik
New submission from anatoly techtonik : Script/diff.py default context diff format is outdated. It makes sense to produce unified diff by default. -- components: Demos and Tools messages: 102701 nosy: techtonik severity: normal status: open title: diff.py produce unified format by

[issue8355] diff.py produce unified format by default

2010-04-09 Thread anatoly techtonik
Changes by anatoly techtonik : -- keywords: +patch Added file: http://bugs.python.org/file16840/8355.diff-py-unified-by-default.diff ___ Python tracker <http://bugs.python.org/issue8

[issue8355] diff.py produce unified format by default

2010-04-09 Thread anatoly techtonik
anatoly techtonik added the comment: Attached is 'svn diff'. Previous one was taken directly from Mercurial Queue, which is a pretty awesome thing to use. -- Added file: http://bugs.python.org/file16849/8355.diff-py-unified-by-defaul

[issue8355] diff.py produce unified format by default

2010-04-09 Thread anatoly techtonik
anatoly techtonik added the comment: It is not a diff replacement. Its output, as David noted, is not a diff output format and can not be reliably parsed due to issue7585 and issue7582 combination. For being a diff replacement it will have to get rid of .py extension and gain a dozen of

[issue8299] Improve GIL in 2.7

2010-04-09 Thread anatoly techtonik
anatoly techtonik added the comment: If it really improves multicore performance and none of our test fail (even in memory/resource/time survival tests) then I'd give it a try even after a beta. 2.x is still the best practical version out there. -- nosy: +tech

[issue8360] doc: unittest.skipTest method added in 2.7

2010-04-10 Thread anatoly techtonik
Changes by anatoly techtonik : -- assignee: georg.brandl components: Documentation files: doc.python-version-for-skiptest.diff keywords: patch nosy: georg.brandl, techtonik severity: normal status: open title: doc: unittest.skipTest method added in 2.7 versions: Python 2.7 Added file

[issue7585] difflib should separate filename from timestamp with tab

2010-04-12 Thread anatoly techtonik
anatoly techtonik added the comment: r80004 and r80006 to be exact. Great! Thanks! =) -- ___ Python tracker <http://bugs.python.org/issue7585> ___ ___ Pytho

[issue4022] 2.6 dependent on c:\python26\ on windows

2010-04-12 Thread anatoly techtonik
anatoly techtonik added the comment: I it still actual for 2.6.5 and 2.7? -- components: +Installation versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue4

[issue8355] diff.py produce unified format by default

2010-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: -0 eric.smith for concerns about people relying on current behaviour -0 brian.curtin the same counterarg: current behavior will be broken anyway with compatibility fix in r80004 +0 r.david.murray the policy that we shouldn't change s

[issue8355] diff.py produce unified format by default

2010-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: I hope this is not a support tracker. =) -- ___ Python tracker <http://bugs.python.org/issue8355> ___ ___ Python-bugs-list m

[issue8355] diff.py produce unified format by default

2010-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: Do you really think that Python users shouldn't use tools written in Python if they are available? -- ___ Python tracker <http://bugs.python.org/i

[issue8355] diff.py produce unified format by default

2010-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: I'll add a note about preferred "svn diff" way and "diff.py" as a fallback. But first I'd like to see this patch committed to streamline patch submission process by removing requirement to remember "-u" o

[issue8355] diff.py produce unified format by default

2010-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: Stefan, do you use "diff.py"? -- ___ Python tracker <http://bugs.python.org/issue8355> ___ ___ Python-bugs-l

[issue8355] diff.py produce unified format by default

2010-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: Seems like I have to remind that everybody can still paint their bikeshed in classic colors with "-c" option, but if you all prefer unified colors, why do you resist on painting them in these by default? Custom color options add more to a total

[issue8355] diff.py produce unified format by default

2010-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: Seems like a bikeshed was too much of an argument, but I've run out of them discussing such minor issue. The last is that if anybody here has 0's - does my +1 value something? Why can't anybody just commit it and close this, so I can

[issue2028] _fmode = O_TEXT is obsolete

2010-04-14 Thread anatoly techtonik
anatoly techtonik added the comment: Why Guido can't speak for py3k here in personal? I've just wasted two days debugging this O_BINARY flag when HgGit stopped to work on windows. https://bugs.edge.launchpad.net/dulwich/+bug/557585 We need at least document this for os.open(

[issue8399] Document os.open

2010-04-14 Thread anatoly techtonik
New submission from anatoly techtonik : Need to document the that os.O_BINARY flag is obligatory for cross-platform behavior of os.open() on Windows. By default os.open() opens file as binary on Unix, but as text on Windows. See also issue2028 for discussion of making os.O_BINARY default on

[issue8399] Document os.open

2010-04-14 Thread anatoly techtonik
anatoly techtonik added the comment: s/ can / can't / -- ___ Python tracker <http://bugs.python.org/issue8399> ___ ___ Python-bugs-list mailing list Unsubsc

[issue8399] Document os.open

2010-04-14 Thread anatoly techtonik
anatoly techtonik added the comment: On Unix all files are opened in binary mode. On Windows linefeeds are translated to CRLF corrupting files that are meant to be binary. This is the reason of HgGit failure - it uses Dulwich library that creates corrupted Git index file, because on Windows

[issue8408] need console/pager module

2010-04-15 Thread anatoly techtonik
New submission from anatoly techtonik : Many many Python tools have duplicating code related to getting console properties like width and height to provide pagination and cute progress bars. While the issue seems minor, making such features work crossplatform way requires many tuits. That&#

[issue8408] need console/pager module

2010-04-15 Thread anatoly techtonik
anatoly techtonik added the comment: How to get console width: http://stackoverflow.com/questions/566746/how-to-get-console-window-width-in-python http://code.activestate.com/recipes/440694-determine-size-of-console-window-on-windows/ PDCurses may contain some public domain code: http

[issue8408] need console/pager module

2010-04-15 Thread anatoly techtonik
anatoly techtonik added the comment: It is not a bug, but a "feature request". -- ___ Python tracker <http://bugs.python.org/issue8408> ___ ___ Python-b

[issue8355] diff.py produce unified format by default

2010-04-16 Thread anatoly techtonik
anatoly techtonik added the comment: I am not convinced with -1 +1 argumentation. Can somebody properly summarize arguments behind the decision? Democracy is good, but it is a pity to see a technical proposal fail because of personal reasons. -- status: pending -> o

[issue8355] diff.py produce unified format by default

2010-04-16 Thread anatoly techtonik
anatoly techtonik added the comment: I.e. if you put a -1 or +1 - put it with a short sentence that summarizes the key factor in your decision. There is no +0 or -0 that are used to give everybody else a hint about your feelings towards. For example: +1 - I use patch.py diff.py counterpart

[issue8371] Add a command to download distributions

2010-04-17 Thread anatoly techtonik
anatoly techtonik added the comment: There is a ready-to-use public domain code with a progress bar if you'll need it. http://pypi.python.org/pypi/wget/ -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/i

[issue8384] Distutils C extension build with MinGW on Windows fails

2010-04-17 Thread anatoly techtonik
anatoly techtonik added the comment: To me a better option would be an ability to specify a path to compiler from command line. --compiler-path=./mingw/bin/gcc.exe -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/issue8

[issue8355] diff.py produce unified format by default

2010-04-18 Thread anatoly techtonik
anatoly techtonik added the comment: Ok. I just wanted to make it compatible with my patch.py utility designed as a counterpart to diff.py to make Python contributing process self-sufficient on any platform. Its parser component doesn't support context diffs. http://code.google.com/p/p

[issue8355] diff.py produce unified format by default

2010-04-18 Thread anatoly techtonik
anatoly techtonik added the comment: But I still think sticking to -c behavior by default is too conservative for clear minds. =) -- ___ Python tracker <http://bugs.python.org/issue8

[issue8481] doc: ctypes no need to explicitly allocate writable memory with Structure

2010-04-21 Thread anatoly techtonik
New submission from anatoly techtonik : ctypes docs should mention that Structures can be passed with byref() to functions expecting pointer to mutable memory without explicit allocation of mutable memory block with create_string_buffer() or similar function. -- assignee: georg.brandl

[issue8325] improve regrtest command line help

2010-04-23 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks for proofreading. I've uploaded a new version here with typo fix, but do not removed 1., 2. numbering. It is a very awesome feature of console UI. When you're in a hurry (and you always in a hurry when you forget something) it is easy t

[issue8325] improve regrtest command line help

2010-04-23 Thread anatoly techtonik
anatoly techtonik added the comment: Éric: svn merge R.David Murray: "The numbers should definitely not be there." is not an argument. `python regrtest.py` should also be a supported way to run regression suite. With only -m favor documented somebody can quickly forget about

[issue8325] improve regrtest command line help

2010-04-23 Thread anatoly techtonik
anatoly techtonik added the comment: To reach a consensus we can drop line numbering, but I still would like to see two variants of invocation. Sometimes I indeed copy library from trunk/ to main Lib/ for testing, but there is no better way to work with the test suite inside version control

[issue2823] "Report bug" links

2010-04-24 Thread anatoly techtonik
anatoly techtonik added the comment: I am just curious what convinced you to change the -2 opinion after two years with r80388? Reopening to change resolution status. -- status: closed -> open versions: +Python 2.7 ___ Python tracker &l

[issue2823] "Report bug" links

2010-04-24 Thread anatoly techtonik
anatoly techtonik added the comment: Please also add a link to issue3341 as a Superceder. -- ___ Python tracker <http://bugs.python.org/issue2823> ___ ___ Pytho

[issue3341] "Suggest a change" link

2010-04-24 Thread anatoly techtonik
anatoly techtonik added the comment: I am glad there is some response to this issue in r80388 -- versions: +Python 2.7 ___ Python tracker <http://bugs.python.org/issue3

[issue2823] "Report bug" links

2010-04-24 Thread anatoly techtonik
anatoly techtonik added the comment: Still the part "Report bug on this page" is covered. Please, add a link to Superceder. -- ___ Python tracker <http://bugs.python.

[issue3341] "Suggest a change" link

2010-04-24 Thread anatoly techtonik
anatoly techtonik added the comment: Georg, if you are not going to implement it, it doesn't mean nobody will do this. In Sphinx or through disqus. I do not see the reason to close this feature request. Also I do not understand arguments like: "Yes, this is under consideration.&qu

[issue8519] [patch] doc: termios and ioctl reference links

2010-04-24 Thread anatoly techtonik
New submission from anatoly techtonik : The patch adds link to reference with various flags for termios functions and fcntl.ioctl call. -- assignee: georg.brandl components: Documentation files: .reference-termios-specification-for-flags.diff keywords: patch messages: 104094 nosy

[issue8519] [patch] doc: termios and ioctl reference links

2010-04-24 Thread anatoly techtonik
anatoly techtonik added the comment: Éric, thanks, attached reStructured patch. Georg, ioctl(2) is useless, because it doesn't contain the information people need in addition to Python manual, i.e. various examples (like how to get console size) and constants (like TIOCGWINSZ) that are

[issue8519] [patch] doc: termios and ioctl reference links

2010-04-24 Thread anatoly techtonik
anatoly techtonik added the comment: I do not mind if you include a better link with ioctl constants explained or have ideas for examples. I hope you agree the ioctl(2) man page contains much less useful information than http://www.kernel.org/doc/man-pages/online/pages/man4/tty_ioctl.4.html

[issue7582] [patch] diff.py to use iso timestamp

2010-04-28 Thread anatoly techtonik
anatoly techtonik added the comment: So, what about 2.7 ? -- ___ Python tracker <http://bugs.python.org/issue7582> ___ ___ Python-bugs-list mailing list Unsub

[issue7584] datetime.rfcformat() for Date and Time on the Internet

2010-04-28 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks Daniel. I am still interested in this. My Python code as well as your patch doesn't specify that "Z" must be present when time zone offset is unknown or absent, but Atom specification mentions that and I believe this is that most

[issue7582] [patch] diff.py to use iso timestamp

2010-04-28 Thread anatoly techtonik
anatoly techtonik added the comment: I still do not understand your policy - it is a tool, it is not a part of standard library. -- ___ Python tracker <http://bugs.python.org/issue7

[issue7584] datetime.rfcformat() for Date and Time on the Internet

2010-04-28 Thread anatoly techtonik
anatoly techtonik added the comment: > It also says that if "the offset to local time is unknown, this can > be > represented with an offset of "-00:00"". So I don't think we can write > "Z" or "+00:00" if we don't know the UTC offs

[issue7584] datetime.rfcformat() for Date and Time on the Internet

2010-04-28 Thread anatoly techtonik
anatoly techtonik added the comment: I do not think that -00:00 or +00:00 will be invalid Atom timestamp, but to implement parser of rfc3339 timestamp, Z handling is still needed. I can easily imagine people making wrong assumption that parsing 00:00 at the end would be enough for proper

[issue7584] datetime.rfcformat() for Date and Time on the Internet

2010-04-30 Thread anatoly techtonik
anatoly techtonik added the comment: The point is that your implementation doesn't allow people to generate 'Z'-ending timestamp if they need a subset of rfc3339. -- ___ Python tracker <http://bugs.py

[issue7583] Improve explanation of tab expansion in doctests

2010-05-06 Thread anatoly techtonik
anatoly techtonik added the comment: Sorry for not being able to follow up on this issue. I believe we need to expand the problem of handling tabs in doctests with use cases and expose the problem outside the issue tracker item. I still remember that at some point I had a patch somewhere

[issue7584] datetime.rfcformat() for Date and Time on the Internet

2010-05-09 Thread anatoly techtonik
anatoly techtonik added the comment: Let's quote RFC 3339: """ 4.3. Unknown Local Offset Convention If the time in UTC is known, but the offset to local time is unknown, this can be represented with an offset of "-00:00". This differs semantically fr

[issue8702] difflib: unified_diff produces wrong patches (again)

2010-05-13 Thread anatoly techtonik
New submission from anatoly techtonik : If source/target file for unified format diff context doesn't end with new line, the diff should contain this marker: \ No newline at end of file Or else there is information loss when such patch is applied. http://en.wikipedia.org/wiki

[issue2142] difflib.unified_diff(...) produces invalid patches

2010-05-13 Thread anatoly techtonik
anatoly techtonik added the comment: You mean that this patch sits in here for 2 years already? This suxx. And nobody added the tag 'easy', because people haven't explicitly requested tracker privileges? That suxx. And it won't be in 2.7 because of that.. I am disappoin

[issue2142] difflib.unified_diff(...) produces invalid patches

2010-05-13 Thread anatoly techtonik
anatoly techtonik added the comment: Trent, the "\ New line..." seems to be feature specific to unified format only. http://en.wikipedia.org/wiki/Diff#Unified_format -- ___ Python tracker <http://bugs.python.

[issue4898] {context, unified}_diff add spurious trailing whitespace if fromfiledate/tofiledate are emptyk

2010-05-13 Thread anatoly techtonik
anatoly techtonik added the comment: Another 'easy' patch hangs for ages. =/ tag:easy tag:difflib -- nosy: +techtonik ___ Python tracker <http://bugs.python.

[issue7585] difflib should separate filename from timestamp with tab

2010-05-13 Thread anatoly techtonik
anatoly techtonik added the comment: tag:difflib -- ___ Python tracker <http://bugs.python.org/issue7585> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4898] {context, unified}_diff add spurious trailing whitespace if fromfiledate/tofiledate are emptyk

2010-05-13 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks for the patch. This was fixed as part of issue 7585. Please add issue 7585 as superceder and close this. -- ___ Python tracker <http://bugs.python.org/issue4

[issue1694155] Python 2.5 installer ended prematurely

2008-01-16 Thread anatoly techtonik
anatoly techtonik added the comment: The similar issue is just reported - http://img106.imageshack.us/img106/6892/pythonjo4.png -- nosy: +techtonik _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/iss

[issue1694155] Python 2.5 installer ended prematurely

2008-01-18 Thread anatoly techtonik
anatoly techtonik added the comment: It appears to be well known issue with MSI installer which is unable to handle subst'ed drives correctly. _ Tracker <[EMAIL PROTECTED]> <http://bugs.python.or

[issue2057] difflib: add patch capability

2008-02-09 Thread anatoly techtonik
New submission from anatoly techtonik: difflib alone and bundled Tools\Scripts\diff.py utility are both very useful, esp. on windows platforms where standard unix diffutils are absent. However, python difflib still doesn't have a patch counterpart to apply at least unified diff f

[issue2188] [patch] urllib2 hint - disabled ProxyHandler()

2008-02-25 Thread anatoly techtonik
New submission from anatoly techtonik: Patch documents that empty dictionary is used to make ProxyHandler() with disabled proxy autodetection. Empty constructor doesn't give the desired effect. P.S. An ideal approach would be, of course, to change the API. Even though it can be ch

[issue2614] Console UnicodeDecodeError s once more

2008-04-11 Thread anatoly techtonik
New submission from anatoly techtonik <[EMAIL PROTECTED]>: Python debugging under console is a PITA, because it has a bad habit to fail with UnicodeEncodeError in case of unknown encoding in output. It quickly turns into a headache when inspecting methods like in the following example r

[issue2823] "Report bug" links

2008-05-11 Thread anatoly techtonik
New submission from anatoly techtonik <[EMAIL PROTECTED]>: It would be convenient to use links in the bottom of documentation pages for bugreporting that directly connect to bugtracker search form. I.e. "Report bug on this page" and "Report bug in this module". ---

[issue2824] zipfile to handle duplicate files in archive

2008-05-11 Thread anatoly techtonik
New submission from anatoly techtonik <[EMAIL PROTECTED]>: ZipFile allows to add the same file to archive twice. I bet it is not intended behavior for many users who would like to either replace file inside of archive or get runtime warning about duplicate file to be added

[issue2824] zipfile to handle duplicate files in archive

2008-05-12 Thread anatoly techtonik
anatoly techtonik <[EMAIL PROTECTED]> added the comment: How about adding optional "replace=True" attribute to the write method? So that people who are not aware enough to adjust the code and handle new warning could still get valid archives. __

[issue2837] OpenID wannabe

2008-05-12 Thread anatoly techtonik
New submission from anatoly techtonik <[EMAIL PROTECTED]>: I haven't found any traces of requests to add OpenID URLs for authentication into account details for registered users, so I take the privilege to be the first one to say that it will be handy. -- components: No

<    1   2   3   4   5   6   7   8   9   10   >