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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Changes by SilentGhost ghost@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11272
___
___
Python-bugs-list mailing
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
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
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
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
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
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
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
Changes by SilentGhost ghost@gmail.com:
--
Removed message: http://bugs.python.org/msg129230
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11304
Changes by SilentGhost ghost@gmail.com:
--
nosy: -SilentGhost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11304
___
___
Python-bugs-list
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
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
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
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
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
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
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
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
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
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
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
Changes by SilentGhost ghost@gmail.com:
--
nosy: +bethard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11354
___
___
Python-bugs-list mailing
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
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
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
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
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
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
Changes by SilentGhost ghost@gmail.com:
--
Removed message: http://bugs.python.org/msg130171
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10924
Changes by SilentGhost ghost@gmail.com:
--
resolution: - invalid
stage: test needed - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5091
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
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
Changes by SilentGhost ghost@gmail.com:
--
nosy: +SilentGhost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11072
___
___
Python-bugs-list
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
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
Changes by SilentGhost ghost@gmail.com:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11433
___
___
Python-bugs
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
Changes by SilentGhost ghost@gmail.com:
--
nosy: +SilentGhost
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11450
___
___
Python-bugs-list
Changes by SilentGhost ghost@gmail.com:
--
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11435
___
___
Python-bugs-list
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Changes by SilentGhost ghost@gmail.com:
--
nosy: +bethard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11588
___
___
Python-bugs-list mailing
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
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
Changes by SilentGhost ghost@gmail.com:
--
Removed message: http://bugs.python.org/msg132870
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11752
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
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
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
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
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
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
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
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
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
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
Changes by SilentGhost ghost@gmail.com:
--
versions: -Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20272
___
___
Python-bugs-list
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
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
Changes by SilentGhost ghost@gmail.com:
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20591
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
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
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
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
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
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
101 - 200 of 1379 matches
Mail list logo