Re: [Twisted-Python] Twisted 16.1 Release Announcement

2016-04-12 Thread anatoly techtonik
Hi, Are there any plans to get back 32-bit wheels for Twisted? -- https://mail.python.org/mailman/listinfo/python-list

Roundup Bug-Tracker 1.5.1 released

2016-01-12 Thread anatoly techtonik
tion if accessed through browser, without text/xml Content-Type (anatoly techtonik) - docs: New dedicated chapter for extensions in ``doc/customizing.txt`` (anatoly techtonik) - Increase default height of classhelp windows from 400 to 600. (Thomas Arendsen Hein) - Date properties now can s

Re: [Twisted-Python] Twisted 15.4 was the last release to support Python 2.6; or: a HawkOwl Can't Words Situation

2015-12-30 Thread anatoly techtonik
Is it possible to fix the documentation? https://twistedmatrix.com/trac/browser/tags/releases/twisted-15.5.0/NEWS?format=raw On Mon, Dec 7, 2015 at 4:06 PM, Amber "Hawkie" Brown wrote: > Hi everyone! > > It's been brought to my attention that I misworded something in

Encoding of Python 2 string literals

2015-07-22 Thread anatoly techtonik
Hi, Is there a way to know encoding of string (bytes) literal defined in source file? For example, given that source: # -*- coding: utf-8 -*- from library import Entry Entry(текст) Is there any way for Entry() constructor to know that string текст passed into it is the utf-8 string?

Subscribe to get an answer vs automatic CC Was: Fwd: Lossless bulletproof conversion to unicode (backslashing) (fwd)

2015-05-29 Thread anatoly techtonik
On Wed, May 27, 2015 at 3:57 PM, Laura Creighton l...@openend.se wrote: Chris Angelico apparantly has a problem with cc'd people who aren't on the list. I thought that CC in this case works automatically? If that's not the case, then I'll be annoyed by this too. So, thanks for CCing. =) Also,

Re: Fwd: Lossless bulletproof conversion to unicode (backslashing) (fwd)

2015-05-29 Thread anatoly techtonik
t4RC09ap02From: Chris Angelico ros...@gmail.com Cc: python-list@python.org python-list@python.org On Wed, May 27, 2015 at 9:52 PM, anatoly techtonik techto...@gmail.com wrote: And the short answer is that we need unicode because we are printing this information to the stdout, and stdout

Re: Fwd: Lossless bulletproof conversion to unicode (backslashing) (fwd)

2015-05-29 Thread anatoly techtonik
On Fri, May 29, 2015 at 11:41 AM, Laura Creighton l...@openend.se wrote: In a message of Fri, 29 May 2015 11:05:07 +0300, anatoly techtonik writes: Added Mailman to my suxx tracker: https://github.com/techtonik/suxx-tracker#mailman You are damning the wrong piece of software

Re: Fwd: Lossless bulletproof conversion to unicode (backslashing) (fwd)

2015-05-29 Thread anatoly techtonik
On Fri, May 29, 2015 at 2:39 PM, Laura Creighton l...@openend.se wrote: Do you know about the codecs module? reading http://pymotw.com/2/codecs/ may be useful if this is new to you. Does that work for Python 2 and Python 3? Have you read https://www.python.org/dev/peps/pep-0293/ ? No.

Re: Fwd: Lossless bulletproof conversion to unicode (backslashing)

2015-05-27 Thread anatoly techtonik
On Wed, May 27, 2015 at 2:35 PM, Laura Creighton l...@openend.se wrote: I am missing something. Why do you need unicode at all? Why can you not just keep your binary data as binary data? Good question. From the SCons code I see that we need unicode, because we switched to io.StringIO which is

Fwd: Lossless bulletproof conversion to unicode (backslashing)

2015-05-27 Thread anatoly techtonik
Hi. This was labelled offtopic in python-ideas, so I edited and forwarded it here. Please CC as I am not subscribed. In short. I need is a bulletproof way to convert from anything to unicode. This requires some kind of escaping to go forward and back. Some helper function like u2b() (unicode to

Re: Fwd: Lossless bulletproof conversion to unicode (backslashing)

2015-05-27 Thread anatoly techtonik
On Wed, May 27, 2015 at 2:47 PM, anatoly techtonik techto...@gmail.com wrote: On Wed, May 27, 2015 at 2:35 PM, Laura Creighton l...@openend.se wrote: I am missing something. Why do you need unicode at all? Why can you not just keep your binary data as binary data? Good question. From

Re: [pydotorg-www] www.python.org - Backend is unhealthy

2015-05-10 Thread anatoly techtonik
On Fri, May 8, 2015 at 11:32 AM, Noah Kantrowitz n...@coderanger.net wrote: On May 8, 2015, at 10:28 AM, Chris Angelico ros...@gmail.com wrote: On Fri, May 8, 2015 at 6:17 PM, jarau...@skynet.be wrote: I cannot access www.python.org. I always get Error 503 Backend is unhealthy Backend

[issue19822] PEP process entrypoint

2013-11-28 Thread anatoly techtonik
New submission from anatoly techtonik: https://bitbucket.org/rirror/peps PEP repository readme lacks information about how to send Python Enhancement Proposal step-by-step. 1. hg clone https://bitbucket.org/rirror/peps 2. cd peps 3. # choose number 4. cp ??? pep-{{number}}.txt 5. # commit 6

[issue19822] PEP process entrypoint

2013-11-28 Thread anatoly techtonik
anatoly techtonik added the comment: The entrypoint here means the point of entry for new Python Enhancement Proposals. Christian, what you propose is a 4th order link for someone who knows what PEPs are, and clones PEP repository to submit own proposal. What I propose it to make PEP

[issue19822] PEP process entrypoint

2013-11-28 Thread anatoly techtonik
anatoly techtonik added the comment: The process you are describing is not correct. In particular, the discussion happens before sending in a pull request. Post the link to correct process into README.rst and then this issue can be closed. As for python-dev, I thought it is too obvious

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

2013-11-28 Thread anatoly techtonik
New submission from anatoly techtonik: http://docs.python.org/2/library/string.html#template-strings This class could be more useful with the following example: from string import Template t = Template('$who likes $what') who = 'tim' what = 'kung pao' t.substitute(locals()) 'tim likes

[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 stuff, because you

[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 rep...@bugs.python.org http://bugs.python.org/issue19825

[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 rep...@bugs.python.org http://bugs.python.org/issue19825

[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.Template

[issue19812] reload() by symbol name

2013-11-27 Thread anatoly techtonik
New submission from anatoly techtonik: It would be nice if reload() supported reloading of symbols imported with from module import ... syntax. It is quite useful for development sessions, when you patch and test your function on some set of unexpected input. from astdump import dumpattrs

[issue19557] ast - docs for every node type are missing

2013-11-26 Thread anatoly techtonik
anatoly techtonik added the comment: https://greentreesnakes.readthedocs.org/en/latest/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19557

[issue19557] ast - docs for every node type are missing

2013-11-26 Thread anatoly techtonik
anatoly techtonik added the comment: SO link serves a proof that a problem is actual. It is needed, because, for example Brett doesn't think it is important. 2nd link is the same proof, and also an example of documentation wanted. -- ___ Python

[issue19557] ast - docs for every node type are missing

2013-11-26 Thread anatoly techtonik
anatoly techtonik added the comment: In fact it may be the documentation that could be merged. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19557

[issue19655] Replace the ASDL parser carried with CPython

2013-11-23 Thread anatoly techtonik
anatoly techtonik added the comment: +1 for initiative, points that are nice to be addressed are below. 1. Python 3.4 with modern idioms - too Python-specific code raises the barrier. I'd prefer simplicity and portability over modernism. Like how hard is it to port the parser into JS

[issue19557] ast - docs for every node type are missing

2013-11-23 Thread anatoly techtonik
anatoly techtonik added the comment: http://stackoverflow.com/questions/8370132/what-syntax-is-represented-by-an-extslice-node-in-pythons-ast -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19557

[issue19557] ast - docs for every node type are missing

2013-11-22 Thread anatoly techtonik
anatoly techtonik added the comment: Neither you nor docs answer the question when Assign node gets Tuple as argument, when List and when Subscript. While it is obvious to you, I personally don't know what a Subscript is. This is the kind of stuff that I'd like to see documented

[issue19541] ast.dump(indent=True) prettyprinting

2013-11-19 Thread anatoly techtonik
anatoly techtonik added the comment: Implemented more advanced interface with filtering and tests - here - https://bitbucket.org/techtonik/astdump/ Right now the output is not so detailed, but it may change if the need arises. -- ___ Python tracker

[issue19608] devguide needs pictures

2013-11-15 Thread anatoly techtonik
New submission from anatoly techtonik: http://docs.python.org/devguide/ it covers pretty much complicated stuff, which takes a lot of time to grasp. Pictures help to save hours if not weeks. There needs to be some immediate intro picture at the top of front page illustrating transformation

[issue19608] devguide needs pictures

2013-11-15 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks for the proposal, but you know perfectly that I am not a designer. I don't believe that there are no talented people who find this ticket interesting. You just need to add tag:easy to is (or allow others to do), so it became visible to these people

[issue19540] PEP339: Fix link to Zephyr ASDL paper

2013-11-14 Thread anatoly techtonik
anatoly techtonik added the comment: It conflicts. =( https://bitbucket.org/rirror/peps/pull-request/1/pep-0339txt-fix-link-to-zephyr-asdl-paper/diff -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19540

[issue19557] ast - docs for every node type are missing

2013-11-11 Thread anatoly techtonik
New submission from anatoly techtonik: http://docs.python.org/2/library/ast.html AST module doc is incomplete. To write node visitor, you need to know possible types of parameters and expected values for every node type. They are different. http://hg.python.org/cpython/file/1ee45eb6aab9

[issue12226] use HTTPS by default for uploading packages to pypi

2013-11-10 Thread anatoly techtonik
anatoly techtonik added the comment: How come that this CVE is still present in just released 2.7.6? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12226

[issue13276] bdist_wininst-created installer does not run the postinstallation script when uninstalling

2013-11-10 Thread anatoly techtonik
anatoly techtonik added the comment: Here is workaround, which is - patching distutils - https://code.google.com/p/spyderlib/wiki/PatchingDistutils -- versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http

[issue19549] PKG-INFO is created with CRLF on Windows

2013-11-10 Thread anatoly techtonik
New submission from anatoly techtonik: When packaging on Windows, sdist creates PKG-INFO, which is different in linefeeds. It will be better if this is consistent between platforms. -- assignee: eric.araujo components: Distutils, Distutils2 messages: 202602 nosy: alexis, eric.araujo

[issue19540] PEP339: Fix link to Zephyr ASDL paper

2013-11-09 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- assignee: docs@python components: Documentation hgrepos: 213 nosy: docs@python, techtonik priority: normal severity: normal status: open title: PEP339: Fix link to Zephyr ASDL paper ___ Python

[issue19541] ast.dump(indent=True) prettyprinting

2013-11-09 Thread anatoly techtonik
New submission from anatoly techtonik: ast.dump needs an indent argument for pretty printing. from pprint import pprint as pp pp(ast.dump(node)) Assign(targets=[Tuple(elts=[Name(id='d', ctx=Store()), Name(id='m', ctx=Store())], ctx=Store())], value=Call(func=Name(id='divmod', ctx=Load

[issue19377] Backport SVG mime type to Python 2

2013-10-30 Thread anatoly techtonik
anatoly techtonik added the comment: I think we are talking about double standards. Why the .xz and .txz are worthy including in 2.7.5 and .svg is not? See issue #16316. http://bugs.python.org/issue15207 will break a lot of this stuff anyway, so I hope it will fix the issue

[issue19454] devguide: Document what a platform support is

2013-10-30 Thread anatoly techtonik
New submission from anatoly techtonik: As a followup to issue19377 it would be nice if devguide contained a paragraph to resolve the conflicting point provided by http://bugs.python.org/msg187373 and http://bugs.python.org/msg201141 arguments. -- assignee: docs@python components

[issue19377] Backport SVG mime type to Python 2

2013-10-30 Thread anatoly techtonik
anatoly techtonik added the comment: Added issue19454 to settle this down. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19377 ___ ___ Python

[issue19377] Backport SVG mime type to Python 2

2013-10-24 Thread anatoly techtonik
New submission from anatoly techtonik: A request to backport issue10730 commit to Python 2.x Why? Google Client API uses mimetype module to detect file types when uploading to Google Drive, and because SVG is missing, it can not be edited after uploading. -- components: Library (Lib

[issue19377] Backport SVG mime type to Python 2

2013-10-24 Thread anatoly techtonik
anatoly techtonik added the comment: I am not sure that policy defines anything related to datasets bundled with Python. Even when try to adopt policy reading to this case, it doesn't look like a feature, but a bug fix. SVG is a registered MIME type http://www.w3.org/TR/SVG/mimereg.html, SVG

[issue19110] PEP-0 history link is broken

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: Cool. Even if it is automatically generated, it may worth to commit this file anyway to get browsable HG history about PEP additions/removals. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: I tested with 2.7 and 3.3, but this is true for any version. If the bug is actual for Python 2.6, 3.1 and 3.2 why should I uncheck them? Versions field description doesn't say that I should mark only latest change. In addition, people (unlikely, but still

[issue19121] Documentation guidelines enhancements

2013-09-29 Thread anatoly techtonik
New submission from anatoly techtonik: I'll raise some points and then suggest how to fix that. issue19060 it appeared that list of functions that subprocess replaces imbues readers with uncertainty, because this list is not complete. Current http://docs.python.org/devguide/documenting.html

[issue19060] docs: note that subprocess doesn't replace os.exec*

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: I would like to know if the list is complete too. It would be extremely awesome if it was complete. This raises a side issue that there seems no guideline to write unambiguous and complete documentation. I spammed the tracker with this stuff in issue19121

[issue19060] docs: note that subprocess doesn't replace os.exec*

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: On Sat, Sep 28, 2013 at 10:30 PM, Terry J. Reedy rep...@bugs.python.org wrote: If a sentence were added, I would simplify it to It does not replace os.exec*. or perhaps os.fork and os.exec*.. I prefer list. It is easier to scan: http://www.nngroup.com

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: It should be documented somehow then. At least in the field tooltip. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19066

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
New submission from anatoly techtonik: os.execv() starts process in background on Windows. Because it inherits stdin/stdout handlers from the process that launched Python interpreter, this becomes a source of numerous weird bugs, from polluting the stdout stream of parent to completely

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: s/same behavior/same command/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19124 ___ ___ Python-bugs-list

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: Added file: http://bugs.python.org/file31905/testexecvchild.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19124

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 29, 2013 at 2:05 PM, Richard Oudkerk rep...@bugs.python.org wrote: See http://bugs.python.org/issue436259 I am not sure that I should see there. There is discussion of DOS, which is not supported, also some complain about Windows execv function

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 29, 2013 at 3:03 PM, Richard Oudkerk rep...@bugs.python.org wrote: _spawn*() and _exec*() are implemented by the C runtime library. spawn*() and execv() are (deprecated) aliases. It is said that execv() is deprecated, but it is not said

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 29, 2013 at 6:39 PM, Richard Oudkerk rep...@bugs.python.org wrote: Richard Oudkerk added the comment: As I wrote in http://bugs.python.org/issue19066, on Windows execv() is equivalent to os.spawnv(os.P_NOWAIT, ...) os._exit(0

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: Hey. This ticket is about os.execv failing on spaced paths on Windows. It is not a duplicate of issue19124. -- resolution: duplicate - status: closed - open ___ Python tracker rep...@bugs.python.org http

[issue19066] os.execv fails with spaced names on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 29, 2013 at 8:48 PM, Richard Oudkerk rep...@bugs.python.org wrote: Don't we have such function already? I don't see the problem in quoting the string. No one seems to know how to write such a quoting function. Why escape quotes with slash

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 29, 2013 at 8:53 PM, Richard Oudkerk rep...@bugs.python.org wrote: Richard Oudkerk added the comment: Where did you get that info? MSDN is silent about that. http://msdn.microsoft.com/en-us/library/886kc0as(v=vs.90).aspx Reading the source

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
anatoly techtonik added the comment: I can't use subprocess. These are official business suite scripts for Android development from Google. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19124

[issue19124] os.execv executes in background on Windows

2013-09-29 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- resolution: rejected - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19124

[issue19110] PEP-0 history link is broken

2013-09-28 Thread anatoly techtonik
New submission from anatoly techtonik: See http://www.python.org/dev/peps/, click Last-Modified. -- assignee: docs@python components: Documentation messages: 198509 nosy: docs@python, techtonik priority: normal severity: normal status: open title: PEP-0 history link is broken

[issue19089] Windows: Broken Ctrl-D shortcut on Python 3

2013-09-25 Thread anatoly techtonik
New submission from anatoly techtonik: Ctrl-D shortcut works to terminate session in Python 2 on Windows, and doesn't work with Python 3. -- components: Windows messages: 198393 nosy: techtonik priority: normal severity: normal status: open title: Windows: Broken Ctrl-D shortcut

[issue19089] Windows: Broken Ctrl-D shortcut on Python 3

2013-09-25 Thread anatoly techtonik
anatoly techtonik added the comment: Well, it appears that installed IPython brought pyreadline, but I execute it in standard Python shell. I'd vote for this feature by default. Is that possible without readline? -- ___ Python tracker rep

[issue19089] Windows: Broken Ctrl-D shortcut on Python 3

2013-09-25 Thread anatoly techtonik
anatoly techtonik added the comment: Here is the output of py -v. -- Added file: http://bugs.python.org/file31868/py_-v.stderr.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19089

[issue19089] Windows: Broken Ctrl-D shortcut on Python 3

2013-09-25 Thread anatoly techtonik
anatoly techtonik added the comment: It would be nice if Python supported some cross-platform standard for user interfaces. It is rather annoying to use Ctrl-Z for Python in local window and Ctrl-D for Python in remote console session (which is *nix of course). It becomes even more annoying

[issue19089] Windows: Make Ctrl-D exit key combination cross-platform

2013-09-25 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- title: Windows: Broken Ctrl-D shortcut on Python 3 - Windows: Make Ctrl-D exit key combination cross-platform versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue19061] Shelve documentation security warning is not visible

2013-09-22 Thread anatoly techtonik
anatoly techtonik added the comment: The scope of warning is wrong. It is not a warning for open() call, and that's why it is easy to miss. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19061

[issue19061] Shelve documentation security warning is not visible

2013-09-22 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 22, 2013 at 12:42 PM, Georg Brandl rep...@bugs.python.orgwrote: Oh, please. It's big and red and directly below the open() description, how could you miss it? I believe that it is pretty easy with mobile browser due to screen constraints. Can

[issue19024] Document asterisk (*), splat or star operator

2013-09-22 Thread anatoly techtonik
anatoly techtonik added the comment: 223 people + me out of 1422 disagree with you both. http://stackoverflow.com/questions/101268/hidden-features-of-python -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19024

[issue19024] Document asterisk (*), splat or star operator

2013-09-22 Thread anatoly techtonik
anatoly techtonik added the comment: To narrow the point of conflict, I say that argument unpacking *operators* should have a prominent place in Python documentation that people can link to. Current page http://docs.python.org/3/tutorial/controlflow.html#unpacking-argument-lists is about

[issue19061] Shelve documentation security warning is not visible

2013-09-22 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 22, 2013 at 2:11 PM, Georg Brandl rep...@bugs.python.orgwrote: Georg Brandl added the comment: I believe that it is pretty easy with mobile browser due to screen constraints. Can you test this on your mobile devices? Sorry, but we don't

[issue19061] Shelve documentation security warning is not visible

2013-09-22 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 22, 2013 at 2:57 PM, Georg Brandl rep...@bugs.python.orgwrote: Georg Brandl added the comment: me[1] open() function description is a wrong place for warning that is related to a whole module you[2] common, it is visible, that's the point

[issue18553] os.isatty() is not Unix only

2013-09-22 Thread anatoly techtonik
anatoly techtonik added the comment: I having a snippet to fix that, should I open a new issue for patch? Please open a new issue. Reference is welcome. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18553

[issue19074] Add PySide to GUI FAQ

2013-09-22 Thread anatoly techtonik
New submission from anatoly techtonik: http://docs.python.org/2/faq/gui.html - this page misses info about PySide. -- assignee: docs@python components: Documentation messages: 198279 nosy: docs@python, techtonik priority: normal severity: normal status: open title: Add PySide to GUI FAQ

[issue15329] clarify which deque methods are thread-safe

2013-09-22 Thread anatoly techtonik
anatoly techtonik added the comment: So, is deque a faster replacement for Queue.Queue or not? -- nosy: +techtonik ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15329

[issue19074] Add PySide to GUI FAQ

2013-09-22 Thread anatoly techtonik
anatoly techtonik added the comment: If only wiki had a theme like Sphinx docs.. But I agree that static FAQ look dead compared to wiki or stackoverflow. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19074

[issue19060] docs: note that subprocess doesn't replace os.exec*

2013-09-21 Thread anatoly techtonik
New submission from anatoly techtonik: I always thought that subprocess is replacing all other methods of executing external programs from Python and it is a preferred way. Perhaps I was not attentive that people isolate: os.system os.spawn* os.popen* and os.exec* While subprocess

[issue19060] docs: note that subprocess doesn't replace os.exec*

2013-09-21 Thread anatoly techtonik
anatoly techtonik added the comment: tag:easy (meaning, please mark it as easy for OpenHatch robots) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19060

[issue19061] Shelve documentation security warning is not visible

2013-09-21 Thread anatoly techtonik
New submission from anatoly techtonik: This is a follow up to issue #8855. Currently the security warning is completely invisible from Python 2 docs http://docs.python.org/2/library/shelve.html and is located under screen border on Python 3 docs. The proposal is to move warning out

[issue19061] Shelve documentation security warning is not visible

2013-09-21 Thread anatoly techtonik
anatoly techtonik added the comment: tag:easy -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19061 ___ ___ Python-bugs-list mailing list

[issue19066] os.execv fails with spaced names on Windows

2013-09-21 Thread anatoly techtonik
New submission from anatoly techtonik: If file to be executed with os.execv on Windows is located in directory with spaces, Python fails. This doesn't fail on Linux. To test, run: testexecv.py spaced testexecv.py is attached. -- components: Library (Lib), Windows files

[issue19024] Document asterisk (*), splat or star operator

2013-09-15 Thread anatoly techtonik
New submission from anatoly techtonik: I'd say this is a critical documentation bug that leads to head bang when you try to figure out what does '*' in code means. This bug is two fold: 1. Define a dedicated place in documentation for '*' operator with examples. I propose http

[issue19024] Document asterisk (*), splat or star operator

2013-09-15 Thread anatoly techtonik
anatoly techtonik added the comment: tag:easy -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19024 ___ ___ Python-bugs-list mailing list

[issue19026] OrderedDict should not accept dict as parameter

2013-09-15 Thread anatoly techtonik
New submission from anatoly techtonik: http://stackoverflow.com/questions/15733558/python-ordereddict-not-keeping-element-order I wonder why OrderedDict accepts dict as parameter in a first place? OD is used when order is important and if plain dict is supplied, the order is lost. d = {3

[issue19026] OrderedDict should not accept dict as parameter

2013-09-15 Thread anatoly techtonik
anatoly techtonik added the comment: I don't know if it is bug or feature. There are probably cases when order is not important and OrderedDict is used, but I don't remember any. Too bad Python doesn't have first class ordered mapping type, so that it could report error if unordered arguments

[issue19026] OrderedDict should not accept dict as parameter

2013-09-15 Thread anatoly techtonik
anatoly techtonik added the comment: Is it possible to make strict OrderedDict an optional feature? Like `from features import strict_ordered_dict'? -- status: closed - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue19026] OrderedDict should not accept dict as parameter

2013-09-15 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Sep 15, 2013 at 9:25 PM, Raymond Hettinger rep...@bugs.python.org wrote: In general, it is not possible for a hypothetical StrictOrderedDict to know whether its input was ordered or not. Right. That's why it should not accept input that can only

[issue18553] os.isatty() is not Unix only

2013-09-01 Thread anatoly techtonik
anatoly techtonik added the comment: None that I know of. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18553 ___ ___ Python-bugs-list mailing

[issue18553] os.isatty() is not Unix only

2013-07-25 Thread anatoly techtonik
New submission from anatoly techtonik: It seems like os.isatty(0) works on Windows too. Documentation says Unix only: http://docs.python.org/2/library/os.html#os.isatty http://docs.python.org/3.4/library/os.html#os.isatty C:\py -c import os; print os.isatty(0) True C:\echo x | py -c

[issue18553] os.isatty() is not Unix only

2013-07-25 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- assignee: - docs@python components: +Documentation nosy: +docs@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18553

[issue18535] termios.tcgetattr should return namedtuple

2013-07-24 Thread anatoly techtonik
anatoly techtonik added the comment: I've made my own monster, attached. -- Added file: http://bugs.python.org/file31026/DictRecord.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18535

[issue18535] termios.tcgetattr should return namedtuple

2013-07-24 Thread anatoly techtonik
anatoly techtonik added the comment: Do not hijack the issue - value interpretation is the next step, which better keep out of scope for this improvement. termios is a C interface, which documents the meaning of TIOCGWINSZ and has defined names for structure entries, such as lflag. This issue

[issue18535] termios.tcgetattr should return namedtuple

2013-07-24 Thread anatoly techtonik
anatoly techtonik added the comment: If you need a better use case for DictRecord, urlparse is another one. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18535

[issue18535] termios.tcgetattr should return namedtuple

2013-07-23 Thread anatoly techtonik
New submission from anatoly techtonik: Names of field for tuple returned by tcgetattr are already in documentation at http://docs.python.org/2/library/termios.html It would be nice to get them into code. -- components: Library (Lib) messages: 193595 nosy: techtonik priority: normal

[issue18535] termios.tcgetattr should return namedtuple

2013-07-23 Thread anatoly techtonik
anatoly techtonik added the comment: Actually namedtuple doesn't suit the use case well. The use case is to read termios config, (re)set flags set it back. The attributes should be mutable. -- ___ Python tracker rep...@bugs.python.org http

[issue18298] pythonw.exe fails with redirected stderr

2013-06-26 Thread anatoly techtonik
anatoly techtonik added the comment: I am not using pythonw.exe, it is the option users prefer to run the program. pythonw.exe is a binary, how do you propose to patch that? Or is it translated to .exe with RPython? Can you be more specific what shell does not work correctly, what exactly

[issue706263] print in pythonw raises silent exception when no console available

2013-06-26 Thread anatoly techtonik
anatoly techtonik added the comment: This is still an issue for Python 2 users. Most important that pythonw.exe has a magic ability to fail silently leaving users with no means to create valid bug reports (the reason why StackOverflow questions are downvoted and erased). http://bugs.ascend4

[issue5845] rlcompleter should be enabled automatically

2013-06-26 Thread anatoly techtonik
Changes by anatoly techtonik techto...@gmail.com: -- nosy: +techtonik ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5845 ___ ___ Python-bugs-list

[issue18298] pythonw.exe fails with redirected stdett

2013-06-25 Thread anatoly techtonik
New submission from anatoly techtonik: ---cut test.py--- print(-1-) open(-2-, w).write(-3-) ---cut test.py--- C:\Python27\pythonw.exe test.py -4- type -4- -1- C:\Python27\pythonw.exe test.py 2 -4- type -4- close failed in file object destructor: sys.excepthook is missing lost sys.stderr

  1   2   3   4   5   6   7   8   9   10   >