[issue8332] regrtest single TestClass/test_method

2010-11-12 Thread anatoly techtonik
anatoly techtonik added the comment: Yes. You're missing the second case. In: > regrtest [options] test_file.test_method You don't specify class name. This saves some time you need to navigate and copy/paste name of container class. It will save more time if masks are used by

[issue11366] xml.etree.ElementTree.Element: docs should mention immediate subelement

2011-03-01 Thread anatoly techtonik
New submission from anatoly techtonik : >From xml.etree.ElementTree.Element docs it is not obvious that find() and >fundall() functions all return immediate children of current element. -- messages: 129845 nosy: techtonik priority: normal severity: normal status: open

[issue11366] xml.etree.ElementTree.Element: docs should mention immediate subelement

2011-03-01 Thread anatoly techtonik
Changes by anatoly techtonik : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker <http://bugs.python.org/issu

[issue11366] xml.etree.ElementTree.Element: docs should mention immediate subelement

2011-03-01 Thread anatoly techtonik
anatoly techtonik added the comment: See also http://diveintopython3.org/xml.html#xml-find -- ___ Python tracker <http://bugs.python.org/issue11366> ___ ___ Pytho

[issue11367] xml.etree.ElementTree.find(all): docs are wrong

2011-03-01 Thread anatoly techtonik
New submission from anatoly techtonik : ElementTree.find(path) docs say: "Finds the first toplevel element with given tag. Same as getroot().find(path). path is the element to look for." That's not true. path can take the form of "//tag" to find any child element wit

[issue11368] xml.etree.ElementTree.Element should have a reference to parent

2011-03-01 Thread anatoly techtonik
New submission from anatoly techtonik : There is no way to get parent element from xml.etree.ElementTree.Element. This is one of the essential functions for XML support. -- components: XML messages: 129848 nosy: techtonik priority: normal severity: normal status: open title

[issue11368] xml.etree.ElementTree.Element should have a reference to parent

2011-03-02 Thread anatoly techtonik
anatoly techtonik added the comment: That's not a good reason to close report. Such limitations of xml.etree.ElementTree should be at least documented properlt. And even documented it is still a valid feature request for standard library. Not for current implementation, but perhap

[issue11385] TextTestRunner methods are not documented

2011-03-03 Thread anatoly techtonik
New submission from anatoly techtonik : TextTestRunner has a run method, which is not documented. It is also is not clear how to add suite to TextTestRunner to be executed later by unittest.main() -- assignee: docs@python components: Documentation, Tests messages: 129988 nosy: docs

[issue11389] unittest: no way to control verbosity of doctests from cmd

2011-03-03 Thread anatoly techtonik
New submission from anatoly techtonik : I can't find a way to execute DocTests contained in a separate README.txt file using unittest.main() function. That doesn't allow to control verbosity for debugging. I am doing it this way in the tests.py import doctest import unittest i

[issue11390] doctest: add cmdline parameters

2011-03-03 Thread anatoly techtonik
New submission from anatoly techtonik : doctest module need to parse -h/--help parameters, and accept flags like ELLIPSIS from command line. Otherwise it very hard to debug tests like contained in the attached README. It is also worth to make it parameter compatible with unittest.main

[issue11394] No Tools/demo on Windows

2011-03-03 Thread anatoly techtonik
New submission from anatoly techtonik : Changelog for Python 3.2 contains this paragraph: "- Issue #7962: The Demo directory is gone. Most of the old and unmaintained demos have been removed, others integrated in documentation or a new Tools/demo subdirectory." However, there i

[issue10502] Add unittestguirunner to Tools/

2011-03-03 Thread anatoly techtonik
anatoly techtonik added the comment: Not present on Windows. See also issue #11394 -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/issue10

[issue11394] No Tools/demo on Windows

2011-03-03 Thread anatoly techtonik
anatoly techtonik added the comment: See also #10502. -- ___ Python tracker <http://bugs.python.org/issue11394> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11368] Document why xml.etree.ElementTree.Element has no reference to parent

2011-03-04 Thread anatoly techtonik
anatoly techtonik added the comment: I still struggling to find a way to apply http://effbot.org/zone/element.htm#accessing-parents in my specific case. Unfortunately, it doesn't seem trivial to me. -- ___ Python tracker <http://bugs.py

[issue11394] No Tools/demo, etc, on Windows

2011-03-06 Thread anatoly techtonik
anatoly techtonik added the comment: Explicit request for inclusion? What kind of bureaucracy are you up to? Do you have a full list of missing or not included directories for various distributions? I'm sure many are curious to review

[issue11385] TextTestRunner methods are not documented

2011-03-06 Thread anatoly techtonik
anatoly techtonik added the comment: Something to think about for future examples. -- ___ Python tracker <http://bugs.python.org/issue11385> ___ ___ Python-bug

[issue11389] unittest: no way to control verbosity of doctests from cmd

2011-03-06 Thread anatoly techtonik
anatoly techtonik added the comment: I need to execute doctests along with unit tests from test suite contained in tests.py file and control verbosity parameter in case something goes wrong. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread anatoly techtonik
New submission from anatoly techtonik : print() function for some reason buffers output on Windows if end!='\n'. In attached examples "Processing.. " string is shown in Python 3.2 only after the actual processing is finished, while in Python 2.6 it is shown befor

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread anatoly techtonik
Changes by anatoly techtonik : Added file: http://bugs.python.org/file21334/printtest2.py ___ Python tracker <http://bugs.python.org/issue11633> ___ ___ Python-bugs-list m

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread anatoly techtonik
anatoly techtonik added the comment: >From my perspective it is a regression on Windows and a bug in Linux version >of Python 2.x, which unfortunately can not be fixed, because of 2.x release >process. If the fact that print statement doesn't output anything when called is not

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread anatoly techtonik
anatoly techtonik added the comment: How about making print() user-friendly with flushing after every call, and if you want explicitly want speed - use buffered sys.stdout.write/flush()? -- ___ Python tracker <http://bugs.python.org/issue11

[issue11633] regression: print buffers output when end=''

2011-03-22 Thread anatoly techtonik
anatoly techtonik added the comment: You must realize that the most common use case for print(..., end!='\n') is when you want to notify user about intermediate progress of a very long operation. Making documentation for simple print() statement overloaded with low level bufferi

[issue11641] raw_input() -> input() security issue

2011-03-22 Thread anatoly techtonik
New submission from anatoly techtonik : 2to3 converts raw_input() calls into input(), and input() runs all user data through eval(). This opens a hole in previously secure Python2.x applications. Is the author of this change aware of the issue? -- components: 2to3 (2.x to 3.0

[issue11641] raw_input() -> input() security issue

2011-03-22 Thread anatoly techtonik
Changes by anatoly techtonik : Added file: http://bugs.python.org/file21348/python3-security.py ___ Python tracker <http://bugs.python.org/issue11641> ___ ___ Python-bug

[issue11641] raw_input() -> input() security issue

2011-03-22 Thread anatoly techtonik
anatoly techtonik added the comment: Sorry. I've incidentally run converted file with Python 2.x. To avoid future confusions, should there be a reference in 2to3 docs to the behavior change for input() function? >From http://docs.python.org/library/2to3#2to3fixer-raw_input t

[issue11642] regression: input() doesn't strip a trailing newline on Windows

2011-03-22 Thread anatoly techtonik
New submission from anatoly techtonik : Docs say that input() should strip trailing newline, but on Windows it doesn't happen. http://docs.python.org/py3k/library/functions.html#input Python 2.x Windows >>> raw_input() xyz 'xyz' >>> Python 3

[issue11644] 2to3 example.py is not a Python 2.x file

2011-03-22 Thread anatoly techtonik
New submission from anatoly techtonik : http://docs.python.org/library/2to3.html#using-2to3 contains an example.py sample which is claimed to be Python 2.x source, but that's not true: def greet(name): print "Hello, {0}!".format(name) print "What's your name?"

[issue11644] 2to3 example.py is not a Python 2.x file

2011-03-22 Thread anatoly techtonik
Changes by anatoly techtonik : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker <http://bugs.python.org/issu

[issue11646] 2to3: msvcrt.(get|put)ch -> (get|put)wch

2011-03-22 Thread anatoly techtonik
New submission from anatoly techtonik : msvcrt function calls need to be renamed to unicode equivalents, because now they return bytes, which doesn't support string methods used to process the output (e.g. lower()). http://docs.python.org/py3k/library/msvcrt.html msvcrt.

[issue11644] 2to3 example.py is not a Python 2.x file

2011-03-22 Thread anatoly techtonik
anatoly techtonik added the comment: Then the docs should say that this is the 2.6 code, not 2.x -- ___ Python tracker <http://bugs.python.org/issue11

[issue11644] 2to3 example.py is not a Python 2.x file

2011-03-22 Thread anatoly techtonik
anatoly techtonik added the comment: I can't find where it is recommended to move code to Python 2.7 before porting. -- ___ Python tracker <http://bugs.python.org/is

[issue11629] Reference implementation for PEP 397

2011-03-23 Thread anatoly techtonik
anatoly techtonik added the comment: There is no such PEP - http://www.python.org/dev/peps/pep-0397/ -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/issue11

[issue7284] argparse - display version in usage by default

2011-03-26 Thread anatoly techtonik
anatoly techtonik added the comment: On Sat, Mar 26, 2011 at 12:20 PM, Steven Bethard wrote: > > I see though that vi puts the full name and version before the usage (which > is currently impossible in argparse): That was exactly my use case, which I'd say is very common for s

[issue7284] argparse - display version in usage by default

2011-03-26 Thread anatoly techtonik
anatoly techtonik added the comment: On Sat, Mar 26, 2011 at 12:20 PM, Steven Bethard wrote: > I guess we could add, say, a headline= option to ArgumentParser which would > then be printed before the usage message if it's really crucial to have that > message first... I'

[issue7284] argparse - display version in usage by default

2011-03-26 Thread anatoly techtonik
anatoly techtonik added the comment: On Sat, Mar 26, 2011 at 2:28 PM, Steven Bethard wrote: > > I'm not sure about the usage_template approach - seems like it might be hard > to make it work, while still supporting formatter_class. (Though maybe it's > not so bad sin

[issue11690] Devguide: Add "communication" FAQ

2011-03-29 Thread anatoly techtonik
Changes by anatoly techtonik : -- assignee: -> docs@python components: +Devguide, Documentation -None nosy: +docs@python title: Add "communication" FAQ to devguide -> Devguide: Add "communication" FAQ ___ Python tracke

[issue11549] Rewrite peephole to work on AST

2011-03-29 Thread anatoly techtonik
anatoly techtonik added the comment: Is there any tool to see how it works step-by-step. The whole stuff is extremely interesting, but I can't fit all the details of AST processing in my head. -- nosy: +techtonik ___ Python tracker

[issue11759] assert for exception parameters

2011-04-03 Thread anatoly techtonik
New submission from anatoly techtonik : I've just realized that unittest doesn't provide a way to test arguments of exception thrown during assertRaises check. -- components: Tests messages: 132919 nosy: techtonik priority: normal severity: normal status: open title:

[issue11759] assert for exception parameters

2011-04-04 Thread anatoly techtonik
anatoly techtonik added the comment: Looks like a hack (and not the obvious one). I guess no asserts return values like this, so that usage is not really intuitive for me. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11759] assert for exception parameters

2011-04-04 Thread anatoly techtonik
anatoly techtonik added the comment: I found that successful assert in twisted returns exception object. But thanks for workaround anyway. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11759] assert for exception parameters

2011-04-04 Thread anatoly techtonik
anatoly techtonik added the comment: I've also found #9587. Now I wonder how many people requested return vs context, and how many would vote for one vs another. Nothing personal - just a pure curiosity. -- ___ Python tracker

[issue11759] assert for exception parameters

2011-04-04 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks for clarification, Ezio. I am still using Python 2.7 - that's why I've missed this part. -- ___ Python tracker <http://bugs.python.o

[issue6040] bdist_msi does not deal with pre-release version

2011-04-04 Thread anatoly techtonik
anatoly techtonik added the comment: Is there any workaround we can use in setup.py to set correct version for build_msi subcommand only? -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/issue6

[issue6040] bdist_msi does not deal with pre-release version

2011-04-05 Thread anatoly techtonik
anatoly techtonik added the comment: Metadata can be automatically figured out using regexp matching like ^\d+(\.\d+){2,3}, but for explicit handling there should be should some callback or msi-specific version property in metadata. In the end it is pretty logical if binary distribution

[issue6040] bdist_msi does not deal with pre-release version

2011-04-05 Thread anatoly techtonik
anatoly techtonik added the comment: Wrong code. The last line in the bdist_msi_version_hack override should be: self.distribution.metadata.version = saved -- ___ Python tracker <http://bugs.python.org/issue6

[issue6040] bdist_msi does not deal with pre-release version

2011-04-05 Thread anatoly techtonik
anatoly techtonik added the comment: The above workaround still doesn't isolate version modification to bdist_msi command, because bdist_msi is calling `build` and `install` targets before doing its own stuff. Any ideas how to override version for MSI without copying while `bdis

[issue6040] bdist_msi does not deal with pre-release version

2011-04-05 Thread anatoly techtonik
anatoly techtonik added the comment: s/while/whole/ Sorry. -- ___ Python tracker <http://bugs.python.org/issue6040> ___ ___ Python-bugs-list mailing list Unsub

[issue11776] types.MethodType() params and usage is not documented

2011-04-05 Thread anatoly techtonik
New submission from anatoly techtonik : types.MethodType(function, instance) is used as a replacement for new.instancemethod(function, instance, class), but this usage is not documented. -- assignee: docs@python components: Documentation messages: 133089 nosy: docs@python, techtonik

[issue6040] bdist_msi does not deal with pre-release version

2011-04-05 Thread anatoly techtonik
anatoly techtonik added the comment: All right. The ultimate solution: {{{ # Imports for converting version to MSI format for bdist_msi from distutils.command.bdist_msi import bdist_msi import inspect import types ... class bdist_msi_patch_version(bdist_msi): """ MSI b

[issue4111] Add Systemtap/DTrace probes

2011-04-06 Thread anatoly techtonik
anatoly techtonik added the comment: 2011/4/6 Jesús Cea Avión : > > Jesús Cea Avión added the comment: > > Some more references: > > Read the notes under the slides: > https://dgl.cx/2011/01/dtrace-and-perl > > https://dgl.cx/dtrace > > http://dtrace.org/blog

[issue11629] Reference implementation for PEP 397

2011-04-08 Thread anatoly techtonik
anatoly techtonik added the comment: Is it possible to add tl;dr chapter to this document. I am especially interested in extensive logging (to debug problems etc.) -- ___ Python tracker <http://bugs.python.org/issue11

[issue11776] types.MethodType() params and usage is not documented

2011-04-08 Thread anatoly techtonik
anatoly techtonik added the comment: Message is classified as spam. I am not sure if you see it. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11776] types.MethodType() params and usage is not documented

2011-04-08 Thread anatoly techtonik
anatoly techtonik added the comment: Nevermind about #6040 - I just used the same technique to provide a workaround and then remembered I've seen this recipe on StackOverflow. To me types is the right place, because that's exactly where are you sent from the docs of new module:

[issue6040] bdist_msi does not deal with pre-release version

2011-04-08 Thread anatoly techtonik
anatoly techtonik added the comment: What for? IIUC, it won't be fixed in distutils anyway. -- ___ Python tracker <http://bugs.python.org/issue6040> ___ ___

[issue6040] bdist_msi does not deal with pre-release version

2011-04-09 Thread anatoly techtonik
anatoly techtonik added the comment: Feel free to copy this report for a clear user story - http://twistedmatrix.com/trac/ticket/5024 -- ___ Python tracker <http://bugs.python.org/issue6

[issue11819] 'unittest -m' should not pretend it works on Python 2.5/2.6

2011-04-10 Thread anatoly techtonik
New submission from anatoly techtonik : The following command is broken on Python 2.5/2.6 python -m unittest test_file It outputs -- Ran 0 tests in 0.000s OK But in Python 2.7 the same command works

[issue11834] wrong module installation dir on Windows

2011-04-12 Thread anatoly techtonik
New submission from anatoly techtonik : http://docs.python.org/install/index.html#how-installation-works Correct standard installation location for third-party modules on Windows for Python 2.x is prefix/Lib/site-packages -- assignee: docs@python components: Documentation messages

[issue11834] wrong module installation dir on Windows

2011-04-12 Thread anatoly techtonik
anatoly techtonik added the comment: Other Windows prefixes are probably wrong too. -- ___ Python tracker <http://bugs.python.org/issue11834> ___ ___ Python-bug

[issue11834] wrong module installation dir on Windows

2011-04-12 Thread anatoly techtonik
anatoly techtonik added the comment: How about 'easy' keyword? -- ___ Python tracker <http://bugs.python.org/issue11834> ___ ___ Python-bugs-l

[issue11834] wrong module installation dir on Windows

2011-04-12 Thread anatoly techtonik
anatoly techtonik added the comment: Target auditory for the `easy` keyword are largely unaware of this fact. It also may keep people off if they run into uneasy doc problem. -- ___ Python tracker <http://bugs.python.org/issue11

[issue9101] reference json format in file formats chapter

2011-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: JSON is not file format, it is data-interchange format. -- ___ Python tracker <http://bugs.python.org/issue9101> ___ ___

[issue9101] reference json format in file formats chapter

2011-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: Right. -- ___ Python tracker <http://bugs.python.org/issue9101> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9101] reference json format in file formats chapter

2011-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: But having a reference from File Formats will help people find this information easier. -- ___ Python tracker <http://bugs.python.org/issue9

[issue9101] reference json format in file formats chapter

2011-04-13 Thread anatoly techtonik
anatoly techtonik added the comment: These people look for alternative configuration format to .ini, for example. -- ___ Python tracker <http://bugs.python.org/issue9

[issue9101] reference json format in file formats chapter

2011-04-14 Thread anatoly techtonik
anatoly techtonik added the comment: Wow. That's much better - python makes progress. Does this `robot` stuff flies back to Roundup? Is it possible to specify "closes bug #9101" directly in commit message? -- ___ Python

[issue9101] reference json format in file formats chapter

2011-04-14 Thread anatoly techtonik
anatoly techtonik added the comment: Awesome. Especially links to actual changesets. BTW, there are only backport commits - where is the notification about the main one? -- ___ Python tracker <http://bugs.python.org/issue9

[issue9101] reference json format in file formats chapter

2011-04-14 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks. -- ___ Python tracker <http://bugs.python.org/issue9101> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11819] '-m unittest' should not pretend it works on Python 2.5/2.6

2011-04-15 Thread anatoly techtonik
anatoly techtonik added the comment: #6514 is to make `-m unittest` work run on 2.5/2.6. This bug is not to fix it, but to stop displaying confusing messages. It will be enough to exit with a message like: "`-m unittest` call is not supported in Python 2.5/2.6 - use something else

[issue11819] '-m unittest' should not pretend it works on Python 2.5/2.6

2011-04-15 Thread anatoly techtonik
anatoly techtonik added the comment: I need a "why-python-suxx" keyword to point people with dumb questions about why they should not use specific Python versions to a query that lists all sensitive issues for this specific version that won't be fixed due to security

[issue11819] '-m unittest' should not pretend it works on Python 2.5/2.6

2011-04-15 Thread anatoly techtonik
anatoly techtonik added the comment: I know. But stuff like this is necessary for proper release management and future planning. Using "why-python-suxx per module" ™ metric, it is possible to pinpoint badly designed parts that should be removed or replaced

[issue11911] Interlink Python versions docs

2011-04-23 Thread anatoly techtonik
New submission from anatoly techtonik : I want to be able to jump from latest Python 2 docs to the same page in stable Python 3 doc in one click. E.g. from http://docs.python.org/library/string.html to http://docs.python.org/py3k/library/strings.html -- assignee: docs@python

[issue11911] Interlink Python versions docs

2011-04-23 Thread anatoly techtonik
anatoly techtonik added the comment: sorry, to http://docs.python.org/py3k/library/string.html -- ___ Python tracker <http://bugs.python.org/issue11911> ___ ___

[issue8040] It would be nice if documentation pages linked to other versions of the same document

2011-04-24 Thread anatoly techtonik
Changes by anatoly techtonik : -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/issue8040> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11928] fail if file with space at the end is present

2011-04-26 Thread anatoly techtonik
New submission from anatoly techtonik : I know this is a minor bug, but still.. Windows allows creation of filenames like "use MoveBufferArea " (note space at the end). When such file is present in current directory, `setup.py sdist` fails with `error: use MoveBufferArea : The sys

[issue11928] fail on filename with space at the end

2011-04-26 Thread anatoly techtonik
Changes by anatoly techtonik : -- title: fail if file with space at the end is present -> fail on filename with space at the end ___ Python tracker <http://bugs.python.org/issu

[issue11928] fail on filename with space at the end

2011-04-27 Thread anatoly techtonik
anatoly techtonik added the comment: The mere presence of this file in directory with setup.py files this error. It is not added in any files. -- ___ Python tracker <http://bugs.python.org/issue11

[issue11928] fail on filename with space at the end

2011-04-27 Thread anatoly techtonik
anatoly techtonik added the comment: >python setup.py sdist {{{ Distribution.parse_config_files(): options (after parsing config files): no commands known yet options (after parsing command line): option dict for 'sdist' command: {} running sdist Distribution.get_command_ob

[issue11834] wrong module installation dir on Windows

2011-05-04 Thread anatoly techtonik
anatoly techtonik added the comment: It's always a pleasure. ;) -- ___ Python tracker <http://bugs.python.org/issue11834> ___ ___ Python-bugs-list m

[issue12097] python.exe crashes if it is unable to find its .dll

2011-05-17 Thread anatoly techtonik
New submission from anatoly techtonik : On Windows, if Python is unable to find its .dll it crashes badly. This affects `vurtualenv` project that doesn't copy .dll file. It would be more user friendly if python.exe launcher could detect this situation and fail gracefully. Such kind of dy

[issue12097] python.exe crashes if it is unable to find its .dll

2011-05-17 Thread anatoly techtonik
anatoly techtonik added the comment: pythonXX.dll is missing. Virtualenv copies python.exe, which is only 25kB long. It works only if pythonXX.dll is present in system PATH - either installed into Windows\System32 or comes with Mercurial, Bazaar or other frozen app install

[issue12097] python.exe crashes if it is unable to find its .dll

2011-05-17 Thread anatoly techtonik
anatoly techtonik added the comment: As for PEPs I think you've meant PEP 397 http://www.python.org/dev/peps/pep-0397/ which is tl; dr for the moment. -- ___ Python tracker <http://bugs.python.org/is

[issue12101] PEPs should have consecutive revision numbers

2011-05-17 Thread anatoly techtonik
New submission from anatoly techtonik : Currently, PEPs have only hash number, which doesn't explain about how many changes were done to the PEP since my last review. It will be convenient to have consecutive revision number for PEP edits and link it to short history log (like wiki hi

[issue12097] python.exe crashes if it is unable to find its .dll

2011-05-18 Thread anatoly techtonik
anatoly techtonik added the comment: Reopening as I believe the issue is hijacked. Virtualenv is just an example and the fix is discussed on its mailing list. This issue is about that Python interpreter is not self-contained, not portable, i.e. split into python.exe and pythonXX.dll The only

[issue8890] Use tempfile instead of /tmp in examples

2010-11-22 Thread anatoly techtonik
anatoly techtonik added the comment: On Mon, Nov 22, 2010 at 3:59 PM, Éric Araujo wrote: > > Using either /home/user or tempfile depending on the example seems good to me. There is no /home/user on Windows. -- ___ Python tracker

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

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

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2010-11-24 Thread anatoly techtonik
anatoly techtonik added the comment: This one is bug. -- ___ Python tracker <http://bugs.python.org/issue4147> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1059244] distutil bdist hardcodes the python location

2010-11-26 Thread anatoly techtonik
anatoly techtonik added the comment: As I can't reopen this issue, I'd like to ask for another opinion before closing this ticket. I think it's closed prematurely. For the bare minimum there should be a link to corresponding issue in dis

[issue10658] Link to source code is broken

2010-12-09 Thread anatoly techtonik
New submission from anatoly techtonik : http://docs.python.org/library/queue.html -- assignee: d...@python components: Documentation messages: 123677 nosy: d...@python, techtonik priority: normal severity: normal status: open title: Link to source code is broken versions: Python 2.7

[issue10659] Hook scripts for immediate doc build system

2010-12-09 Thread anatoly techtonik
New submission from anatoly techtonik : When a new revision is committed to documentation, it will be nice to have hook scripts that start documentation build process on development server. Another hook script may also analyze commit message, extract ticket number, branch and revision from

[issue10670] Provide search scope limits

2010-12-10 Thread anatoly techtonik
New submission from anatoly techtonik : When searching docs (e.g. for http://docs.python.org/dev/search.html?q=unicode&check_keywords=yes&area=default) I'd like to filter out C API. -- assignee: d...@python components: Documentation messages: 123719 nosy: d...@pyth

[issue10670] Provide search scope limits

2010-12-14 Thread anatoly techtonik
anatoly techtonik added the comment: label:interop -- ___ Python tracker <http://bugs.python.org/issue10670> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8927] Handle version conflicts in dependencies

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

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread anatoly techtonik
New submission from anatoly techtonik : When an extension could not be loaded, because it requires some DLL that is missing, Python shows the following error message: ImportError: DLL load failed: The specified module could not be found. It will help tremendously in debugging extension

[issue10856] documentation for ImportError parameters and attributes

2011-01-07 Thread anatoly techtonik
New submission from anatoly techtonik : Need documentation for ImportError parameters and exception instance attributes. -- assignee: d...@python components: Documentation messages: 125655 nosy: d...@python, techtonik priority: normal severity: normal status: open title: documentation

[issue10857] ImportError module attribute

2011-01-07 Thread anatoly techtonik
New submission from anatoly techtonik : Need ImportError.module attribute to get the name of failed import. Right now it requires parsing ImportError.args that is presented in form "('No module named zqwer',)" that is not pythonic. -- messages: 125656 nosy: techto

[issue10857] ImportError module attribute

2011-01-07 Thread anatoly techtonik
anatoly techtonik added the comment: Thanks for the pointer. I couldn't find it myself. -- ___ Python tracker <http://bugs.python.org/issue10857> ___ ___

[issue1559549] ImportError needs attributes for module and file name

2011-01-07 Thread anatoly techtonik
anatoly techtonik added the comment: I think we should investigate deeper why this enhancement request didn't get into Python 3. Another user story is: "from xxx import yyy", if yyy not found, the args message is ('cannot import name yyy',) Python4? label:api --

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread anatoly techtonik
anatoly techtonik added the comment: Can you cross reference the part of code where this error is catched? Why Python can't get information about the reason .DLL is not loaded? Is it at least possible to add a hook point at the exact time the import fails to insert component that is ab

[issue10856] documentation for ImportError parameters and attributes

2011-01-07 Thread anatoly techtonik
anatoly techtonik added the comment: ImportError has args and message attributes containing failed module name. -- status: closed -> open ___ Python tracker <http://bugs.python.org/issu

[issue10854] Output DLL name in error message of ImportError when DLL is missing

2011-01-07 Thread anatoly techtonik
anatoly techtonik added the comment: I see. But depends.exe dependency walker somehow finds the exact code that is failing, so there should be a way to do extra investigation in case of error. py2exe has a custom .dll loader that bypasses LoadLibrary(Ex) calls from that I can see at http

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