[issue19822] PEP process entrypoint

2013-11-28 Thread anatoly techtonik
anatoly techtonik added the comment: > The ticket has been closed by two people. Why do you keep re-opening the > ticket? Because you're not providing any arguments. If it is not important for you, just ignore. If something is not clear - ask. What you do is just closing the stu

[issue19824] string.Template: Add PHP-style variable expansion example

2013-11-28 Thread anatoly techtonik
anatoly techtonik added the comment: There is nothing to add to the class itself. It is about expanding docs section with helpful examples. `string.Template` is undervalued, because it is hard to see how it can be more useful than standard string formatting functions. But for people coming

[issue19825] test b.p.o email interface

2013-11-28 Thread anatoly techtonik
New submission from anatoly techtonik: -- anatoly t. -- messages: 204688 nosy: techtonik priority: normal severity: normal status: open title: test b.p.o email interface ___ Python tracker <http://bugs.python.org/issue19

[issue19825] test b.p.o email interface

2013-11-28 Thread anatoly techtonik
anatoly techtonik added the comment: Closing by email using [status=closed;resolution=invalid] suffix in header. -- resolution: -> invalid status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue19826] Document that bug reporting by email is possible

2013-11-28 Thread anatoly techtonik
New submission from anatoly techtonik: I found this to be convenient: http://techtonik.rainforce.org/2013/11/roundup-tracker-create-issues-by-email.html And this is missing from here: http://docs.python.org/release/2.7/bugs.html#using-the-python-issue-tracker Anf from here: http

[issue19824] string.Template: Add PHP-style variable expansion example

2013-11-28 Thread anatoly techtonik
anatoly techtonik added the comment: @Alex, have you seen http://pythonhosted.org/flufl.i18n/docs/using.html#substitutions-and-placeholders? I really like the brevity, and it is the function that does the magic, so it is fully transparent and you don't need to instantiate string.Tem

[issue6829] Frendly error message when inheriting from function

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

[issue6829] Frendly error message when inheriting from function

2009-09-04 Thread anatoly techtonik
anatoly techtonik 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 <http://bugs.python.

[issue6829] Frendly error message when inheriting from function

2009-09-04 Thread anatoly techtonik
Changes by anatoly techtonik : -- status: closed -> pending ___ Python tracker <http://bugs.python.org/issue6829> ___ ___ Python-bugs-list mailing list Un

[issue6829] Frendly error message when inheriting from function

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

[issue6829] Frendly error message when inheriting from function

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

[issue6829] Frendly error message when inheriting from function

2009-09-07 Thread anatoly techtonik
anatoly techtonik added the comment: Or with more info if possible: Error when inheriting class "%s" - parent is not a class. -- ___ Python tracker <http://bugs.python.

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-16 Thread anatoly techtonik
anatoly techtonik 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 any tests att

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-16 Thread anatoly techtonik
anatoly techtonik 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 attention befor

[issue1613573] xmlrpclib ServerProxy uses old httplib interface

2009-09-17 Thread anatoly techtonik
anatoly techtonik 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 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 <http://bugs.python.org/issue1613

[issue6992] multiple authors in setup.by

2009-09-25 Thread anatoly techtonik
New submission from anatoly techtonik : 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

[issue6992] multiple authors in setup.by

2009-09-28 Thread anatoly techtonik
anatoly techtonik added the comment: I want to add their emails also. What to write in author_email in this case? Will such author be parsed by various tools? By PyPi, for example, so that everyone get equal credits. I haven't found any remarks about correct handling of this fie

[issue6992] Adding a Contributor field in PEP 314

2009-09-28 Thread anatoly techtonik
anatoly techtonik added the comment: Too complicated. I think any who significantly contributed to some package is an author. Maintainer is the one who does the goodness of making this package available to other systems through PyPi. {{{ authors = [ 'Anatoli ', 'Tarek &#

[issue6992] Adding a Contributor field in PEP 314

2009-09-28 Thread anatoly techtonik
anatoly techtonik added the comment: Having single `authors` field is enough, indeed. -- ___ Python tracker <http://bugs.python.org/issue6992> ___ ___ Python-bug

[issue6992] Adding a Contributor field in PEP 314

2009-09-30 Thread anatoly techtonik
anatoly techtonik added the comment: > The good pratice, if there are several authors, is to setup a > mailing-list (and put its address as official contact address). True. Some packages already do this. > Otherwise collaboration gets inevitably messy, since authors can get >

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

2009-10-03 Thread anatoly techtonik
anatoly techtonik added the comment: I wonder what does Guido think about this bikeshed? -- ___ Python tracker <http://bugs.python.org/issue6992> ___ ___ Pytho

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

2009-10-06 Thread anatoly techtonik
anatoly techtonik added the comment: >> Tarek Ziadé 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&#

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

2009-10-06 Thread anatoly techtonik
anatoly techtonik added the comment: On Tue, Oct 6, 2009 at 4:04 PM, Marc-Andre Lemburg wrote: >> >> Please, be specific. PyPi maintainer or trac-plugin package maintainer >> or debian package maintainer? Which should be mentioned in debian >> package for a trac plu

[issue7284] optparse - display version in usage by default

2009-11-07 Thread anatoly techtonik
New submission from anatoly techtonik : 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: optparse - display

[issue6247] should we include argparse

2009-12-07 Thread anatoly techtonik
anatoly techtonik 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. Look at constructor

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

2009-12-27 Thread anatoly techtonik
New submission from anatoly techtonik : 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 more sta

[issue7583] doctest should normalize tabs when comparing output

2009-12-27 Thread anatoly techtonik
New submission from anatoly techtonik : 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 attached doctabtest.py

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

2009-12-27 Thread anatoly techtonik
New submission from anatoly techtonik : 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 in standard library. It

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

2009-12-27 Thread anatoly techtonik
New submission from anatoly techtonik : 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 various tools http

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

2009-12-27 Thread anatoly techtonik
anatoly techtonik 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. --

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

2009-12-28 Thread anatoly techtonik
anatoly techtonik 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 <http://bugs.python.org/issue7

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

2009-12-28 Thread anatoly techtonik
anatoly techtonik 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 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 <http://bugs.python.org/issue7

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

2009-12-28 Thread anatoly techtonik
Changes by anatoly techtonik : Removed file: http://bugs.python.org/file15688/diff.py_iso_timestamps_true.diff ___ Python tracker <http://bugs.python.org/issue7

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

2009-12-29 Thread anatoly techtonik
anatoly techtonik 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 it is not always

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

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

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

2010-01-03 Thread anatoly techtonik
anatoly techtonik 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 <http://bugs.python.org/issue7

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

2010-01-09 Thread anatoly techtonik
anatoly techtonik 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 : 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 ti

[issue7662] time.utcoffset()

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

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

2010-01-10 Thread anatoly techtonik
anatoly techtonik 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 tracker <h

[issue7662] time.utcoffset()

2010-01-10 Thread anatoly techtonik
anatoly techtonik 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 <http://bugs.python.org/i

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread anatoly techtonik
New submission from anatoly techtonik : The code below exits with timeout after about 20 secs on Windows + Python 2.5.4 import socket # address of server routable, but offline server = "192.168.1.2" s = socket.socket() s.setblocking(1) s.connect((server, 139)) s.close() The

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread anatoly techtonik
anatoly techtonik added the comment: Because documentation doesn't say that Python should timeout after 20 seconds after entering blocking mode if socket to remote host can not be opened. ___ Python tracker <http://bugs.python.org/i

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread anatoly techtonik
anatoly techtonik added the comment: After rewriting my reply several times I've noticed my mistake, but it took more time to understand the problem than could be expected for a language that we all would like to see as easy and intuitive as possible. That why I still would like to see

[issue5293] socket timeouts even in blocking mode

2009-02-17 Thread anatoly techtonik
anatoly techtonik added the comment: Isn't it a job of crossplatform programming language to abstract from low-level platform details? The scope of this bug is not about handling all possible Winsock errors. It is about proper handling the sole timeout error from the list http://www.wi

[issue5293] socket timeouts even in blocking mode

2009-02-20 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks for pointing me to the list of possible network errors. This information is invaluable. Too bad it is easily lost among other details. I've seen similar errors in other modules that use socket module and it's no wonder now why people can

[issue5366] examples for dependency keywords in setup.py

2009-02-25 Thread anatoly techtonik
New submission from anatoly techtonik : When documentation grows too large it is nice to have clear examples that stand out of text. Explanation is important to get the idea, but for a reference cookbook examples work better. Here is a patch to clarify the usage of *requires* and *provides

[issue5366] setupscript examples for dependency keywords in setup.py

2009-02-26 Thread anatoly techtonik
anatoly techtonik added the comment: Another thing for setupscript is to state that long_description is actually ReStructured text. -- title: examples for dependency keywords in setup.py -> setupscript examples for dependency keywords in setup

[issue2057] difflib: add patch capability

2009-03-25 Thread anatoly techtonik
anatoly techtonik added the comment: Tool is ready. diff/patch lib is not. http://code.google.com/p/python-patch/ -- ___ Python tracker <http://bugs.python.org/issue2

[issue4015] [patch] make installed scripts executable on windows

2009-04-01 Thread anatoly techtonik
anatoly techtonik added the comment: The point is not in generating .bat files. The point is to make scripts executable with exactly the same version of Python the script was installed. It works well on POSIX, but doesn't work on windows at all. There is no other way to fix this on wi

[issue4015] [patch] make installed scripts executable on windows

2009-04-01 Thread anatoly techtonik
anatoly techtonik added the comment: The solution with launcher is complex (if not complicated). It will make scripts unportable - consider using a removable disk with your Python and application script. The interpreter was not installed on target system, but with .bat file application is still

[issue4015] [patch] make installed scripts executable on windows

2009-04-02 Thread anatoly techtonik
Changes by anatoly techtonik : Added file: http://bugs.python.org/file13577/executable.scripts.on.nt.patch ___ Python tracker <http://bugs.python.org/issue4015> ___ ___

[issue4015] [patch] make installed scripts executable on windows

2009-04-02 Thread anatoly techtonik
anatoly techtonik added the comment: I've updated the script to parse unlimited number of parameters on NT, to return %errorcode% and to fallback to default Python compiler. It is based on similar workarounds we've made for SCons in http://scons.tigris.org/source/browse/scons/branche

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

2009-04-07 Thread anatoly techtonik
New submission from anatoly techtonik : >>> import os >>> os.defpath '.;C:\\bin' >>> os.path.defpath '.;C:\\bin' >>> These are invalid paths on windows. -- components: Library (Lib) messages: 85708 nosy: techtonik severity: nor

[issue4828] patch suggestion for webbrowser

2009-04-07 Thread anatoly techtonik
anatoly techtonik added the comment: Windows has a plenty of executable extensions that can be dynamically added. You may want to look at patch at issue 2200 http://bugs.python.org/file11359/spawn.patch.txt for workaround. -- nosy: +techtonik

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

2009-04-08 Thread anatoly techtonik
Changes by anatoly techtonik : -- keywords: +patch Added file: http://bugs.python.org/file13651/issue5717.py25.patch ___ Python tracker <http://bugs.python.org/issue5

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

2009-04-08 Thread anatoly techtonik
anatoly techtonik added the comment: On the second try it was much easier. For py3k I saw a post about removing defpath and some of its friends, with which I partially agree. http://groups.google.com/group/comp.lang.python/browse_thread/thread/e8072370bfbef398/a0215b5820f76c0e

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

2009-06-05 Thread anatoly techtonik
anatoly techtonik 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 list for future

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

2009-06-18 Thread anatoly techtonik
New submission from anatoly techtonik : 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\Micr

[issue8822] datetime naive and aware types should have a well-defined definition that can be cross-referenced

2010-05-26 Thread anatoly techtonik
New submission from anatoly techtonik : 'naive' and 'aware' are key datetime types - they need a proper definition and anchor for crossrefences. If you take a look at http://docs.python.org/library/datetime.html - the definition of distinction between them is too vag

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

2010-05-26 Thread anatoly techtonik
anatoly techtonik added the comment: 1. David, as an original reporter who needed this for Trac (http://trac.edgewall.org/ticket/8662) and couple of other projects I strongly for 'Z' ending by default, unless you are going to explain the full difference in documentation. Expect to

[issue4015] [patch] make installed scripts executable on windows

2010-05-28 Thread anatoly techtonik
anatoly techtonik added the comment: This issue is so old and I do not have time to reread it fully, unfortunately. I believe I wanted to install packages using "easy_install", "pip" or whatever I have and get Scripts/something.bat for my version of Python. This versio

[issue8870] --user-access-control=force produces invalid installer on Vista

2010-06-01 Thread anatoly techtonik
New submission from anatoly techtonik : Running `python setup.py bdist_wininst --user-access-control=force` produces invalid installer that fails to install with the error message: Failed to start elevated process (ShellExecute returned 5) -- assignee: tarek components: Distutils

[issue8867] serve.py (using wsgiref) cannot serve Python docs under Python3 due to encoding issues

2010-06-01 Thread anatoly techtonik
Changes by anatoly techtonik : -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/issue8867> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8871] --user-access-control=auto has no effect

2010-06-01 Thread anatoly techtonik
New submission from anatoly techtonik : Seems like `--user-access-control=auto` option [1] introduced in Python 2.6 for to bdist_wininst has no effect on Vista. Test. 1. Get a Vista. 2. `hg clone http://bitbucket.org/techtonik/python-wget/` 3. Add {{{ scripts=['wget.py'], }}} t

[issue2581] Vista UAC/elevation support for bdist_wininst

2010-06-01 Thread anatoly techtonik
anatoly techtonik added the comment: Doesn't seem to work anymore. Please, see: http://bugs.python.org/issue8870 http://bugs.python.org/issue8871 -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/i

[issue7833] Bdist_wininst installers fail to load extensions built with Issue4120 patch

2010-06-01 Thread anatoly techtonik
anatoly techtonik added the comment: I see that this issue mentions --user-access-control option. Can somebody also check if issue8870 and issue8871 are related to this one? -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/issue7

[issue8870] --user-access-control=force produces invalid installer on Vista

2010-06-01 Thread anatoly techtonik
anatoly techtonik added the comment: See also issue8871 and original report http://scons.tigris.org/issues/show_bug.cgi?id=2533 -- ___ Python tracker <http://bugs.python.org/issue8

[issue8870] --user-access-control=force produces invalid installer on Vista

2010-06-01 Thread anatoly techtonik
anatoly techtonik added the comment: It is local Ext2 partition system accessible through http://www.fs-driver.org/ on the same HDD as primary system partition. But there is definitely issue with difference between drives. There is no problem if the package is executed from the NTFS system

[issue8870] --user-access-control=force produces invalid installer on Vista

2010-06-01 Thread anatoly techtonik
anatoly techtonik added the comment: Attaching installer file for testing. -- Added file: http://bugs.python.org/file17520/wget-0.6.win32.exe ___ Python tracker <http://bugs.python.org/issue8

[issue8870] --user-access-control=force produces invalid installer on Vista

2010-06-02 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks for thorough explanation. Can somebody close it with some resolution like "Can't fix. OS level problem"? -- ___ Python tracker <http://bugs.py

[issue8870] --user-access-control=force produces invalid installer on Vista

2010-06-02 Thread anatoly techtonik
anatoly techtonik added the comment: Is it possible to detect this situation and display more user-friendly error message with a reference to this issue? -- ___ Python tracker <http://bugs.python.org/issue8

[issue8891] sort files before archiving for consistency

2010-06-03 Thread anatoly techtonik
New submission from anatoly techtonik : I am troubleshooting local issue with distutils and UAC on Windows, and I need to compare resulting binary archives. Unfortunately files to bdist archives are added in random order and this complicates comparisons. This patch makes distutils archives

[issue8891] sort files before archiving for consistency

2010-06-03 Thread anatoly techtonik
Changes by anatoly techtonik : Added file: http://bugs.python.org/file17539/sort_files_in_zip.27.patch ___ Python tracker <http://bugs.python.org/issue8891> ___ ___ Pytho

[issue8891] sort files before archiving for consistency

2010-06-03 Thread anatoly techtonik
anatoly techtonik added the comment: On Fri, Jun 4, 2010 at 12:32 AM, Éric Araujo wrote: > > This would be a new feature, so it can’t go into 2.6 unless I’m mistaken. It > may even not go into 2.7. It is not a feature, but a bugfix for wrong order of files in archive. That mean

[issue8890] Module logging has dangerous examples

2010-06-03 Thread anatoly techtonik
anatoly techtonik added the comment: import logging - LOG_FILENAME = '/tmp/logging_example.out' + LOG_FILENAME = 'example.log' logging.basicConfig(filename=LOG_FILENAME,level=logging.DEBUG) logging.debug('This message should go to the log file'

[issue8891] sort files before archiving for consistency

2010-06-04 Thread anatoly techtonik
anatoly techtonik added the comment: On Fri, Jun 4, 2010 at 1:11 AM, Éric Araujo wrote: > > Sorry for writing when tired. Clearer first sentence: If it does not change > the code to match the docs or to fix a regression from an older version, it’s > a feature. This is the big

[issue8891] sort files before archiving for consistency

2010-06-04 Thread anatoly techtonik
anatoly techtonik added the comment: > Tarek Ziadé added the comment: > >> community members should be able to vote on patches > > *or* the core dev responsible for the development of the incriminated > package, which is me for distutils. This is said in the last part of

[issue8891] sort files before archiving for consistency

2010-06-04 Thread anatoly techtonik
anatoly techtonik added the comment: > """ > I use well-defined development toolchain for working with binary files > that can detect insignificant change in some kind of binary data like > timestamps in .zip archive, but comparing moving blocks is a disaster. >

[issue8891] sort files before archiving for consistency

2010-06-04 Thread anatoly techtonik
anatoly techtonik added the comment: On Fri, Jun 4, 2010 at 3:10 PM, Éric Araujo wrote: > >> It would be nice if Python process could allow me to maintain my own >> patched version of Python stdlibs so that I can use it instead of main >> stdlib and quickly switch betw

[issue8902] add datetime.time.now() for consistency

2010-06-04 Thread anatoly techtonik
New submission from anatoly techtonik : There is: datetime.date.today() datetime.datetime.today() datetime.datetime.now([tz]) But no: datetime.time.now([tz]) -- components: Library (Lib) messages: 107122 nosy: techtonik priority: normal severity: normal status: open title: add

[issue8903] datetime functions

2010-06-04 Thread anatoly techtonik
New submission from anatoly techtonik : Current OOP API of datetime is ugly: from datetime import datetime print datetime.today().isoformat() The proposal is to add today() and now() as module functions: from datetime import today, now print today() # datetime.date(2010, 6, 5) print now

[issue8904] quick example how to fix docs

2010-06-05 Thread anatoly techtonik
New submission from anatoly techtonik : It would be helpful to have examples how to patch docs in some place like http://docs.python.org/bugs.html For example, in CHM version of 2.6.5 manual open() anchor points to reference/datamodel.html#index-844 and to tutorial/inputoutput.html#index-1080

[issue8905] difflib: support input generators

2010-06-05 Thread anatoly techtonik
New submission from anatoly techtonik : difflib operates on the lists, but it should be possible to use arbitrary generators. This will require internal limit on buffer size that has a side advantage of limiting difflib to available memory. -- components: Library (Lib) messages

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

2010-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: > According to my reading of RFC 3339, it is not correct to produce 'Z' > timestamps when local offset is not known. It is not said that 'Z' SHOULD NOT be produced if local offset is unknown. Even if offset is unknown, UTC

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

2010-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: s/datetime/date\/time/ in the last sentence, as the complication comes from: -- start offtopic -- 1. the vast amount of various date and time modules/functions 2. the little amount of what they can do I still hardly believe that there is no way to get

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

2010-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: issue8907 seems related. -- nosy: +belopolsky, d...@python ___ Python tracker <http://bugs.python.org/issue7229> ___ ___

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

2010-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: easy, just waits to be ported -- nosy: +d...@python ___ Python tracker <http://bugs.python.org/issue8151> ___ ___ Python-bug

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

2010-06-05 Thread anatoly techtonik
Changes by anatoly techtonik : -- nosy: +d...@python ___ Python tracker <http://bugs.python.org/issue8519> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1635217] Add example of distutils setup() with "requires" argument

2010-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: Neal, why a piece from issue1635217#msg31028 doesn't qualify as an example? It seems that this issue may become obsolete with new packaging guide coming up. -- components: +Distutils, Distutils2 nosy: +d...@python versions: +Python 2.7, Pytho

[issue8908] friendly errors for UAC errors in windows installers

2010-06-05 Thread anatoly techtonik
New submission from anatoly techtonik : The problem investigated in issue8870 detected that bdist_wininst installers fail in Vista and Windows 7 with enabled UAC (user access control) when run from local drives with non-MS file systems and from network drives. The error message returned in

[issue8908] friendly errors for UAC errors in windows installers

2010-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: A proper user error message requires investigation of behavior on anonymous samba shares. Attaching patch to install.c with backlinks to relevant ticket descriptions. -- keywords: +patch Added file: http://bugs.python.org/file17564/8908

[issue8908] friendly errors for UAC misbehavior in windows installers

2010-06-05 Thread anatoly techtonik
Changes by anatoly techtonik : -- title: friendly errors for UAC errors in windows installers -> friendly errors for UAC misbehavior in windows installers ___ Python tracker <http://bugs.python.org/iss

[issue8871] --user-access-control=auto has no effect

2010-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: Can't repeat right now. Please close with issue8870 as a superseder if nothing happens in the next two weeks. -- ___ Python tracker <http://bugs.python.org/i

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

2010-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: Adding Alexander as ISTM he may be interested to read the time discussion. -- nosy: +belopolsky ___ Python tracker <http://bugs.python.org/issue7

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

2010-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: It is too hard to track this issue without quotes from manual. Let's bring context into discussion: http://docs.python.org/library/time.html#time.altzone UTC offset of the local DST timezone if one is defined. Only use this if daylight is nonzero.

[issue1647654] No obvious and correct way to get the time zone offset

2010-06-05 Thread anatoly techtonik
Changes by anatoly techtonik : -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/issue1647654> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1667546] Time zone-capable variant of time.localtime

2010-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: Yet another timezone issue. =/ Seems like it is too complicated. Should we try to organize a dedicated sprint during EuroPython? Do we need some easy to read research on the problem? Should PSF define bounty for that? Should we try to approach this with

<    3   4   5   6   7   8   9   10   >