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

2008-10-16 Thread anatoly techtonik
anatoly techtonik <[EMAIL PROTECTED]> added the comment: The same issue in "Roundup Tracker" bugtracker http://sourceforge.net/tracker2/index.php?func=detail&aid=1163804&group_id=31577&atid=402788 ___ Python tracker <[EMAIL PROT

[issue4137] update SIG web pages

2008-10-17 Thread anatoly techtonik
New submission from anatoly techtonik <[EMAIL PROTECTED]>: Distutils SIG pages contain largely outdated information. http://www.python.org/community/sigs/current/distutils-sig/ It would be good to replace CVS instructions with SVN, add wiki link, mark download page as "archived v

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

2008-11-17 Thread anatoly techtonik
anatoly techtonik <[EMAIL PROTECTED]> added the comment: flomana: Have you tried installing Python in c:\python26\ ? If that didn't help then it is better start a new issue. -- nosy: +techtonik ___ Python tracker <[EMAIL PRO

[issue973507] sys.stdout problems with pythonw.exe

2008-11-17 Thread anatoly techtonik
anatoly techtonik <[EMAIL PROTECTED]> added the comment: Duplicate of #706263 -- nosy: +techtonik ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.

[issue453489] Using deiconify() hangs on exit

2008-11-17 Thread anatoly techtonik
anatoly techtonik <[EMAIL PROTECTED]> added the comment: With Python 2.6 the support for Windows 95, 98, ME and NT4 has been dropped. But it is not only that - I would advise closing as "won't fix" for same reason as listed in aforementioned bug #216289 comment http://bu

[issue1173134] improvement of the script adaptation for the win32 platform

2008-11-17 Thread anatoly techtonik
anatoly techtonik <[EMAIL PROTECTED]> added the comment: The idea with "-x" option and renaming .py to .bat is nice, but if I want to execute the script with another version of Python or manually without -x option I may become confused. Would it be better to provide separat

[issue4635] no reference for optparse methods

2008-12-11 Thread anatoly techtonik
New submission from anatoly techtonik : optparse documentation misses reference for at least these three methods: print_help() print_usage() print_version() -- assignee: georg.brandl components: Documentation messages: 77622 nosy: georg.brandl, techtonik severity: normal status: open

[issue4750] tarfile keeps excessive dir structure in compressed files

2008-12-26 Thread anatoly techtonik
New submission from anatoly techtonik : When tarfile is directed to create tar.gz compressed archive file in a path different from current, it saves full path information in .gz header where only filename is required. This causes problems with decompression utilities, such as 7zip. The

[issue4750] tarfile keeps excessive dir structure in compressed files

2008-12-26 Thread anatoly techtonik
Changes by anatoly techtonik : -- keywords: +patch Added file: http://bugs.python.org/file12452/tarfile.directory.fix.diff ___ Python tracker <http://bugs.python.org/issue4

[issue1885] [distutils] - error when processing the "--formats=tar" option

2008-12-26 Thread anatoly techtonik
anatoly techtonik added the comment: Please reopen this bug. issue#1886 is different it take a long time until it is committed. I attach patch from Giampaolo here. -- keywords: +patch nosy: +techtonik versions: +Python 2.5, Python 2.7 Added file: http://bugs.python.org/file12455

[issue1886] Permit to easily use distutils "--formats=tar, gztar, bztar" on all systems

2008-12-26 Thread anatoly techtonik
anatoly techtonik added the comment: I attach an improved patch1886.use.tarfile.module.diff that fixes all bugs addressed in this issue. It also removes second call to compression program leaving that privilege to tar. > I notice that the archive generated by tarfile module looks > dif

[issue1886] Permit to easily use distutils "--formats=tar, gztar, bztar" on all systems

2008-12-26 Thread anatoly techtonik
anatoly techtonik added the comment: Oh, my mistake - the bug with extra dir component in archive is in issue4750 Second shell call to compression program is removed only for the case when tarfile or any of required compression modules are not available

[issue1886] Permit to easily use distutils "--formats=tar, gztar, bztar" on all systems

2008-12-26 Thread anatoly techtonik
anatoly techtonik added the comment: What are the systems where does this original tar still exist as a default utility? If there is no tarfile module on this systems and "tar" version is so old then you need a more modern system to wrap your releases or more modern "tar"

[issue4750] tarfile keeps excessive dir structure in compressed files

2008-12-28 Thread anatoly techtonik
anatoly techtonik added the comment: 7zip can decompress both, but it still creates "dist/" directory when decompressing file that is made with Python. I've noticed this bug with extra path component is actual with "tar" + "gzip" under windows. If they are e

[issue1886] Permit to easily use distutils "--formats=tar, gztar, bztar" on all systems

2008-12-28 Thread anatoly techtonik
anatoly techtonik added the comment: Roumen, could you be more specific about what are you trying to say with this 200kB piece of code? Was it the intention to post a link to man or another piece of spec? ___ Python tracker <http://bugs.python.org/issue1

[issue4750] tarfile keeps excessive dir structure in compressed files

2008-12-29 Thread anatoly techtonik
anatoly techtonik added the comment: For MSYS gzip added a bugreport here: https://sourceforge.net/tracker2/index.php?func=detail&aid=2474481&group_id=2435&atid=102435 ___ Python tracker <http://bugs.pytho

[issue4750] tarfile keeps excessive dir structure in compressed files

2008-12-29 Thread anatoly techtonik
anatoly techtonik added the comment: I attach patch for Python 2.6 gzip I clarified the meaning of self.name to be the basename corresponding to FNAME field in GZIP file header. There is a trace of deprecated gzip.filename API - I haven't found any references to it in documentation,

[issue4750] tarfile keeps excessive dir structure in compressed files

2008-12-29 Thread anatoly techtonik
anatoly techtonik added the comment: I attach for Python 2.5 as well. People will use gzip module for a long time to build packages and patch will help them to get correct archives. Added file: http://bugs.python.org/file12490/python25.issue4750.diff

[issue13405] Add DTrace probes

2012-01-20 Thread anatoly techtonik
anatoly techtonik added the comment: I am an almost complete 0 in C system programming and in DTrace matters, but I feel like DTrace has a potential to help me understand internal CPython processes better. If maintenance of the code with DTrace is hard, there are several ways to make it easier

[issue13875] cmd: no user documentation

2012-01-26 Thread anatoly techtonik
New submission from anatoly techtonik : http://docs.python.org/library/cmd.html# Documentation for cmd module is poor to explain the value of this module to users. Intro is too abstract - phrase "simple framework for writing line-oriented command interpreters" doesn't mean muc

[issue13875] cmd: no user documentation

2012-01-26 Thread anatoly techtonik
anatoly techtonik added the comment: What do you mean by saying it is not limited for interactive use? I thought it is used to provide command prompt for typing commands. What other use cases does it support? -- status: pending -> open ___ Pyt

[issue13609] Add "os.get_terminal_size()" function

2012-01-31 Thread anatoly techtonik
anatoly techtonik added the comment: Terminal stuff is irrelevant to `shutil`, which is the module for 'High-level file operations' and deserve a separate module named 'console'. Why? Because terminal size is only relevant when you want to page output. The next step w

[issue13609] Add "os.get_terminal_size()" function

2012-01-31 Thread anatoly techtonik
anatoly techtonik added the comment: What happens with COLUMNS env variables if terminal is resized after the Python script is executed. Will get_terminal_size() return new value? -- ___ Python tracker <http://bugs.python.org/issue13

[issue13609] Add "os.get_terminal_size()" function

2012-01-31 Thread anatoly techtonik
anatoly techtonik added the comment: On Tue, Jan 31, 2012 at 7:48 PM, Zbyszek Szmek wrote: > > Zbyszek Szmek added the comment: > > > the Python script is executed. Will get_terminal_size() > > return new value? > Please see previous discussion and the docs (and the

[issue13609] Add "os.get_terminal_size()" function

2012-02-07 Thread anatoly techtonik
anatoly techtonik added the comment: All right, I've found some time to grep conversation related to COLUMNS/ROWS environment/shell variable. +1 for low level system wrapper to get current stdout console size -1 on COLUMN/ROWS "business logic" My user story 001: I need exa

[issue9021] no copy.copy problem description

2012-02-09 Thread anatoly techtonik
anatoly techtonik added the comment: Perfectionist in me says that now copy.copy theory should be diluted with examples for those who can't grasp the concept of "binding of variables", but the patch perfectly covers the original use

[issue14049] execfile() fails on files that use global variables inside functions

2012-02-18 Thread anatoly techtonik
New submission from anatoly techtonik : main.py below fails to execute local.py, which work ok (outputs '2') when processed directly in console. Docs are not explaining anything. They spread fear and uncertainty around locals, but nothing is said why globals may fail. http://docs.

[issue14345] Document socket.SOL_SOCKET

2012-03-16 Thread anatoly techtonik
New submission from anatoly techtonik : socket.get/setsockopt() docs can be improved by providing description for SOL_SOCKET constant, and link to source code for other level constants and socket level options. -- assignee: docs@python components: Documentation messages: 156140 nosy

[issue14379] Several traceback docs improvements

2012-03-21 Thread anatoly techtonik
New submission from anatoly techtonik : Some notes about current `traceback` documentation: http://docs.python.org/library/traceback.html 1. It needs a mentioning that traceback module works with traceback objects and frame objects 2. Functions that work with frames should probably be grouped

[issue13405] Add DTrace probes

2012-04-13 Thread anatoly techtonik
Changes by anatoly techtonik : -- nosy: -techtonik ___ Python tracker <http://bugs.python.org/issue13405> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18123] fnmatchicase for case insensitive file search

2013-06-02 Thread anatoly techtonik
New submission from anatoly techtonik: http://docs.python.org/2/library/glob.html and http://docs.python.org/2/library/fnmatch.html both lack ability to do case-insensitive search for filenames. Due to this difference, scripts that work ok on Windows start produce surprises on Linux

[issue18123] fnmatchicase for case insensitive file search

2013-06-02 Thread anatoly techtonik
anatoly techtonik added the comment: https://gist.github.com/techtonik/5694830 -- ___ Python tracker <http://bugs.python.org/issue18123> ___ ___ Python-bugs-list m

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

2013-06-08 Thread anatoly techtonik
anatoly techtonik added the comment: This should have been backported to Python 2. I expect some related attacks on EuroPython. -- ___ Python tracker <http://bugs.python.org/issue12

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

2013-06-08 Thread anatoly techtonik
anatoly techtonik added the comment: If somebody sponsor my visit to EuroPython, I will dedicate some time to prepare a demo uploading rogue packages using sniffed credentials over WiFi without owner's consent. After moving to CDN no upload logs are available, so it is even more secur

[issue17860] subprocess docs lack info how to use output result

2013-06-12 Thread anatoly techtonik
anatoly techtonik added the comment: The only thing that can save the docs is pictures. Or tables. +-+---+ | | universal_newlines = True | +--+-+---+ |Py.2 | str | str

[issue17860] subprocess docs lack info how to use output result

2013-06-13 Thread anatoly techtonik
anatoly techtonik added the comment: On Thu, Jun 13, 2013 at 9:20 AM, Ezio Melotti wrote: > > Also in the Python 3 docs we don't compare the current behavior with > Python 2. > That's most unfortunate. Major PITA comes from attempts

[issue17860] subprocess docs lack info how to use output result

2013-06-13 Thread anatoly techtonik
anatoly techtonik added the comment: _failed_ attempts to port existing code. -- ___ Python tracker <http://bugs.python.org/issue17860> ___ ___ Python-bugs-list m

[issue15795] Zipfile.extractall does not preserve file permissions

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

[issue15795] Zipfile.extractall does not preserve file permissions

2013-06-18 Thread anatoly techtonik
anatoly techtonik added the comment: There should be an easy way to restore file attributes. -- ___ Python tracker <http://bugs.python.org/issue15795> ___ ___

[issue18262] ZipInfo.external_attr are not documented

2013-06-18 Thread anatoly techtonik
New submission from anatoly techtonik: zipfile doesn't restore file attributes when extracting. Documentation should at least contain example how to do this manually, because the ony way to do this - through ZipInfo.external_attr is too cryptic. -- assignee: docs@python compo

[issue18262] ZipInfo.external_attr are not documented

2013-06-19 Thread anatoly techtonik
anatoly techtonik added the comment: Here is the doc - http://stackoverflow.com/questions/434641/how-do-i-set-permissions-attributes-on-a-file-in-a-zip-file-using-pythons-zip/6297838#6297838 -- ___ Python tracker <http://bugs.python.org/issue18

[issue18262] ZipInfo.external_attr are not documented

2013-06-19 Thread anatoly techtonik
anatoly techtonik added the comment: 3.4+ feature is not a replacement for proper documentation for 2.7-3.4 -- resolution: duplicate -> ___ Python tracker <http://bugs.python.org/issu

[issue18269] Clarify which integer is required in os.chmod() exception

2013-06-19 Thread anatoly techtonik
New submission from anatoly techtonik: (, '0755') (, '0644') Traceback (most recent call last): File "./tools/bootstrap.py", line 185, in extract_zip os.fchmod(outfile, unixperm) TypeError: an integer is required Here the integer that is required i

[issue18269] Clarify which integer is required in os.chmod() exception

2013-06-20 Thread anatoly techtonik
anatoly techtonik added the comment: >>> v = open("VERSION") >>> import os >>> os.fchmod(v, 0664) Traceback (most recent call last): File "", line 1, in TypeError: an integer is required -- status: pending -> open ___

[issue18269] Clarify which integer is required in os.chmod() exception

2013-06-20 Thread anatoly techtonik
anatoly techtonik added the comment: Right. This report is about improving error message. It doesn't say what is expected where. If you have a call like: os.fchmod(outfile, unixperm) it is easy to assume that unixperm is not integer, while in fact the problem is in outfile. This

[issue18269] Add new parameter format for converter function w/ position number

2013-06-21 Thread anatoly techtonik
anatoly techtonik added the comment: This is more sophisticated that I thought. Thank for the explanation. -- ___ Python tracker <http://bugs.python.org/issue18

[issue9097] os.chdir(path) to return current dir

2013-06-23 Thread anatoly techtonik
anatoly techtonik added the comment: ..and still I miss: with os.chdir(path): do_something() -- ___ Python tracker <http://bugs.python.org/issue9097> ___ ___

[issue9097] os.chdir(path) to return current dir

2013-06-23 Thread anatoly techtonik
anatoly techtonik added the comment: "an anti-pattern" and "encouraging a bad habit" are subjective non-arguments as long as they fail to answer why. With or without the helper you still write this code: prev = os.getcwd() os.chdir(SDKPATH) ... os.chdi

[issue9097] os.chdir(path) to return current dir

2013-06-23 Thread anatoly techtonik
anatoly techtonik added the comment: On Sun, Jun 23, 2013 at 4:32 PM, STINNER Victor wrote: > > STINNER Victor added the comment: > > > "an anti-pattern" and "encouraging a bad habit" are subjective > non-arguments as long as they fail to answer why. >

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

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

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

2013-06-23 Thread anatoly techtonik
anatoly techtonik added the comment: @Pierre.Raybaut: Looking at the stage of this ticker, I believe you need to write unittest. Then attach a patch. If patch is attached, the issue is more visible among developers. -- ___ Python tracker <h

[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 f

[issue18298] pythonw.exe fails with redirected stderr

2013-06-25 Thread anatoly techtonik
Changes by anatoly techtonik : -- components: +Windows ___ Python tracker <http://bugs.python.org/issue18298> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18298] pythonw.exe fails with redirected stderr

2013-06-25 Thread anatoly techtonik
Changes by anatoly techtonik : -- title: pythonw.exe fails with redirected stdett -> pythonw.exe fails with redirected stderr ___ Python tracker <http://bugs.python.org/issu

[issue18298] pythonw.exe fails with redirected stderr

2013-06-25 Thread anatoly techtonik
anatoly techtonik added the comment: This subprocess.communicate() call fails with pythonw.exe --cut testhg.py-- import subprocess hg = "hg" output, _err = subprocess.Popen([hg, 'id', '-nib'], stdout=subprocess.PIPE).communicate() open(&q

[issue18298] pythonw.exe fails with redirected stderr

2013-06-25 Thread anatoly techtonik
anatoly techtonik added the comment: This was meant to be a separate issue. :/ -- ___ Python tracker <http://bugs.python.org/issue18298> ___ ___ Python-bugs-list m

[issue18298] pythonw.exe fails with redirected stderr

2013-06-25 Thread anatoly techtonik
anatoly techtonik added the comment: It is not about modifying Python in general, it is about patching pythonw.exe or subprocess or documenting how to make subprocess calls compatible with pythonw.exe "don't use pythonw.exe in a console" And how to debug the issue? Maybe th

[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 : -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/issue5845> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

[issue18535] termios.tcgetattr should return namedtuple

2013-07-23 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 <http://bugs.python.org/is

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

[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:\&

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

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

[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 <http://bugs.python.org/issue18553> ___ ___ Python-bugs-list mailing list Unsub

[issue14760] logging: make setLevel() return handler itself for chained configuration

2012-05-09 Thread anatoly techtonik
New submission from anatoly techtonik : It would be convenient if instead of: hdlr = logging.StreamHandler() hglr.setLevel(logging.DEBUG) root.addHandler(hdlr) it would be possible to write: root.addHandler(logging.StreamHandler().setLevel(logging.DEBUG

[issue14760] logging: make setLevel() return handler itself for chained configuration

2012-05-09 Thread anatoly techtonik
anatoly techtonik added the comment: List is a standard type and it have None returned for a reson. Logging is a library with its own semantic and high level object. Here you don't need to return None to explicitly say that the object was modified in

[issue14760] logging: make setLevel() return handler itself for chained configuration

2012-05-09 Thread anatoly techtonik
anatoly techtonik added the comment: Well, I can remember any other widely used high level objects from stdlib either. HTTP servers perhaps, but they are in a poor state. -- ___ Python tracker <http://bugs.python.org/issue14

[issue14760] logging: make setLevel() return handler itself for chained configuration

2012-05-09 Thread anatoly techtonik
anatoly techtonik added the comment: s/can/can't/ -- ___ Python tracker <http://bugs.python.org/issue14760> ___ ___ Python-bugs-list mailing list Unsubsc

[issue14760] logging: make setLevel() return handler itself for chained configuration

2012-05-09 Thread anatoly techtonik
anatoly techtonik added the comment: Well, there is argparse, but it doesn't support method chaining. Whatever, it is just a proposal. If consistency inside stdlib covers calling conventions for bundled user-level libs - I am fine with

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

2012-05-12 Thread anatoly techtonik
anatoly techtonik added the comment: I still need requires example - here. http://docs.python.org/distutils/setupscript.html#relationships-between-distributions-and-packages - after "Dependencies.." paragraph. =) setup(..., requires=["somepackage (>1.0, !=1.5)"],

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

2012-05-15 Thread anatoly techtonik
anatoly techtonik added the comment: It doesn't seem that requires parameter is honored by pip. Should we document install_requires instead? -- ___ Python tracker <http://bugs.python.org/issu

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

2012-05-16 Thread anatoly techtonik
anatoly techtonik added the comment: You've nailed it. I think it is important to know that `requires` is unused. Still this parameter is already present in documentation and causes a lot of trouble (at first I thought there is a bug with pip). Can we still have proper comment explainin

[issue1635217] Warn against using requires/provides/obsoletes in setup.py

2012-05-16 Thread anatoly techtonik
anatoly techtonik added the comment: PEP 345 completely misses practical side. I need to specify dependencies for my package, so that people who checked out the source code could run `pip install .` in virtualenv and get everything fetched. People reading the docs are more practical. What is

[issue1635217] Warn against using requires/provides/obsoletes in setup.py

2012-05-17 Thread anatoly techtonik
anatoly techtonik added the comment: I am trying to get what's the proposed standard for users right now? How are you going to define dependencies in distutils2? -- ___ Python tracker <http://bugs.python.org/issu

[issue14872] subprocess is not safe from deadlocks

2012-05-21 Thread anatoly techtonik
New submission from anatoly techtonik : There is no way to write a program in Python capable to process large/unlimited output coming from a subprocess stream without deadlocks. http://docs.python.org/library/subprocess.html#subprocess.Popen.communicate "Note The data read is buffer

[issue14872] subprocess is not safe from deadlocks

2012-05-21 Thread anatoly techtonik
anatoly techtonik added the comment: The problem with memory is more actual for machines with SSD where swap is usually turned off and /tmp files are located on memory disk. Hitting memory limit often means hard reset. My process is pretty generic that uses all streams, and I don't kno

[issue1191964] asynchronous Subprocess

2012-05-21 Thread anatoly techtonik
anatoly techtonik added the comment: What is the status? What is required to get this into 3.3? See also issue14872. -- nosy: +techtonik ___ Python tracker <http://bugs.python.org/issue1191

[issue14879] invalid docs for subprocess exceptions with shell=True

2012-05-21 Thread anatoly techtonik
New submission from anatoly techtonik : http://docs.python.org/library/subprocess.html#exceptions documentation is wrong at least for the case when shell=True on Linux. An attempt to execute a non-existent file with: process = subprocess.Popen("sdfsdf", shell=True, stdout=subpr

[issue4755] Add function to get common path prefix

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

[issue14948] setup.cfg - rename home_page to homepage

2012-05-28 Thread anatoly techtonik
New submission from anatoly techtonik : home_page is too conservative, ugly and requires more time typing. "home page" is also 2.15 times less popular that "homepage" spelling http://www.google.com/trends/?q=%22home+page%22,+%22homepage%22 Writing setup.cfg files for hum

[issue14948] setup.cfg - rename home_page to homepage

2012-05-30 Thread anatoly techtonik
anatoly techtonik added the comment: 1. Why not to add aliases? 2. Why not to postpone it to 3.4? 3. Why PEP change is a heavy process? Can we lighten it? (where is the description is PEP change process at all) -- status: closed -> pend

[issue14979] pdb: Link to source

2012-06-01 Thread anatoly techtonik
New submission from anatoly techtonik : http://docs.python.org/library/pdb.html#pdb.Pdb Documentation for pdb says: "The debugger is extensible — it is actually defined as the class Pdb. This is currently undocumented but easily understood by reading the source." There should a l

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread anatoly techtonik
New submission from anatoly techtonik : This code dumps a lot of internal source code info when executed with trace as: python -m trace --trace file2.py ---[file2.py] import subprocess def ret(): output = subprocess.check_output(['hg', 'id', '-nib']) p

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: The behavior repeats with PyPy 1.8.0, and doesn't repeat with Python 3. -- components: +Library (Lib) ___ Python tracker <http://bugs.python.org/is

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: OMG. =) Is it possible to fix it somehow? Postpone output collection until the very exec() call? Or provide a different stream for collecting output? -- ___ Python tracker <http://bugs.python.org/issue15

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: Is it possible to pause trace and resume after the exec call? Between some missing instructions from subprocess internals and traceability of the Python programs I'd choose the latter. It can be even more actual for people tracing program execution i

[issue15005] trace corrupts return result on chained execution

2012-06-05 Thread anatoly techtonik
anatoly techtonik added the comment: The fix for saving/restoring trace function belong to subprocess module. Python2 only issue will be actual when you have to port Python2 only app where it works ok to the Python3 where it doesn't work even if it executes success

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

2012-06-06 Thread anatoly techtonik
anatoly techtonik added the comment: I'd say no consensus was reached due to lack of participation. My enthusiasm was killed by the issue8903 resolution. My opinion is that: datetime.time.now() is much better than: datetime.datetime.now()

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

2012-06-06 Thread anatoly techtonik
anatoly techtonik added the comment: And I certainly don't agree with you that usability changes in API are not use cases. -- ___ Python tracker <http://bugs.python.org/i

[issue15060] docs: socket typo

2012-06-13 Thread anatoly techtonik
New submission from anatoly techtonik : http://docs.python.org/library/socket.html s/integral/integer/ -- assignee: docs@python components: Documentation messages: 162720 nosy: docs@python, techtonik priority: normal severity: normal status: open title: docs: socket typo

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

2012-06-14 Thread anatoly techtonik
anatoly techtonik added the comment: On Wed, Jul 14, 2010 at 1:52 AM, Alexander Belopolsky wrote: > I am still -1 on adding specialized formatting methods to the datetime class. >  I think this should be done in specialized modules. No problem - add "formats" module and I&#

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

2012-06-14 Thread anatoly techtonik
anatoly techtonik added the comment: I must add - many times better than no solution at all. -- ___ Python tracker <http://bugs.python.org/issue7584> ___ ___

[issue15104] abusive language in __name__ description

2012-06-19 Thread anatoly techtonik
New submission from anatoly techtonik : http://docs.python.org/library/__main__.html "It is this environment in which the idiomatic “conditional script” stanza causes a script to run" ?!? -- assignee: docs@python components: Documentation messages: 163140 nosy: docs@python,

[issue15104] abusive language in __name__ description

2012-06-19 Thread anatoly techtonik
anatoly techtonik added the comment: It is abusive for those who don't get the meaning. Can you translate it to simple english? -- ___ Python tracker <http://bugs.python.org/is

[issue15104] abusive language in __name__ description

2012-06-19 Thread anatoly techtonik
anatoly techtonik added the comment: Maybe "abusive language" is not the right translation from Russian. It could be "coarse language" or "foul language". -- ___ Python tracker <

[issue15104] abusive language in __name__ description

2012-06-19 Thread anatoly techtonik
anatoly techtonik added the comment: Ok, the "language is not clear enough" is the queasily polite, serious and corteous substitution for "abusive language" in the title of this issue. Can you translate it to simple english? -- __

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