[issue9509] argparse FileType raises ugly exception for missing file

2011-01-19 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file20456/argparse.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509

[issue9509] argparse FileType raises ugly exception for missing file

2011-01-23 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: I've tested this on windows. It passed all test. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9509

[issue9509] argparse FileType raises ugly exception for missing file

2011-01-25 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Steven, I'm wondering why do you raise ArgumentTypeError there? From reading doc strings of the relevant errors, it seems obvious to me that it should be ArgumentError. Argument is being used there, there's no conversion occurring anywhere

[issue8973] Inconsistent docstrings in struct module

2011-01-31 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: r81947 introduced this issue: from struct import * pack_into Traceback (most recent call last): File pyshell#1, line 1, in module pack_into NameError: name 'pack_into' is not defined struct.__all__ has a duplicate entry and misses

[issue11078] Have test___all__ check for duplicates

2011-01-31 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: At the moment test fails only for os module on windows. These are the offending names: putenv, spawnv, spawnve The reason is that __all__ is extended with ntpath.__all__ and then again in the body of os.py (I'm not entirely sure how

[issue11081] from struct import * misses pack_into

2011-01-31 Thread SilentGhost
New submission from SilentGhost ghost@gmail.com: the following issue was introduced in r81947: from struct import * pack_into Traceback (most recent call last): File pyshell#1, line 1, in module pack_into NameError: name 'pack_into' is not defined struct.__all__ has a duplicate

[issue8973] Inconsistent docstrings in struct module

2011-01-31 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: new issue #11081 was created for struct.__all__ fix -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8973

[issue11116] (mailbox and) email (errors) - patch

2011-02-04 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: The patch would be better to say: if not lines: continue However, it could be even simpler to do: for string, charset in self._chunks: if not string: continue -- nosy: +SilentGhost

[issue7719] distutils: ignore .nfsXXXX files

2011-02-07 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Here is the applicable patch against py3k branch. -- nosy: +SilentGhost Added file: http://bugs.python.org/file20710/dir_util.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue11139] subprocess: Arguments to .bat scripts get interpreted by shell

2011-02-07 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- versions: +Python 3.1, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11139

[issue11139] subprocess: Arguments to .bat scripts get interpreted by shell

2011-02-07 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: This seem to have been discussed in issue8972: closing as a duplicate. -- nosy: +SilentGhost resolution: - duplicate status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue8972] subprocess.list2cmdline doesn't quote the character

2011-02-07 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: issue11139 was closed as a duplicate of this issue. -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8972

[issue11141] 2.x range() in 3.x shelve documentation

2011-02-07 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Here is the patch. -- keywords: +needs review, patch nosy: +SilentGhost versions: +Python 3.3 Added file: http://bugs.python.org/file20713/shelve.rst.diff ___ Python tracker rep...@bugs.python.org

[issue11139] subprocess: Arguments to .bat scripts get interpreted by shell

2011-02-07 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file20712/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11139

[issue11139] subprocess: Arguments to .bat scripts get interpreted by shell

2011-02-07 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file20714/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11139

[issue11116] mailbox and email errors

2011-02-11 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: compileall.rst diff doesn't seem to belong in that patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6

[issue11262] re.sub replaces only first 32 matches with re.U flag

2011-02-20 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: If you read docs carefully, you notice that re.sub doesn't accept flags argument. Its 4th argument is count, re.U numerical value is 32. Closing as invalid. There are some duplicates too, I'm sure. -- nosy: +SilentGhost resolution

[issue11263] Wrong link to source code of ftplib

2011-02-20 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: here is the patch -- keywords: +patch nosy: +SilentGhost stage: - patch review Added file: http://bugs.python.org/file20816/ftplib.rst.diff ___ Python tracker rep...@bugs.python.org http

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: On WinXp with Python 3.2a4+ or 3.1.3 I cannot reproduce this issue. -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11272

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: With py3.2 final, I can reproduce this bug with command line (as demonstrated by the OP) but not with the IDLE (for 3.2a4+ I have only command line, which I compiled myself). -- ___ Python tracker

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11272 ___ ___ Python-bugs-list mailing

[issue11272] input() has trailing carriage return on windows

2011-02-21 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Can you try Python 3.1 with -u command line flag? Yes, I can reproduce it with 3.1.3 with -u flag -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11272

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-02-22 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Here is the patch fixing pep-8 compatibility and test. It is against the latest commit. -- nosy: +SilentGhost status: closed - open Added file: http://bugs.python.org/file20840/crypt.py.diff

[issue11289] smtplib context manager

2011-02-22 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: you didn't attach anything, Giampaolo. -- components: +Library (Lib) nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11289

[issue11289] smtplib context manager

2011-02-22 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: is print really necessary in the test? Also, I think it would be better to unpack the tuple in test, rather then index it. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue2650] re.escape should not escape underscore

2011-02-23 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Added file: http://bugs.python.org/file20860/test_re.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2650

[issue2650] re.escape should not escape underscore

2011-02-23 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file20389/test_re.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2650

[issue11304] Input/output tutorial - PI is rounded not truncated

2011-02-23 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Sandro, you didn't attach anything. -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11304

[issue11304] Input/output tutorial - PI is rounded not truncated

2011-02-23 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- Removed message: http://bugs.python.org/msg129230 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11304

[issue11304] Input/output tutorial - PI is rounded not truncated

2011-02-23 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: -SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11304 ___ ___ Python-bugs-list

[issue11308] extraneous link getit in the main website sidebar

2011-02-24 Thread SilentGhost
New submission from SilentGhost ghost@gmail.com: There is an extraneous entry in sidebar of the www.python.org It has some two chinese characters and leads to download page. -- messages: 129264 nosy: SilentGhost priority: normal severity: normal status: open title: extraneous link

[issue11308] extraneous link getit in the main website sidebar

2011-02-24 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Sorry, I realise that this is my mistake. -- resolution: - invalid status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11308

[issue11331] unused line in the logging-cookbook example

2011-02-26 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- assignee: docs@python - vinay.sajip nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11331

[issue11341] test_os fails

2011-02-26 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Which revision are you trying with? I cannot reproduce this with r88656 -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11341

[issue6370] Bad performance of colllections.Counter at initialisation from an iterable

2009-06-29 Thread SilentGhost
New submission from SilentGhost michael.mischurow+...@gmail.com: I'm comparing initialisation of Counter from an iterable with the following function: def unique(seq): Dict of unique values (keys) their counts in original sequence out_dict = dict.fromkeys(set(seq), 0

[issue6370] Bad performance of colllections.Counter at initialisation from an iterable

2009-06-29 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: I've never meant to suggest any kind of replacement of the Counter with my example. I just tried to show that self[elem] += 1# line 430 of collections.py which at initialisation naturally propagates to __missing__ is somewhat

[issue6428] TypeError: __bool__ should return bool or int, returned int

2009-07-06 Thread SilentGhost
New submission from SilentGhost michael.mischurow+...@gmail.com: According to docs (http://docs.python.org/3.1/reference/datamodel.html#object.__bool__) __bool__ can return 1 or 0 instead of True or False. However, when I ran the following code: Python 3.1 (r31:73574, Jun 26 2009, 20:21:35

[issue6878] outdated docstring in tkinter.Canvas.coords

2009-09-10 Thread SilentGhost
New submission from SilentGhost michael.mischurow+...@gmail.com: Doc string for tkinter/__init__.py Canvas.coords (line 2115 in python3.1.1) reads: Return a list of coordinates for the item given in ARGS. actual code: return map(...etc...) I actually don't know whether it's an outdated

[issue6977] Getopt documentation ambiguity

2009-09-23 Thread SilentGhost
New submission from SilentGhost michael.mischurow+...@gmail.com: the following getopt.getopt('--testing=dr'.split(), '', ['testing'])[0] would raise 'option --testing must not have an argument'. Documentation reads, however: Long options which require an argument should be followed

[issue6977] Getopt documentation ambiguity

2009-09-23 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: issue is in the wording: Long options which require an argument should be followed by an equal sign ('='). What if the argument is optional? Then by definition it is not required, but as my example shows omitting the equal sign

[issue6977] Getopt documentation ambiguity

2009-09-23 Thread SilentGhost
SilentGhost michael.mischurow+...@gmail.com added the comment: Yes, that's true Doug. May be it should be explicitly stated? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6977

[issue11354] argparse: nargs could accept range of options count

2011-03-02 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +bethard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11354 ___ ___ Python-bugs-list mailing

[issue5800] make wsgiref.headers.Headers accept empty constructor

2011-03-06 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Here's the single-file patch against the revision. -- Added file: http://bugs.python.org/file21016/issue5800.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800

[issue5800] make wsgiref.headers.Headers accept empty constructor

2011-03-06 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file19681/test_wsgiref.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800

[issue5800] make wsgiref.headers.Headers accept empty constructor

2011-03-06 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file19797/headers.py.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800

[issue5800] make wsgiref.headers.Headers accept empty constructor

2011-03-06 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file19804/wsgiref.rst.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-03-06 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Above-mentioned fix was commited in rev 62994662676a -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10924

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-03-06 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Above-mentioned fix was committed in 0586c699d467 and 62994662676a -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10924

[issue10924] Adding salt and Modular Crypt Format to crypt library.

2011-03-06 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- Removed message: http://bugs.python.org/msg130171 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10924

[issue5091] Segfault in PyObject_Malloc(), address out of bounds

2011-03-06 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- resolution: - invalid stage: test needed - committed/rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5091

[issue11433] syntax error at while statement in IDLE/python shell

2011-03-07 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: No this is not a bug. You're trying to execute two statements in one go in IDLE, which it doesn't support. You need to run your while loop as a single statement, then your print('Done'). -- nosy: +SilentGhost resolution: - invalid

[issue11435] Links to source code should now point to hg repo

2011-03-07 Thread SilentGhost
New submission from SilentGhost ghost@gmail.com: With the conversion to mercurial source links in documentation should now point to hg.python.org Here is the patch. -- assignee: docs@python components: Documentation files: docs_sourcename.diff keywords: patch messages: 130268 nosy

[issue11072] Add MLSD command support to ftplib

2011-03-07 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11072 ___ ___ Python-bugs-list

[issue11435] Links to source code should now point to hg repo

2011-03-07 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: I've put the redirection in place. So, it's not possible to access http://svn.python.org/view/python/branches/py3k/ at all now? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue11072] Add MLSD command support to ftplib

2011-03-08 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Here is a patch incorporating some of the changes proposed by Eric: * drop callback, return generator of (filename, fact-dict) Aren't you modifying the state on the server (via OPTS MLST), and then if you make a subsequent call without

[issue11433] syntax error at while statement in IDLE/python shell

2011-03-08 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11433 ___ ___ Python-bugs

[issue11440] fix_callable should be dropped from lib2to3 / changed

2011-03-08 Thread SilentGhost
New submission from SilentGhost ghost@gmail.com: Since the callable return in 3.2, should the fix_callable be dropped from lib2to3 or should it be adjusted to make distinction between 3.1 and 3.2 situation? I'm not sure if latter is possible. -- components: 2to3 (2.x to 3.0

[issue11450] Py_GetBuildInfo() truncates when there are many hg tags

2011-03-09 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11450 ___ ___ Python-bugs-list

[issue11435] Links to source code should now point to hg repo

2011-03-09 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- versions: +Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11435 ___ ___ Python-bugs-list

[issue11072] Add MLSD command support to ftplib

2011-03-09 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: facts_found.strip( ).rstrip(;) strip is redundant since facts_found is a first element of partitioning by the same string. rstrip is wrong since you're potentially deleting more than one character (there is no test for that). In your test

[issue11435] Links to source code should now point to hg repo

2011-03-11 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: This issue is not about the redirects. It is about links in documentation. The redirect is great for the links in the wild, the online documentation, however, could and should use proper links without any redirects. Georg, or whoever

[issue10461] Use with statement throughout the docs

2011-03-11 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Éric, I'm not sure about the first atexit.rst hunk. I thought the purpose of that code was to except IOError when no file is found. I'm not entirely sure why in the simplest case infile.read() would raise IOError. I'd think that eli's patch

[issue2650] re.escape should not escape underscore

2011-03-12 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Here is the latest patch for test_re incorporating review suggestions by Ezio and some improvements along the way. -- Added file: http://bugs.python.org/file21096/test_re.diff ___ Python tracker rep

[issue11479] Add discussion of trailing slash in raw string to tutorial

2011-03-13 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file21102/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11479

[issue5800] make wsgiref.headers.Headers accept empty constructor

2011-03-13 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Looks good to me. Would you mind committing it then? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5800

[issue2650] re.escape should not escape underscore

2011-03-14 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: I think these are two different questions: 1. What to escape 2. What to do about poor performance of the re.escape when re.sub is used In my opinion, there isn't any justifiable reason to escape non-meta characters: it doesn't affect

[issue10775] assertRaises as a context manager should accept a 'msg' keyword argument.

2011-03-15 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: I left a comment on the review. You need to publish your comment if you want others to see it. -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10775

[issue11289] smtplib context manager

2011-03-15 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: A couple more minor issues: 1. Double space required at the beginning of the Here is a ... sentence in Doc/library/smtplib.rst 2. in __exit__ method: msg is the variable name assigned from docmd('QUIT') but errmsg is used when raising

[issue4972] context managerment support in imaplib, smtplib, ftplib

2011-03-15 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: The work on smtplib context manager continues in #11289. I'm putting it as a dependency here. -- dependencies: +smtplib context manager nosy: +SilentGhost versions: +Python 3.3 ___ Python tracker

[issue11562] += on list inside a tuple raises TypeError but succeeds anyway

2011-03-16 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- title: += on list inside a tuple raises TypeError but succeds anyway - += on list inside a tuple raises TypeError but succeeds anyway ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue11576] timedelta subtraction glitch on big timedelta values

2011-03-16 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: To emphasize that it's only days parameter that is overflowing here is another case: timedelta(9, 1, 1) - timedelta(9, 0, 0) datetime.timedelta(0, 1, 1) timedelta(9, 1, 1) - timedelta(9, 1, 0) Traceback (most

[issue11576] timedelta subtraction glitch on big timedelta values

2011-03-16 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: What happens is the second value is negated (__neg__) which causes it to become less than timedelta.min and that is causing OverflowError. -- components: +Library (Lib) nosy: +belopolsky ___ Python

[issue11577] testcase for exception binhex.Error

2011-03-16 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Arkady, I don't see why you need to catch exception. Just wrap the _writeinfo call into a try-finally block, and close ofp in the finally. -- nosy: +SilentGhost ___ Python tracker rep

[issue11583] os.path.isdir() is slow on windows

2011-03-17 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file21266/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11583

[issue11383] compilation seg faults on insanely large expressions

2011-03-17 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: 100k is, apparently, not enough on my system (linux2). test_crashers now fails. Are any system-specific details needed? -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http

[issue11383] compilation seg faults on insanely large expressions

2011-03-17 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: 10**6 on the other hand seem to do the job -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11383

[issue11588] Add necessarily inclusive groups to argparse

2011-03-17 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- nosy: +bethard ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11588 ___ ___ Python-bugs-list mailing

[issue11060] distutils2 sdist does not complain about version that is not PEP 386 compliant

2011-03-21 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Please, don't use tabs to indent your code. Also check the trailing spaces and tabs. -- nosy: +SilentGhost ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11060

[issue11622] Documentation

2011-03-21 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Did you try http://docs.python.org/tutorial/ ? -- nosy: +SilentGhost versions: -Python 2.7, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11622

[issue11752] Gungor Basa wants to stay in touch on LinkedIn

2011-04-03 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- Removed message: http://bugs.python.org/msg132870 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11752

[issue11752] Gungor Basa wants to stay in touch on LinkedIn

2011-04-03 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: Removed file: http://bugs.python.org/file21519/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11752

[issue11072] Add MLSD command support to ftplib

2011-05-06 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: Has something prevent you from implementing suggestion provided in my review? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11072

[issue11072] Add MLSD command support to ftplib

2011-05-06 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: a review on rietveld http://bugs.python.org/review/11072/show which as I confirmed with you specifically at #python-dev you received a notification of. -- ___ Python tracker rep...@bugs.python.org

[issue12397] re match object methods have no docstrings

2011-06-24 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: 2.6 is in security-only mode, if I'm not mistaken. -- nosy: +SilentGhost versions: -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12397

[issue12516] imghdr.what should take one argument

2011-07-08 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: This seems like a change suitable for 3.3 -- nosy: +SilentGhost versions: +Python 3.3 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12516

[issue12518] In string.Template it's impossible to transform delimiter in the derived class

2011-07-08 Thread SilentGhost
SilentGhost ghost@gmail.com added the comment: 3.1 is in security fixes-only mode -- nosy: +SilentGhost versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12518

[issue17889] argparse subparsers break without without argument

2013-05-01 Thread SilentGhost
New submission from SilentGhost: If you run attached file w/ 3.2 and 3.3 (and later) versions, you'll notice that the new version of parser doesn't handle empty argument list: $ python3.2 test.py usage: test.py [-h] {demo} ... test.py: error: too few arguments $ python3.3 test.py Namespace

[issue17889] argparse subparsers break without arguments

2013-05-01 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- title: argparse subparsers break without without argument - argparse subparsers break without arguments ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17889

[issue19844] os.path.split fails on windows path

2013-11-30 Thread SilentGhost
SilentGhost added the comment: file must be a raw string: file = r'C:\progs\python' Then everthing works. -- nosy: +SilentGhost resolution: - invalid ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19844

[issue20272] chain.from_iterable in the overview table not linking to the function

2014-01-15 Thread SilentGhost
New submission from SilentGhost: chain.from_iterable is not linkified in the overview table at the top of the itertools docs. The patch requires reformat of the table. -- assignee: docs@python components: Documentation files: linkify.diff keywords: patch messages: 208184 nosy

[issue20272] chain.from_iterable in the overview table not linking to the function

2014-01-15 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- versions: -Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20272 ___ ___ Python-bugs-list

[issue20281] time.strftime %z format specifier is the same as %Z

2014-01-16 Thread SilentGhost
SilentGhost added the comment: Mike, the note is at the very bottom of the page. datetime.strftime produces empty strings with this specifiers for naïve objects, are the object you're testing timezone-aware? -- nosy: +SilentGhost ___ Python tracker

[issue20295] imghdr add openexr support

2014-01-19 Thread SilentGhost
SilentGhost added the comment: Martin, it would be better if you do the check the way it's done in test_rast: h.startswith(b'\x76\x2f\x31\x01') Otherwise, you need to check that that h has at least 4 elements (if it doesn't you'll get an IndexError). -- nosy: +SilentGhost

[issue20591] Let braces be a constant

2014-02-12 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20591

[issue21607] results of `zip` are displayed as 'zip object at 0xxxxxx

2014-05-29 Thread SilentGhost
SilentGhost added the comment: This is the correct behaviour. In python 3 zip returns an iterator. Detailed information is available in documentation. https://docs.python.org/3/library/functions.html#zip -- nosy: +SilentGhost resolution: - not a bug status: open - closed

[issue21607] results of `zip` are displayed as 'zip object at 0xxxxxx

2014-05-29 Thread SilentGhost
SilentGhost added the comment: How do you display the contents of an iterable without using them up In general case you can't, but zip object _is_ reusable iterable so we can reuse it? I think you're misunderstanding what an iterator is or how it functions. Just to make it clear, it cannot

[issue21609] Documentation for datetime.datetime uses microseconds instead of microsecond

2014-05-29 Thread SilentGhost
SilentGhost added the comment: Could you provide an actual quote where it refers to datetime.datetime.microseconds? Are you not by any chance confusing it with datetime.timedelta.microseconds? -- nosy: +SilentGhost ___ Python tracker rep

[issue21631] List/Dict Combination Bug

2014-06-01 Thread SilentGhost
SilentGhost added the comment: Robert, could you please post a reduced code that generates the bug. Preferably, a interpreter output. Including information about your python version, OS, etc. For example: Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type help, copyright

[issue21685] zipfile module doesn't properly compress odt documents

2014-06-07 Thread SilentGhost
SilentGhost added the comment: Raimondo, the documentation clearly states that the compression method is either inherited from ZipInfo instance (when that one is passed) or set to ZIP_STORED otherwise. Since you're not passing ZipInfo instance, but the string (as the first argument

[issue21685] zipfile module doesn't properly compress odt documents

2014-06-08 Thread SilentGhost
SilentGhost added the comment: Whether for reasons of slightly different setup or due to something else, I'm not able to reproduce the issue. What I do see, is that the field is not automatically updated, so on opening of the document I have to hit F9 to get the answer field updated

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