New submission from Karl Magdsick :
In http://docs.python.org/dev/library/struct.html,
it says
"Native byte order is big-endian or little-endian, depending on the host
system. For example, Motorola and Sun processors are big-endian; Intel
and DEC processors are little-endian."
New submission from Karl Richter:
Due to the fact that `pdb` currently simply ignores breakpoints which are set
and hit in another than the main thread the docs need to contain a statement on
behavior in a multithreaded environment.
--
components: Library (Lib)
messages: 233409
nosy
New submission from Karl Richter:
`shelve.open(tempfile.mkstemp()[1])` fails with error "anydbm.error: db type
could not be determined" which is not explainable with the docs. Traceback is
Traceback (most recent call last):
File "./cudaminer_param_checker.py
Karl Richter added the comment:
EDIT 1: other examples, e.g.
import os
import shelve
curdir = os.path.dirname(__file__)
passwords = shelve.open(os.path.join(curdir, 'password_db'))
work, so there's need for usable
Karl Richter added the comment:
Then, let the error message say "You are opening a just-created empty file.
The db type of the file cannot, therefore, be determined." which is much
clearer than "anydbm.error: db type could not be determined" which sounds like
a generic fa
Karl Richter added the comment:
That's nice, thanks. Considering your last comment, some points
* If the issue can't go into the error message, than the essence of the
discussion here should go into the docs (in 0.5 to 1.5 sentences).
* It'd be nice if it was clear from th
Karl Richter added the comment:
My initial description was imprecise. Clearification: The fact that in
#!/usr/bin/python
import threading
def debugging():
def __a_thread__():
print("2")
a_thread = threading.Thread(target=__a_thread__)
Karl Richter added the comment:
Sorry, I mean
#!/usr/bin/python
import threading
def debugging():
def __a_thread__():
print("2")
a_thread = threading.Thread(target=__a_thread__)
a_thread.start()
a_thread.join()
Karl Richter added the comment:
For example, it should be clear why `shelve.open(tempfile.mkstemp()[1])` fails
with the mentioned exception and `shelve.open("/tmp/bla")` fails. I still
haven't figured out the constraints to create a working `shelve.Shelve` at all.
It shou
Karl Richter added the comment:
After checking the code, I think that it'd make more sense to document
`whichdb.py`. It needs to be enhanced with references to criteria for the
determination of the database type. Currently there're only function comments
and the fact that some var
New submission from Karl Richter:
I experience the error in the title exclusive when invoking `hg clone` (e.g.
`hg clone https://bitbucket.org/Coin3D/coin` or `hg clone
http://hg.netbeans.org/main-golden/ netbeans-main-golden`) when the target
directory is on a cifs mount.
`gdb` backtrace
New submission from Karl Richter:
`gcc` 4.9 is more restictive and recognizes that the empty definition of the
`REQN` macro doesn't use some variables. It's more suitable to wrap the usage
of the macro in the same preprocessor conditionals like the macro definition.
experi
Karl Richter added the comment:
It's a fatal warning of `gcc 4.9.2`, not an error (my bad) for `int i;` in
`Parser/pgen.c` line 227. It might be ignored as well, but I think my approach
is more elegant and deals with issues sooner than
New submission from Karl Richter:
`help(os.chmod)` doesn't explain that it expects an octal number for its `mode`
argument. This is very confusing for beginners and people who are not involved
with filesystems and permissions every day. It doesn't need to be explained,
just mentio
New submission from Karl Richter:
The [documentation of
subprocess](https://docs.python.org/3.6/library/subprocess.html) doesn't
contain a substantial statement how signals are handled which are send to the
python interpreter. After reading the referenced docs it should be clear
* wh
Karl Richter added the comment:
Please also explain how to deal with process replacement in child processes
(assuming that
http://stackoverflow.com/questions/34059576/how-to-register-a-signal-handler-for-a-subprocess/34065587#34065587
is correct
New submission from Karl Richter:
`./configure` both prints `checking for g++... no` and
WARNING:
By default, distutils will build C++ extension modules with "g++".
If this is not intended, then set CXX on the configure command line.
if `/usr/bin/g++` is p
New submission from Karl Richter:
The docstring of `sorted` doesn't explain what can be passed to the `cmp` and
`key` argument of `sorted`.
--
assignee: docs@python
components: Documentation
messages: 257505
nosy: docs@python, krichter
priority: normal
severity: normal
status:
Changes by Karl Stahl :
--
nosy: +Karl Stahl
___
Python tracker
<http://bugs.python.org/issue2943>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Karl Richter :
--
assignee: docs@python
components: Documentation
nosy: docs@python, krichter
priority: normal
severity: normal
status: open
title: document urllib.urlretrieve
versions: Python 2.7
___
Python tracker
<h
Karl Richter added the comment:
> I suspect the complaint might be about the lack of doc string
Exactly. It'd be helpful to figure out the return value and the means of the
function arguments in a more compact form than the referenced website docs and
to have it available in the int
New submission from Karl Richter:
The `Formatter` section of the `logging` module at
https://docs.python.org/2/library/logging.html#formatter-objects reads like
it's sufficient to create an instance of `Formatter` with default arguments
(and set it as formatter of the `Handler` of a `L
Changes by Karl Richter :
--
components: Build
nosy: krichter
priority: normal
severity: normal
status: open
title: Makefile in tarball don't provide make uninstall target
versions: Python 2.7
___
Python tracker
<http://bugs.python.org/is
Karl Johan Kleist added the comment:
If it could be of interest to anybody:
When running "make test" after building Python 2.7.2, I get the error message
"1 test failed: test_uuid".
> uname -a
Linux h1488277 2.6.18-028stab091.2 #1 SMP Fri Jun 3 00:02:40 MSD 2011 i686
Karl Johan Kleist added the comment:
== CPython 2.7.2 (default, Jul 26 2011, 12:29:47) [GCC 4.2.1 (SUSE Linux)]
== Linux-2.6.18-028stab091.2-i686-athlon-with-SuSE-10.3-i586 little-endian
== /home/kjk/local/src/Python-2.7.2/build/test_python_18037
Testing with flags: sys.flags(debug=0
Karl Johan Kleist added the comment:
> /sbin/ifconfig -a | grep -i -e hwaddr -e ether
venet0Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
venet0:0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
Change by Karl Ove Hufthammer :
--
nosy: +huftis
___
Python tracker
<https://bugs.python.org/issue35638>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Karl Y. Pradene :
In robotparser.py
On line 222
path = urllib.parse.urlunparse(urllib.parse.urlparse(path))
tranform the entry Disallow: /?
in the google.com/robots.txt
in : Disallow: /
making every can_fetch request return False
--
components: Library (Lib
New submission from Karl O. Pinc :
Seems sane to put _some_ restrictions on the string representations of the
Numeric classes. This would be a change to the Python language
specification.
Suggestions made in a pull request.
See the email thread:
Subject: Documenting Python's float.__
Change by Karl O. Pinc :
--
keywords: +patch
pull_requests: +17498
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/18111
___
Python tracker
<https://bugs.python.org/issu
Karl O. Pinc added the comment:
On Wed, 22 Jan 2020 06:09:41 +
"Eric V. Smith" wrote:
> Eric V. Smith added the comment:
>
> Is the lack of this documentation causing some confusion somewhere?
> This isn't rhetorical, I'm genuinely curious what proble
Change by Karl O. Pinc :
--
pull_requests: +21809
pull_request: https://github.com/python/cpython/pull/22867
___
Python tracker
<https://bugs.python.org/issue39
New submission from Karl O. Pinc:
In the argparse library parser library, contrary to the documentation,
parser-level defaults do not always override argument-level defaults.
https://docs.python.org/3.5/library/argparse.html#argparse.ArgumentParser.set_defaults
says "Note that parser-
201 - 233 of 233 matches
Mail list logo