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

2010-04-07 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Great analysis! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2810 ___ ___ Python-bugs

[issue6090] zipfile DeprecationWarning Python 2.5/2.6

2010-04-06 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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 module 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 techto...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org/issue2824

[issue2228] Imaplib speedup patch

2010-04-06 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- components: +Library (Lib) type: resource usage - performance versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2228

[issue8325] improve regrtest command line help

2010-04-06 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: 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 techto...@gmail.com 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

[issue1220212] os.kill on windows

2010-04-05 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org

[issue7583] doctest should normalize tabs when comparing output

2010-04-05 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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

[issue1220212] os.kill on windows

2010-04-05 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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

[issue7585] difflib should separate filename from timestamp with tab

2010-04-02 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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 rep...@bugs.python.org http

[issue7585] difflib should separate filename from timestamp with tab

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

[issue7585] difflib should separate filename from timestamp with tab

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

[issue7585] difflib should separate filename from timestamp with tab

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

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

2010-04-02 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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 techto...@gmail.com 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 rep...@bugs.python.org http://bugs.python.org

[issue3778] python uninstaller leave registry entries

2010-04-02 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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 rep...@bugs.python.org http

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

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Added file: http://bugs.python.org/file16721/issue7583.doctest.tabs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7583

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

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Removed file: http://bugs.python.org/file16712/issue7583.doctest.tabs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7583

[issue6703] cross platform failure and silly test in doctest

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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

[issue6703] cross platform failure and silly test in doctest

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: http://codereview.appspot.com/815042/show -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6703

[issue7583] doctest should normalize tabs when comparing output

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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

[issue1659] Tests needing network flag?

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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

[issue1659] Tests needing network flag?

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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

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

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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

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

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Added file: http://bugs.python.org/file16726/issue2810_registry.png ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2810

[issue3778] python uninstaller leave registry entries

2010-04-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com 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: +Python 2.6, Python 2.7

[issue8282] Windows uninstaller requests admin access for unindentified program

2010-04-01 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: 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: open

[issue7585] difflib should separate filename from timestamp with tab

2010-04-01 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Added file: http://bugs.python.org/file16730/issue7585.difflib-tab-separator.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7585

[issue7585] difflib should separate filename from timestamp with tab

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

[issue7583] doctest should normalize tabs when comparing output

2010-03-31 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file16712/issue7583.doctest.tabs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7583

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

2010-03-31 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- title: doctest should normalize tabs when comparing output - [patch] doctest should normalize tabs when comparing output ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7583

[issue7585] [patch] difflib should separate filename from timestamp with tab

2010-03-31 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: depends on issue #7583 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7585

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

2010-03-31 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: http://codereview.appspot.com/848043/show -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7583

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

2010-03-31 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: It would be nice to see standalone test case that illustrates the problem. -- nosy: +techtonik ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7443

[issue1059244] distutil bdist hardcodes the python location

2010-03-21 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- versions: +Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1059244

[issue1059244] distutil bdist hardcodes the python location

2010-03-21 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I am creating packages for PyPI and they all are created wrong. If the module is pure Python - 'bdist' should be equal to 'sdist'. -- nosy: +techtonik ___ Python tracker rep...@bugs.python.org

[issue8151] [patch] convenience links for subprocess.call()

2010-03-19 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- versions: +Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8151

[issue8146] Latest version of Python for windows 98

2010-03-15 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: http://www.python.org/download/windows/ This page lacks information about which versions of Python were last supported for Windows 95, Windows 98 and Windows 2000. Which may run even though they are not supported on these platforms

[issue8147] os.system and standard C function system() limitations

2010-03-15 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: http://docs.python.org/library/os.html#os.system ...This is implemented by calling the Standard C function system(), and has the same limitations... Which limitations? BTW, is the Windows 98 comment can be dropped

[issue8151] [patch] convenience links for subprocess.call()

2010-03-15 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: http://codereview.appspot.com/577041/show Index: make.bat === --- make.bat(revision 78986) +++ make.bat(working copy) @@ -1,4 +1,4 @@ -@@echo off +...@echo off

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

2010-02-16 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Ok. Let's commit it at least to 2.7 - I'll create a separate issue for discussion of unified diff format later. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7582

[issue7939] subprocess: call([arg, arg2], shell=True) vs call(arg+ +arg2, shell=True)

2010-02-16 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I can't see changes to subprocess.call() docs in issue #6760. I reopen this bug, because call() definitely need a visible note about this significant behavior. I can not reopen #6760 http://docs.python.org/library/subprocess.html

[issue7939] subprocess: call([arg, arg2], shell=True) vs call(arg+ +arg2, shell=True)

2010-02-16 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I still do not agree. There should be a note in call() documentation, because users will waste their time experiencing the bug before reading documentation again. If you can't make something just work without rereading the whole doc

[issue7939] subprocess: call([arg, arg2], shell=True) vs call(arg+ +arg2, shell=True)

2010-02-16 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Thanks. That should be enough, although I wouldn't mind against more prominent notice to urge users to go and see Popen parameters. I would also add a second example to allow users see the difference. For instance, how to execute another

[issue7939] subprocess: call([arg, arg2], shell=True) vs call(arg+ +arg2, shell=True)

2010-02-16 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: The last one should be: retcode = call([sys.executable, diff.py oldfile newfile]) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7939

[issue7939] subprocess: call([arg, arg2], shell=True) vs call(arg+ +arg2, shell=True)

2010-02-16 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: You are right - I should read the docs, but one of the outstanding features of Python is that in many cases you can test the code faster than read documentation. =) It would help if [ls, -la] example included third argument thus fully

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

2010-02-10 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I use this tool in instructions how to generate patches on windows, so I am interested to see this fix in the version, that users will likely to use for next couple of years, but I'd be happy to see this committed in any branch

[issue7585] [patch] difflib should separate filename from timestamp with tab

2010-02-10 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: The reason is to provide a good usage example. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7585

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

2010-02-10 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I am sorry - too much windows to reply. This must be *unified*, of course. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7582

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

2010-02-09 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: So, is that right that even if time.daylight specifies the offset, this doesn't mean that this offset is active? MS documentation you referenced is unclear: The _get_daylight function retrieves the number of hours in daylight saving

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

2010-02-09 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: You are right. [pydst.py]-- import time print time.asctime() print time.localtime().tm_isdst print time.daylight Tue Feb 09 10:31:47 2010 0 1 Sun May 09 10:33:20 2010 1 1 There is already an issue #7229

[issue7891] add links to SVN for documentation developers

2010-02-09 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: http://www.python.org/dev/doc/ - this wordy page miss one important code snippet: {{{ svn co http://svn.python.org/projects/python/trunk/Doc }}} the result of reduce(meditate(http://www.python.org/dev/doc/;, how to make a patch

[issue7229] [PATCH] Manual entry for time.daylight can be misleading

2010-02-09 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Run into the same problem in issue #7582. Patch attached, but wording can be improved. http://docs.python.org/library/time.html#time.daylight -- keywords: +patch nosy: +techtonik title: Manual entry for time.daylight can

[issue7229] [PATCH] Manual entry for time.daylight can be misleading

2010-02-09 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Perhaps altzone() documentation is also wrong. Brian, can you comment on this? http://docs.python.org/library/time.html#time.altzone -- nosy: +brian.curtin ___ Python tracker rep

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

2010-02-09 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Finally! (I really hope so) -- Added file: http://bugs.python.org/file16184/diff.py_iso_timestamps_true_with_true_dst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue7662] time.utcoffset()

2010-02-09 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Updated Python code according to discussion from aforementioned issue #7582. Unfortunately, I can't find Python source for `time` module to make a proper patch out of it. def time.utcoffset(): Return current UTC offset in seconds

[issue1005895] curses for win32

2010-02-03 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Can this be considered a duplicate of issue 2889? -- versions: +Python 2.7 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1005895

[issue7798] document pydoc methods

2010-02-01 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I won't mind against the pager module in the main library. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7798

[issue7798] document pydoc methods

2010-01-28 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: pydoc contains some useful methods like pager() that could be reused in many python application, and it would be handy to have a documentation for them in Python manual http://docs.python.org/library/pydoc -- assignee

[issue4137] update SIG web pages

2010-01-18 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: By the way, where is the tracker for python.org websites? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4137

[issue3341] Suggest a change link

2010-01-18 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: This functionality is specific request for python documentation, so adjustments should be made to Sphinx customization layer for docs.python.org if Sphinx itself doesn't provide such feature. Is there a bug tracker for python.org

[issue7731] Search is sluggish

2010-01-18 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: docs.python.org site search is sluggish or may seem not working at all. The reason is that before search starts, it requires a 800k+ index file to be loaded http://docs.python.org/searchindex.js This file is usually cached. You might

[issue7731] Search is sluggish

2010-01-18 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: It appears the doctools project is outdated and development for documentation generation tools moved to Sphinx project. Patch for Sphinx is in Sphinx bug tracker at http://bitbucket.org/birkenfeld/sphinx/issue/322/improve-search

[issue7731] Search is sluggish

2010-01-18 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I would keep this ticket open until the issue is fixed for docs.python.org -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7731

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

2010-01-10 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Brian, documentation says quite the opposite. time.daylight Nonzero if a DST timezone is defined. http://docs.python.org/library/time.html?highlight=daylight#time.daylight -- ___ Python

[issue7662] time.utcoffset()

2010-01-10 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Answered in msg97503 In the meanwhile it looks like another proposal about RFC format in issue #7584 doesn't account for proper timezone too. -- ___ Python tracker rep...@bugs.python.org http

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

2010-01-09 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: New version detects DST using time.daylight flag. utcoffset = -(time.altzone if time.daylight else time.timezone) // 60 -- Added file: http://bugs.python.org/file15798/diff.py_iso_timestamps_true_with_dst.diff

[issue7662] time.utcoffset(dst=true)

2010-01-09 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: The proposal to add the function that will allow to get current UTC offset. Do we need a PEP for this one? def time.utcoffset(): Return current UTC offset in seconds return -(time.altzone if time.daylight else time.timezone

[issue7662] time.utcoffset()

2010-01-09 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- title: time.utcoffset(dst=true) - time.utcoffset() ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7662

[issue7585] [patch] difflib should separate filename from timestamp with tab

2010-01-03 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: It is the same reason as for removing recommendation from docstring to generate timestamps in the format returned by time.ctime(). See issue #7582 -- ___ Python tracker rep...@bugs.python.org

[issue7585] [patch] difflib should separate filename from timestamp with tab

2009-12-29 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Filenames may contain spaces too. --- handle dis Sun Dec 27 16:08:28 2009 --- или вот это пон, дек 27 16:08:28 2009 The last line is space separated filename and date in Russian locale. Patch tool should handle that, but as you may see

[issue7585] [patch] difflib should separate filename from timestamp with tab

2009-12-29 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: This patch makes sure filename and date split by tab in every case when date is provided. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7585

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

2009-12-28 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Thanks! Now the most elegant patch I could think out. -- Added file: http://bugs.python.org/file15688/diff.py_iso_timestamps_true.diff ___ Python tracker rep...@bugs.python.org http

[issue7585] [patch] difflib should separate filename from timestamp with tab

2009-12-28 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Conditional checks are required to prevent leaving trailing whitespace in filename when date component is not present. Such trailing whitespace may confuse patch tools. [1] [1] http://code.google.com/p/python-patch/issues/detail?id=2

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

2009-12-28 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Pepeighfied and regenerated. Should be flawless now. -- Added file: http://bugs.python.org/file15689/diff.py_iso_timestamps_true.diff ___ Python tracker rep...@bugs.python.org http

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

2009-12-28 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Removed file: http://bugs.python.org/file15688/diff.py_iso_timestamps_true.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7582

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

2009-12-27 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: make diff.py produce unified diffs with ISO 8601 timestamps Currently generated timestamps are difficult to separate from filename when parsing if you don't know that the diff was generated by diff.by This patch make diff.py output

[issue7583] doctest should normalize tabs when comparing output

2009-12-27 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: Since 2.4 doctest converts all tabs to 8-space sequences in test source. It should do the same with output it receives for comparison. Right now there is no way to write a correct doctest if the output includes tab character. See

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

2009-12-27 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: RFC 3339 defines a standard for Date and Time on the Internet. http://www.ietf.org/rfc/rfc3339.txt Given that Python is increasingly popular on the Internet is should include convenience function to generate RFC 3339 timestamps

[issue7585] [patch] difflib should separate filename from timestamp with tab

2009-12-27 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: The patch inserts \t character between filename and timestamp in unified and context diff headers. According to specification by Guido Van Rossum =) http://www.artima.com/weblogs/viewpost.jsp?thread=164293 And de-facto output from

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

2009-12-27 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: That's true. Is there any way to get current TZ offset in Python? I can't find anything better than datetime.datetime.now() - datetime.datetime.utcnow() and then rounding to a nearest minute

[issue6247] should we include argparse

2009-12-07 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Argparse seems to be overloaded with rarely used features. Instead of providing API to add these features and allow users copy examples it tends to be an all-in- one solution that is hard to use due to abundance of specific parameters

[issue7284] optparse - display version in usage by default

2009-11-07 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: It would be useful if optparse could display version right in usage help before command syntax. Right now it can only output either usage or version. -- messages: 95034 nosy: techtonik severity: normal status: open title

[issue6992] PEP 314 inconsistency (authors/author/maintainer)

2009-10-06 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Tarek Ziadé ziade.ta...@gmail.com added the comment: Yes but fixing this inconsitency can be done on either side: A - remove the maintainer and maintainer_email B - add the Maintainer and Maintainer-email in the metadata If we don't

[issue6992] PEP 314 inconsistency (authors/author/maintainer)

2009-10-06 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: On Tue, Oct 6, 2009 at 4:04 PM, Marc-Andre Lemburg rep...@bugs.python.org wrote: Please, be specific. PyPi maintainer or trac-plugin package maintainer or debian package maintainer? Which should be mentioned in debian package

[issue6992] PEP 314 inconsistency (authors/author/maintainer)

2009-10-03 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I wonder what does Guido think about this bikeshed? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6992

[issue6992] multiple authors in setup.by

2009-09-25 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: setup.py should allow to specify multiple authors in package description. -- assignee: tarek components: Distutils messages: 93105 nosy: tarek, techtonik severity: normal status: open title: multiple authors in setup.by

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-17 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: This bug may be fixed. Unfortunately I do not possess original setup anymore. The primary issue is still issue648658 and that affects bzr + launchpad integration, XML-RPC access to bugzilla and probably more

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-17 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: And I want to add that I am glad that is finally fixed, so I really appreciate the work people done in this direction in their free time. -- ___ Python tracker rep...@bugs.python.org http

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-16 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Yep, the patch at #6267 is an extension of this one except for the last chunk where I also check if sockets are ssl-enabled. I am not sure why it was needed. It also may have been already fixed somewhere else. As this bug doesn't have

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-16 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: There should be a better way to do this check, because HTTPConnection method may exists, but HTTPConnection may be impossible, because of other reasons. And I still would like to see this fix in Python 2.6 - too bad it hadn't enough

[issue6829] Frendly error message when inheriting from function

2009-09-07 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: How about: Error running metaclass bases (attempt to inherit from object that is not a class) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6829

[issue6829] Frendly error message when inheriting from function

2009-09-07 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Or just: Error inheriting from object that is not a class -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6829

[issue6829] Frendly error message when inheriting from function

2009-09-07 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Or with more info if possible: Error when inheriting class %s - parent is not a class. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6829

[issue6829] Frendly error message when inheriting from function

2009-09-04 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: Ok, but why not to change the message to less cryptic Impossible to inherit class from function(), string or int? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6829

[issue6829] Frendly error message when inheriting from function

2009-09-04 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- status: closed - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6829 ___ ___ Python

[issue6829] Frendly error message when inheriting from function

2009-09-03 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: It is an error to try to inherit from function and the error message in this case is: {{{ Traceback (most recent call last): File stdin, line 1, in module File m:\p\pb.py, line 4, in module class PostgreSQLConnection

[issue6310] Windows App Paths key is not checked when installed for current user

2009-06-18 Thread anatoly techtonik
New submission from anatoly techtonik techto...@gmail.com: I found that if Python installed only for current user on Windows XP Home Edition SP3 Python fails to run from Start - Run dialog or using ShellExecute() call. It is because it creates App Paths key in HKEY_CURRENT_USER\Software

[issue798520] os.popen with invalid mode differs on Windows and POSIX

2009-06-05 Thread anatoly techtonik
anatoly techtonik techto...@gmail.com added the comment: I can confirm this but, but os.popen() is deprecated in 2.6 hence there is no point in fixing generated exception even though in a language that claims to be cross-platform exceptions should be unified. I would add os.popen to keywords

[issue5717] os.defpath includes unix /bin on windows

2009-04-08 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file13651/issue5717.py25.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5717

<    4   5   6   7   8   9   10   >