SilentGhost added the comment:
here is the patch for the py3k docs.
--
Added file: http://bugs.python.org/file20021/stdtypes.rst.diff
___
Python tracker
<http://bugs.python.org/issue2
Changes by SilentGhost :
Removed file: http://bugs.python.org/file19671/logging.rst.diff
___
Python tracker
<http://bugs.python.org/issue10461>
___
___
Python-bugs-list m
SilentGhost added the comment:
following re-organization of the logging docs, I'm attaching updated patch.
--
nosy: +vinay.sajip
Added file: http://bugs.python.org/file20112/logging-cookbook.rst.diff
___
Python tracker
<http://bugs.py
SilentGhost added the comment:
One-word patch attached.
--
keywords: +patch
nosy: +SilentGhost
Added file: http://bugs.python.org/file20191/hashlib.rst.diff
___
Python tracker
<http://bugs.python.org/issue10
SilentGhost added the comment:
Sasha, commit is not working. It doesn't pass test on Ubuntu and returns the
string with a trailing \n. Seems like that hunk of code is misplaced.
--
nosy: +SilentGhost
___
Python tracker
<http://bugs.py
SilentGhost added the comment:
I'm not sure that whether it's related to the current issue, but asctime
doesn't seem to accept years < 1900. Which might be fair enough, has this been
documented.
--
___
Python tracker
<h
SilentGhost added the comment:
yes, sorry. what I meant to say is that fixing only upper bound for the year
(according to CERT recommendation cited above) and leaving the lower bound in
its current state is somewhat unsatisfactory.
--
___
Python
SilentGhost added the comment:
All tests pass and all works as documented with the latest patch on Ubuntu
(glibc 2.11).
--
___
Python tracker
<http://bugs.python.org/issue8
SilentGhost added the comment:
Works as advertised for me. Unless more information is added, it looks like an
invalid issue.
--
nosy: +SilentGhost
___
Python tracker
<http://bugs.python.org/issue10
SilentGhost added the comment:
Shouldn't that be:
self.assertIs(req.type == "ftp", ftp)
?
------
nosy: +SilentGhost
___
Python tracker
<http://bugs.pyt
Changes by SilentGhost :
Added file: http://bugs.python.org/file20326/test_urllib2.diff
___
Python tracker
<http://bugs.python.org/issue10874>
___
___
Python-bugs-list m
SilentGhost added the comment:
Here is the patch implementing all but the url suggestion.
Doctest still has 11 failures (changing to '0x...' didn't help).
--
keywords: +patch
nosy: +SilentGhost
Added file: http://bugs.python.org/file20329
SilentGhost added the comment:
A few bits and pieces fixed compared to the previous patch.
>>> doctest.testfile("/home/mischa/pydev/Doc/howto/regex.rst", module_relative
>>> = False, optionflags=doctest.ELLIPSIS)
TestResults(failed=0, attempted=98)
Changes by SilentGhost :
Removed file: http://bugs.python.org/file20329/regex.rst.diff
___
Python tracker
<http://bugs.python.org/issue10875>
___
___
Python-bugs-list m
SilentGhost added the comment:
It seems that the special sequences description in Matching Characters section
need to be updated to incorporate information on unicode and bytes. I don't
think, however, that it's a good idea just to copy that information from the
Doc/library/re.rst
SilentGhost added the comment:
I don't know whether it would be easy to strip down py3k version to 2.7 version.
Seeing how it's just a basic introduction, I would think that a single
statement re unicode support might be sufficient. For exhaustive description of
special sequences
Changes by SilentGhost :
Removed file: http://bugs.python.org/file20331/regex.rst.diff
___
Python tracker
<http://bugs.python.org/issue10875>
___
___
Python-bugs-list m
SilentGhost added the comment:
> While the changes all look innocuous to me with respect to building the docs,
> I am curious if you have tried to rebuild the HOWTO (if you have the tool
> chain, which I do not).
I did rebuild the docs with 'make html'. Build was clean
New submission from SilentGhost :
Following suggestion in the Developers Guide
(http://docs.python.org/devguide/#index-5) and the rules proposed by Michael
Foord (http://mail.python.org/pipermail/python-dev/2010-November/105476.html):
> If a module or package defines __all__ t
New submission from SilentGhost :
Module generic path is in order (added here only for completeness).
Attached patch is for getopt.
--
components: Library (Lib)
files: getopt_api.diff
keywords: patch
messages: 126095
nosy: SilentGhost
priority: normal
severity: normal
status: open
SilentGhost added the comment:
Depends on issue10895
--
___
Python tracker
<http://bugs.python.org/issue10894>
___
___
Python-bugs-list mailing list
Unsubscribe:
SilentGhost added the comment:
Attached patch is for glob.
While I haven't touched it, I find it strange that Doc/library/glob.rst draws
special attention to the actual source code of the glob module. Since, in my
view, it's pertaining to the public API, I would consider deleting
SilentGhost added the comment:
Attached patch is for getpass.
Additionally, I let myself remove superfluous import.
--
Added file: http://bugs.python.org/file20367/getpass_api.diff
___
Python tracker
<http://bugs.python.org/issue10
SilentGhost added the comment:
So, is int, str, bool and enumerate. And many others. The preface on functions
page (http://docs.python.org/dev/library/functions.html) says:
"The Python interpreter has a number of functions and types built into it that
are always available."
I w
SilentGhost added the comment:
Attached patch is for gzip.
Additionally, I had to fix import and removed two unused (?) functions. Let me
know if that's inappropriate. I wasn't sure what to do about constants (all
caps vars) so I left them as they were.
--
Added
Changes by SilentGhost :
Removed file: http://bugs.python.org/file20367/getpass_api.diff
___
Python tracker
<http://bugs.python.org/issue10895>
___
___
Python-bugs-list m
Changes by SilentGhost :
Added file: http://bugs.python.org/file20372/getpass_api.diff
___
Python tracker
<http://bugs.python.org/issue10895>
___
___
Python-bugs-list m
SilentGhost added the comment:
It's due to the os.path.normpath not normalizing case. Here is the patch.
Also affects 3.x
--
keywords: +patch
nosy: +SilentGhost
versions: +Python 3.1, Python 3.2
Added file: http://bugs.python.org/file20378/trace
Changes by SilentGhost :
--
nosy: +belopolsky
___
Python tracker
<http://bugs.python.org/issue10896>
___
___
Python-bugs-list mailing list
Unsubscribe:
SilentGhost added the comment:
Attached patch is fro gettext
None of the public members of the module has any docstrings. I'm not sure that
simple copying from Doc/library/gettext.rst would be satisfactory. But if it
is, please let me know.
--
Added file: http://bugs.pytho
Changes by SilentGhost :
--
nosy: +SilentGhost
___
Python tracker
<http://bugs.python.org/issue10897>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by SilentGhost :
--
nosy: +rhettinger
___
Python tracker
<http://bugs.python.org/issue10894>
___
___
Python-bugs-list mailing list
Unsubscribe:
SilentGhost added the comment:
version of the lorenz's patch agains py3k branch.
--
Added file: http://bugs.python.org/file20380/mmap.diff
___
Python tracker
<http://bugs.python.org/is
SilentGhost added the comment:
Committed for 2.7 in r87964, for 3.1 in r87965.
--
___
Python tracker
<http://bugs.python.org/issue10874>
___
___
Python-bug
Changes by SilentGhost :
--
nosy: +SilentGhost
___
Python tracker
<http://bugs.python.org/issue2650>
___
___
Python-bugs-list mailing list
Unsubscribe:
SilentGhost added the comment:
Here is the patch, including adjustment to the test.
--
Added file: http://bugs.python.org/file20388/issue2650.diff
___
Python tracker
<http://bugs.python.org/issue2
Changes by SilentGhost :
--
resolution: -> accepted
status: open -> closed
versions: +Python 3.1, Python 3.2
___
Python tracker
<http://bugs.python.org/i
Changes by SilentGhost :
Removed file: http://bugs.python.org/file20388/issue2650.diff
___
Python tracker
<http://bugs.python.org/issue2650>
___
___
Python-bugs-list m
SilentGhost added the comment:
The naïve version of the code proposed was about 3 times slower than existing
version. However, the test, I think, is valuable enough. So, I'm reinstating it.
--
Added file: http://bugs.python.org/file20389/test_re
Changes by SilentGhost :
--
resolution: accepted -> fixed
___
Python tracker
<http://bugs.python.org/issue10013>
___
___
Python-bugs-list mailing list
Unsubscri
SilentGhost added the comment:
James, I think the setup statement should have been:
"import re\ndef escape(s):\n return re.sub(r'([][.^$*+?{}\\|()])', r'\\\1',
s)")"
note the raw string literals.
The timings that I got after applying file20388
(http://
Changes by SilentGhost :
--
nosy: +gustavo
___
Python tracker
<http://bugs.python.org/issue10900>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by SilentGhost :
--
nosy: +niemeyer -gustavo
___
Python tracker
<http://bugs.python.org/issue10900>
___
___
Python-bugs-list mailing list
Unsubscribe:
SilentGhost added the comment:
It is a duplicate of #1243654. Closing.
--
nosy: +SilentGhost
resolution: -> duplicate
status: open -> closed
superseder: -> Faster output if message already has a boundary
___
Python tracker
<http://bug
SilentGhost added the comment:
Issue #10901 was closed as a duplicate of this issue.
--
nosy: +SilentGhost
versions: +Python 3.1, Python 3.2
___
Python tracker
<http://bugs.python.org/issue1243
New submission from SilentGhost :
In the course of fixing #10896 I've noticed a few things:
1. --ignore-dir='$prefix' doesn't work on windows. I don't know if it has to,
there is no information in docs regarding it at all. It does work on Unix.
2. The way module che
SilentGhost added the comment:
#10908 is dealing with this and other issue re ignored dirs.
--
status: open -> closed
superseder: -> Improvements to trace._Ignore
___
Python tracker
<http://bugs.python.org/i
Changes by SilentGhost :
--
status: open -> languishing
___
Python tracker
<http://bugs.python.org/issue5800>
___
___
Python-bugs-list mailing list
Unsubscri
SilentGhost added the comment:
The patch aside from fixing directory names on case-insensitive file systems,
also:
* implements more efficient handling of directory and module comparison (put
into _Ignoore.__init__ instead of _Ignore.names).
* changes integer return codes to boolean
Changes by SilentGhost :
--
status: closed -> open
___
Python tracker
<http://bugs.python.org/issue10896>
___
___
Python-bugs-list mailing list
Unsubscri
Changes by SilentGhost :
--
nosy: -SilentGhost
___
Python tracker
<http://bugs.python.org/issue10896>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by SilentGhost :
--
dependencies: +trace module compares directories as strings (--ignore-dir)
type: -> performance
___
Python tracker
<http://bugs.python.org/issu
SilentGhost added the comment:
Vladimir, superseder's patch fixes that too.
--
___
Python tracker
<http://bugs.python.org/issue10896>
___
___
Python-bugs-l
Changes by SilentGhost :
--
status: open -> languishing
___
Python tracker
<http://bugs.python.org/issue9509>
___
___
Python-bugs-list mailing list
Unsubscri
SilentGhost added the comment:
Here is the single patch. All tests pass.
--
Added file: http://bugs.python.org/file20456/argparse.diff
___
Python tracker
<http://bugs.python.org/issue9
Changes by SilentGhost :
Removed file: http://bugs.python.org/file19827/test_argparse.py.diff
___
Python tracker
<http://bugs.python.org/issue9509>
___
___
Python-bug
Changes by SilentGhost :
Removed file: http://bugs.python.org/file19805/argparse.py.diff
___
Python tracker
<http://bugs.python.org/issue9509>
___
___
Python-bugs-list m
Changes by SilentGhost :
Added file: http://bugs.python.org/file20458/argparse.diff
___
Python tracker
<http://bugs.python.org/issue9509>
___
___
Python-bugs-list mailin
Changes by SilentGhost :
Removed file: http://bugs.python.org/file20456/argparse.diff
___
Python tracker
<http://bugs.python.org/issue9509>
___
___
Python-bugs-list mailin
SilentGhost added the comment:
I've tested this on windows. It passed all test.
--
___
Python tracker
<http://bugs.python.org/issue9509>
___
___
Pytho
SilentGhost 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
SilentGhost added the comment:
r81947 introduced this issue:
>>> from struct import *
>>> pack_into
Traceback (most recent call last):
File "", line 1, in
pack_into
NameError: name 'pack_into' is not defined
struct.__all__ has a duplicate entry an
SilentGhost 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 this could be
New submission from SilentGhost :
the following issue was introduced in r81947:
>>> from struct import *
>>> pack_into
Traceback (most recent call last):
File "", line 1, in
pack_into
NameError: name 'pack_into' is not defined
struct.__all__ has a d
SilentGhost added the comment:
new issue #11081 was created for struct.__all__ fix
--
status: open -> closed
___
Python tracker
<http://bugs.python.org/iss
SilentGhost 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
___
Python tracker
<h
SilentGhost 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
<http://bugs.python.org/issue7
Changes by SilentGhost :
--
versions: +Python 3.1, Python 3.2, Python 3.3
___
Python tracker
<http://bugs.python.org/issue11139>
___
___
Python-bugs-list mailin
SilentGhost added the comment:
This seem to have been discussed in issue8972: closing as a duplicate.
--
nosy: +SilentGhost
resolution: -> duplicate
status: open -> closed
___
Python tracker
<http://bugs.python.org/i
SilentGhost added the comment:
issue11139 was closed as a duplicate of this issue.
--
nosy: +SilentGhost
___
Python tracker
<http://bugs.python.org/issue8
SilentGhost 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
<http://bugs.python.org/issue11
Changes by SilentGhost :
Removed file: http://bugs.python.org/file20712/unnamed
___
Python tracker
<http://bugs.python.org/issue11139>
___
___
Python-bugs-list mailin
Changes by SilentGhost :
Removed file: http://bugs.python.org/file20714/unnamed
___
Python tracker
<http://bugs.python.org/issue11139>
___
___
Python-bugs-list mailin
SilentGhost added the comment:
compileall.rst diff doesn't seem to belong in that patch.
--
___
Python tracker
<http://bugs.python.org/issue6>
___
___
SilentGhost 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: -> i
SilentGhost 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
<http://bugs.python.org/issu
SilentGhost added the comment:
On WinXp with Python 3.2a4+ or 3.1.3 I cannot reproduce this issue.
--
nosy: +SilentGhost
___
Python tracker
<http://bugs.python.org/issue11
SilentGhost 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
<h
Changes by SilentGhost :
--
nosy: +haypo
___
Python tracker
<http://bugs.python.org/issue11272>
___
___
Python-bugs-list mailing list
Unsubscribe:
SilentGhost 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
<http://bugs.python.org/issu
Change by SilentGhost :
--
nosy: +vinay.sajip
___
Python tracker
<https://bugs.python.org/issue37857>
___
___
Python-bugs-list mailing list
Unsubscribe:
SilentGhost added the comment:
The only place this phrase appears is in CompletedProcess.args description and
it is correct there. Whether args arguments of subprocess.run (or generally
Popen) can be a list or a string is discussed in Frequently Used Arguments
section, and it is perfectly
SilentGhost added the comment:
But docs don't say that at all. You're looking at description of an attribute
of returned object. And of course it can be a string, under certain conditions.
The attributes of CompletedProcess and function arguments are described in the
standard
Change by SilentGhost :
--
versions: -Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue37882>
___
___
Python-bugs-list mailing list
Unsub
Change by SilentGhost :
--
nosy: +pitrou
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue37935>
___
___
Python-bugs-list mai
Change by SilentGhost :
--
nosy: +gvanrossum, levkivskyi
___
Python tracker
<https://bugs.python.org/issue37953>
___
___
Python-bugs-list mailing list
Unsub
SilentGhost added the comment:
There are more cases of using this spelling in the code base, but I personally
don't see how any confusion can arise and why this "fix" is needed.
------
nosy: +SilentGhost
___
Python tracker
<https
SilentGhost added the comment:
imaginary in the example is not meant to refer to
https://pypi.org/project/Imaginary/ it's meant to refer to a module that you
could write that would do all the dirty work. Perhaps, it's not the best name
to use provided there is an actual modu
SilentGhost added the comment:
One fairly naive solution would be to define a magic_html_parser directly in
the example and move explanatory comment there. In order not to break the code
it could return an empty string.
--
___
Python tracker
SilentGhost added the comment:
This isn't just de_DE locale, but any locale that puts currency symbol after
the value. This issue is even "acknowledged" in the test. I'd think that
appropriate fix would be to .rstrip smb on line Lib/locale.py:282
Alternatively, function r
Change by SilentGhost :
--
components: +Windows
nosy: +paul.moore, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue38537>
___
___
Pytho
SilentGhost added the comment:
The fix seems fairly obvious: replacing isfile check with try-catch statement
for all OSErrors. Would you like to submit a pull request, Michał?
--
nosy: +SilentGhost
stage: -> test needed
type: crash -> behavior
versions: -Python 2.7, Pyth
Change by SilentGhost :
--
keywords: +3.8regression
stage: -> test needed
type: crash -> behavior
___
Python tracker
<https://bugs.python.org/i
Change by SilentGhost :
--
nosy: +SilentGhost
type: enhancement -> behavior
versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.6
___
Python tracker
<https://bugs.python.org/issu
SilentGhost added the comment:
It is generally suggested to offer this sort of proposals for discussion on
python-ideas mailing list [0] first. There, you can elaborate on why you think
this is necessary, what sort of use cases this new method could have, etc. Once
there is a broad
Change by SilentGhost :
--
nosy: +rhettinger, stutzbach
versions: -Python 3.6
___
Python tracker
<https://bugs.python.org/issue39046>
___
___
Python-bugs-list m
SilentGhost added the comment:
This sounds like it needs at least some discussion on python-ideas. For
example, just reading your description I can't imagine what is supposed to
happen when an error occurs when producing argument to the exception.
--
nosy: +SilentGhost
resol
SilentGhost added the comment:
Again, please start proposal discussion at python-ideas. Also, it is not
sufficient just to post there, you need to engage with the people asking
question to justify whatever new feature you're advocating.
--
components: +Interpreter Core
Change by SilentGhost :
--
resolution: -> out of date
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org
Change by SilentGhost :
--
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue39121>
___
___
Python-bugs-list mailing list
Unsubscribe:
101 - 200 of 1410 matches
Mail list logo