New submission from wrobell wrob...@pld-linux.org:
There is problem to uncompress large files with bz2 module.
For example, please download 13GB OpenStreetMap file using following torrent
http://osm-torrent.torres.voyager.hr/files/planet-latest.osm.bz2.torrent
Try to count lines
wrobell wrob...@pld-linux.org added the comment:
Forgot the mention the real amount of lines!
bzip2 -dc planet-110105.osm.bz2 | wc -l
2783595867
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10900
wrobell wrob...@pld-linux.org added the comment:
A use case
wget -O http://planet.openstreetmap.org/planet-110112.osm.bz2 | tee
planet.bz2 | osm2sql | psql osm
planet-*osm.bz2 files are 14GB at the moment. it would be great to read them
from stdin while downloading from a server
wrobell wrob...@pld-linux.org added the comment:
OK! :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5863
___
___
Python-bugs-list mailing
wrobell wrob...@pld-linux.org added the comment:
will this patch support off_t for mmap.resize as well? ftruncate uses off_t
for the length of a file as well.
--
nosy: +wrobell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org
wrobell wrob...@pld-linux.org added the comment:
will this patch support off_t for mmap.resize as well?
ftruncate uses off_t for the length of a file as well.
No, it doesn't because resize() resizes the amount mmapped in memory
which can't be more than ssize_t anyway. However, resizing
wrobell wrob...@pld-linux.org added the comment:
Ross, you are completely right. thanks for the tips!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4681
wrobell wrob...@pld-linux.org added the comment:
it would be nice to have some short TOC at the beginning.
at the moment, one has to scroll through several pages of what's new in python
[23].[0-9] table of contents until he/she gets into tutorial.
--
nosy: +wrobell
New submission from wrobell:
Numeric type conversion does not always work when using SQLite module.
Let's assume schema:
create table test_num(no numeric);
Fetching a `test_num.no` table gives float by default.
Now, let's register some converter
sqlite3.register_converter('numeric
wrobell added the comment:
fair enough, but...
1. i really do not see that behaviour documented, i.e.
http://docs.python.org/lib/node347.html
says nothing about types being broken on space character.
2. i am bit missing the point about backward compability.
when looking
wrobell wrob...@pld-linux.org added the comment:
What is the current status of this patch? What is missing to apply it upstream?
--
nosy: +wrobell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1006238
wrobell wrob...@pld-linux.org added the comment:
Senthil,
I would be more than happy to do that but for Python 3.2 (or there is no chance
to backport it?). Python 3.3 is too far in time at the moment.
--
___
Python tracker rep...@bugs.python.org
Changes by wrobell wrob...@pld-linux.org:
--
nosy: +wrobell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1597850
___
___
Python-bugs-list mailing
Changes by wrobell wrob...@pld-linux.org:
--
nosy: +wrobell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3754
___
___
Python-bugs-list mailing
wrobell wrob...@pld-linux.org added the comment:
Hi Eric,
Good point. I was just about ask, which bug and patch are the primary ones? :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1006238
wrobell wrob...@pld-linux.org added the comment:
Would it be possible to get list of steps required to test this patch?
1. hg clone
2. copy config.sub and config.guess?
3. autoreconf
4. configure...
5. make
What else?
--
___
Python tracker rep
wrobell wrob...@pld-linux.org added the comment:
well, looking at the first comment, there is required more than simple read of
the manual (i.e. missing config.guess/config.sub).
is anything else missing or required?
--
___
Python tracker rep
wrobell wrob...@pld-linux.org added the comment:
as well, by default one experiences
checking for /dev/ptmx... not set
configure: error: set ac_cv_file__dev_ptmx to yes/no in your CONFIG_SITE file
when cross compiling
the workaround:
1. create config.site file with the following lines
wrobell wrob...@pld-linux.org added the comment:
next question. when starting compilation i am getting
In file included from Include/Python.h:50,
from ./Modules/python.c:3:
Include/pyport.h:257:13: error: #error This platform's pyconfig.h needs to
define PY_FORMAT_LONG_LONG
wrobell wrob...@pld-linux.org added the comment:
looking into configure.in the above fails due to following check
AC_MSG_CHECKING(for %lld and %llu printf() format support)
the check compiles and tries to _run_ a bit of software to determine lld/llu
support.
that of course fails (we
New submission from wrobell wrob...@pld-linux.org:
the table of contents in python documentation epub file is very very long. it
takes several long minutes to jump from first page to a part containing
language reference toc.
imho it would be great if first page of epub file contained pointers
wrobell wrob...@pld-linux.org added the comment:
is there a chance to fix this issue?
--
nosy: +wrobell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9338
New submission from wrobell wrob...@pld-linux.org:
it would be great if argparse allowed to specify options for multiple
positional arguments, i.e.
usage: ascript [-h] [-k value] input [[-k value] input ...] output
then
$ ascript pos1 pos2 -k 1 pos3 -k 2 pos4 pos5 pos6 out
would give
wrobell wrob...@pld-linux.org added the comment:
an example would be a pdf merger accepting multiple files and allowing to
specify list of pages for each input.
at the moment, you can do the following with argparse
pdfmerge [pages] input [[pages] input ...] output
of course, above
New submission from wrobell wrob...@pld-linux.org:
python documentation can be downloaded in pdf format (a4, us letter),
html and text plain. they are useful for printing and computer based
viewing, but not so good to read on ebook hardware/software
(i.e. sony prs-{505,700} or stanza ebook
wrobell wrob...@pld-linux.org added the comment:
probably sphinx/docutils deserve their own tickets, but appropriate
tools support will not guarantee, that documentation in epub format is
going to be published on
http://docs.python.org/download.html
if documentation won't be published
wrobell added the comment:
To add bit more context, there is a discussion about Python types and
annotation types, where suggestion of closing this bug has been raised
https://github.com/python/mypy/issues/9773
The discussion is about the need of distinction between Python types
wrobell added the comment:
Will it support Optional as well?
According to PEP-604, these two shall be equivalent (using Python 3.10 below)?
```
type(int | None)
types.UnionType
type(tp.Optional[int])
typing._UnionGenericAlias
```
Also, IMHO, the documentation of singledispatch should
28 matches
Mail list logo