Matti Mäki added the comment:
A second try, now taking into account buffer and offset params in pack_into.
--
Added file: http://bugs.python.org/file27689/issue14897-2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14897
New submission from Bbb:
When using map_async() my callbacks don't get called back. When using
apply_async() they do get called.
CODE:
from multiprocessing import Pool,TimeoutError
from time import sleep
servers=[s1,s2,s3,s4,s5,s6]
blah = no callback
def f(x):
print(start f( + x + ))
Mark Dickinson added the comment:
I can reproduce this on 3.2 (OS X). I'll take a look tonight.
--
assignee: - mark.dickinson
components: +Extension Modules
priority: normal - high
stage: - needs patch
___
Python tracker rep...@bugs.python.org
Changes by Mark Dickinson dicki...@gmail.com:
--
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16305
___
___
Janne Karila added the comment:
Indeed, the current implementation map_async simply ignores the callback
arguments:
def map_async(self, func, iterable, chunksize=None, callback=None,
error_callback=None):
'''
Asynchronous version of `map()` method.
'''
return
Serhiy Storchaka added the comment:
LGTM.
--
components: +Extension Modules
stage: - commit review
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14897
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10182
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2005
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2005
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6972
___
___
Janne Karila added the comment:
Here's a patch that adds the missing arguments to the call to _map_async.
The bug seems to originate from enhancement #12708 that added starmap_async to
3.3.
--
keywords: +patch
Added file: http://bugs.python.org/file27690/callback.patch
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: needs patch - commit review
type: - enhancement
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16053
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +needs review
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16102
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16228
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16230
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14625
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1470548
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15027
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15872
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15989
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14850
___
___
Andrew Svetlov added the comment:
Chris, agree with you.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16255
___
___
Python-bugs-list mailing
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: committed/rejected - commit review
versions: -Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15379
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13617
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13572
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9290
___
___
New submission from telmich:
Using argparse with subparsers, the default behaviour if no subparser was
selected, was to print help:
cdist% git describe
2.0.14-59-g5315c41
cdist% ./bin/cdist
usage: cdist [-h] [-d] [-v] [-V] {banner,config} ...
cdist: error: too few arguments
cdist% python3 -V
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - needs patch
type: behavior - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16240
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: test needed - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1776674
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16215
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16216
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: test needed - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1634034
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13451
___
___
Serhiy Storchaka added the comment:
Mark, can I help?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14700
___
___
Python-bugs-list mailing list
Changes by Serhiy Storchaka storch...@gmail.com:
--
keywords: +needs review
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15278
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15999
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16165
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15984
___
___
Serhiy Storchaka added the comment:
This is a bug of 2 - 3 transition.
--
type: - enhancement
versions: +Python 3.2, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15984
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - needs patch
type: - enhancement
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15436
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4997
___
___
Marek Šuppa added the comment:
Since there is probably a lot to work on here I'd also like to participate.
I've got one question though. In case these function don't return 0 and the
test fails what should happen then? What kind of error should be thrown for
let's say fseek() ?
--
Christian Heimes added the comment:
The functions should set an appropriate errno so it's
PyErr_SetFromErrno(PyExc_IOError). You should use the
PyErr_SetFromErrnoWithFilename*() variants when a file name (PyObject*, char*,
unicode) is available.
--
Marek Šuppa added the comment:
Thanks for a quick response.
Should we also test this somewhere?
Christian Heimes rep...@bugs.python.org wrote:
Christian Heimes added the comment:
The functions should set an appropriate errno so it's
PyErr_SetFromErrno(PyExc_IOError). You should use the
New submission from Armin Rigo:
On Posix, it is documented that setting PATH to the empty string is equivalent
to not setting PATH at all, which is an exception to the rule that in a string
like /bin::/usr/bin the empty string in the middle gets interpreted as ..
PYTHONPATH does not have this
Mark Dickinson added the comment:
Here's a patch.
--
keywords: +patch
stage: needs patch - commit review
Added file: http://bugs.python.org/file27691/fix_factorial_segfault.patch
___
Python tracker rep...@bugs.python.org
Trent Nelson added the comment:
On Mon, Oct 22, 2012 at 11:18:03AM -0700, Christian Heimes wrote:
Christian Heimes added the comment:
We don't have any box that is capable of running VMS. Even Trent's
Snakebit setup doesn't have VMS although he has lots of exotic
hardware and OS, even
Marek Šuppa added the comment:
Appended is the patch for _cursesmodule.c
Let me know if it's OK.
--
keywords: +patch
Added file: http://bugs.python.org/file27692/issue15948__cursesmodule.patch
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
Given how confusing it seems, perhaps we should change it to adopt a PATH-like
behaviour.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16309
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12886
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +hynek
stage: - patch review
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16307
___
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15111
___
___
Trent Nelson added the comment:
On Mon, Oct 22, 2012 at 05:51:23AM -0700, Giampaolo Rodola' wrote:
Giampaolo Rodola' added the comment:
This should do it:
diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py
--- a/Lib/test/test_asyncore.py
+++ b/Lib/test/test_asyncore.py
Richard Oudkerk added the comment:
A use case for not using fork() is when your parent process opens some
system resources of some sort (for example a listening TCP socket). The
child will then inherit those resources, which can have all kinds of
unforeseen and troublesome consequences
R. David Murray added the comment:
There was bug fixing/enhancement activity around subparsers, one of them
probably had an unexpected side effect for which there are currently no tests.
If you can figure out which change set introduced the change, that might speed
up resolution of the
Hynek Schlawack added the comment:
Could you add a test please? Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16307
___
___
R. David Murray added the comment:
Ah, good point. From what I understand, that's entirely possible on that
machine. Then the question becomes, do we want to support pre-2.4 for a
rebuild? The answer is almost certainly no, but that leaves the DMG builders
hosed.
Re-closing issue, as this
Trent Nelson added the comment:
On Sun, Oct 21, 2012 at 02:59:37PM -0700, R. David Murray wrote:
R. David Murray added the comment:
This change appears to have broken the dmg builders:
http://buildbot.python.org/all/builders/bolen-dmg-3.x/builds/19
New submission from Stefan Holek:
Please allow for surrogates in the zipfile module like it was done for tarfile
in #8390.
Currently zipfile breaks when encountering surrogates:
Traceback (most recent call last):
File /usr/local/python3.3/lib/python3.3/zipfile.py, line 392, in
Matthias Klose added the comment:
yes, the test checks with a recent version first, then the older ones. However
you can configure with PYTHON=python2.4 configure ... to overwrite these
defaults.
--
___
Python tracker rep...@bugs.python.org
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
Added file: http://bugs.python.org/file27693/b178bbafd564.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9556
___
Vinay Sajip added the comment:
Thanks for the comments on Rietveld - patch updated.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9556
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
type: - enhancement
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16310
___
R. David Murray added the comment:
Wait, does that mean you are explicitly supporting older Python versions? In
that case there's still a bug here (either fix the set, or don't accept
versions older than 2.4).
--
___
Python tracker
Serhiy Storchaka added the comment:
LGTM.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16305
___
___
Python-bugs-list
telmich added the comment:
Having a closer look at the changes using hg diff -r v3.2:v3.3.0
Lib/argparse.py, it seems the following removal could be related to the
different behaviour:
-# if we didn't use all the Positional objects, there were too few
-# arg strings supplied.
R. David Murray added the comment:
The problem you are reporting looks different than the problem addressed in
issue 8390. There, the surrogates are being introduced when reading filenames
from the archive file. Here, the surrogates presumably arose because the
filename on your file system
R. David Murray added the comment:
Thanks. I've put this on my todo list to look at this weekend during the bug
day.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16308
___
Changes by Ned Deily n...@acm.org:
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16262
___
___
Python-bugs-list mailing list
telmich added the comment:
Thanks a lot - let me know when I can help more.
After re-reading the documentation, I think the behaviour for subparsers is not
specified: It is not specified, whether a subparser is required to be present
or not.
Attached stripped down version of the cdist code
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8913
___
___
Python-bugs-list
telmich added the comment:
I've copy pasted the example from the documentation and added the following
lines to it (attached full file)
args = parser.parse_args('')
args.func(args)
Following the style / way show in the documentation, I'd expect this block to
work (3.2.2 behaviour). I do
telmich added the comment:
Assuming 3.3.0 behaviour is correct (as in no subparser specified, args.func
not setup), I'd expect to have setup a function on the main parser. Trying
this, it prevents the subparsers function from being completly:
[16:03] brief:~% python3 subparse3.py
Stefan Holek added the comment:
A little more context perhaps:
The use-case is building Python distributions containing non-ASCII filenames.
These seemingly invalid filenames can occur in real-life when the files have
been created by, say, a 'git clone' operation.
So yes, I have Latin-1
telmich added the comment:
Proposal / resume from the previous tests:
- add a parameter to add_subparsers(): required
If required=True, one of the subcommand names need to be present.
If required=False (default), allow parse_args() to return successfully, if
no subcommand is given.
-
R. David Murray added the comment:
How does all of this relate to issue 9253?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16308
___
___
R. David Murray added the comment:
I'm guessing that is because (if you read the issue) there are no specified
standards for the filenames in tar (other than PAX format). Although I would
personally have preferred to need to specify a yes really use these binary
filenames flag to tar, as
telmich added the comment:
Interesting! The issue 9523 has now somehow become obsolete,
as in 3.3.0 subcommands are de-facto optional, which is the problem I am facing.
Regarding my last comment, here are the relations:
- add a parameter to add_subparsers(): required
This is a similar
telmich added the comment:
s/9523/9253/g in my previous post
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16308
___
___
Python-bugs-list
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16278
___
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16310
___
Richard Oudkerk added the comment:
LGTM
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16284
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Richard Oudkerk shibt...@gmail.com:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16295
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16310
___
___
Python-bugs-list mailing
Petri Lehtinen added the comment:
Yeah, it seems that uid_t and gid_t can be signed or unsigned, while pid_t is
always signed.
Serhiy: What do you suggest?
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +loewis, serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16311
___
___
New submission from STINNER Victor:
Attached patch modifies text decoders to use the _PyUnicodeWriter API to
factorize the code. It removes unicode_widen() and unicode_putchar() functions.
* Don't overallocate by default (except for raw-unicode-escape codec),
enable overallocation on the
Serhiy Storchaka added the comment:
Previous patches contain redundant code, are not protected from all symlink
loops (link - link/x; dir/link - ../dir/link) and when a loop is detected the
returned result differs from the current one.
The proposed patch solves this issue and some others.
Changes by Richard Oudkerk shibt...@gmail.com:
--
nosy: +sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16307
___
___
Python-bugs-list mailing
Serhiy Storchaka added the comment:
Soon I'll post a patch, which speeds up unicode-escape and raw-unicode-escape
decoders to 1.5-3x. Also there are not yet reviewed patches for UTF-32
(issue14625) and charmap (issue14850) decoders. Will be merge conflicts.
But I will review the patch.
Raymond Hettinger added the comment:
This patch looks good. Ezio, if you agree, please apply it.
--
assignee: docs@python - ezio.melotti
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16210
New submission from Piotr Dobrogost:
When running tests bundled with a library it would be useful to be able to run
some initialization code before tests are being run so that one can configure
options pertaining to logging for example.
For this reason it would be useful to have a new command
Roundup Robot added the comment:
New changeset 6dde85f2e4af by Ezio Melotti in branch '2.7':
#16210: combine the two type() docs. Patch by Pete Sevander.
http://hg.python.org/cpython/rev/6dde85f2e4af
New changeset 997ab4f1530f by Ezio Melotti in branch '3.2':
#16210: combine the two type()
Ezio Melotti added the comment:
Done, thanks for the patch!
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16210
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
type: - enhancement
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15569
___
Serhiy Storchaka added the comment:
I suggest use PyLong_AsLongAndOverflow/PyLong_AsLongLongAndOverflow and then
PyLong_AsUnsignedLong/PyLong_AsUnsignedLongLong in case if positive overflow.
Perhaps you need also special converters for O format in PyArg_ParseTuple.
This issue is not as easy
Roundup Robot added the comment:
New changeset ad1cc596bedb by Ezio Melotti in branch '2.7':
#16303: remove extra quotes from exception and add (). Initial patch by
Vladimir Rutsky.
http://hg.python.org/cpython/rev/ad1cc596bedb
--
nosy: +python-dev
Ezio Melotti added the comment:
Fixed, thanks for the patch and the report!
--
assignee: - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
___
Python tracker
Serhiy Storchaka added the comment:
Of course PyLong_AsUnsignedLong* should be used only if the type is unsigned.
In such case any negative values except -1 are invalid.
--
keywords: -easy
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15916
___
___
1 - 100 of 139 matches
Mail list logo