Jyrki Wahlstedt jyrki.wahlst...@wahlstedt.fi added the comment:
Ok,
here's a bit of the missing information:
- as per the first message, I'm not using command line to build, I use MacPorts
(having been able to build 2.5, 2.6, and 3.1 with no problems)
- I checked some of internal workings (by
Adam Olsen rha...@gmail.com added the comment:
I don't have any direct opinions on this, as it is just a bandaid. fork, as
defined by POSIX, doesn't allow what we do with it, so we're reliant on great
deal of OS and library implementation details. The only portable and robust
solution would
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
-1 on multi-popping. The semantics aren't obvious -- is the order the same as
s[-n:] or the same as a [s.pop() for i in range(n)] ?
Also, this is an unnecessary extension of the list API, one that has not been
previously
Éric Araujo mer...@netwok.org added the comment:
Jan, new features don’t go in stable releases. Your patch targets 3.2 (see the
versions field at the top of the page).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue444582
Stefan Krah stefan-use...@bytereef.org added the comment:
ipatrol, thanks, I forgot to change ValueError. New patch attached.
--
Added file: http://bugs.python.org/file17959/vcvars4.diff
___
Python tracker rep...@bugs.python.org
anatoly techtonik techto...@gmail.com added the comment:
http://codereview.appspot.com/1774043
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8954
___
Changes by anatoly techtonik techto...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file17960/suffix.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8954
___
Georg Brandl ge...@python.org added the comment:
Did you test that patch? ISTM that it contains a syntax error:
+if not self.distribution.has_ext_modules()
+and not self.distribution.has_c_libraries():
--
___
Python tracker
New submission from Antoine Pitrou pit...@free.fr:
After a few keystrokes in the interactive interpreter, I got the
following traceback:
Traceback (most recent call last):
File Lib/idlelib/idle.py, line 11, in module
idlelib.PyShell.main()
File
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +kbk
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9231
___
___
Python-bugs-list mailing list
Michael Foord mich...@voidspace.org.uk added the comment:
I don't particularly mind what the fix is - but at the moment users can
download and install Python from a python.org installer and then have an
(apparently) non functioning IDLE and Tkinter.
At the very least we should advise users to
Ezio Melotti ezio.melo...@gmail.com added the comment:
Closing as duplicate of #1028 (and #6144, #6512, #7884, #6920, #6424, #5156).
--
nosy: +ezio.melotti
resolution: - duplicate
stage: needs patch - committed/rejected
status: open - closed
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
This has been reported in #9231 (and #6144, #6512, #7884, #6920, #6424, #5156)
too.
--
components: +IDLE
keywords: +needs review
stage: - patch review
versions: +Python 3.2 -Python 3.0
___
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: teoliphant - pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7696
___
___
Antoine Pitrou pit...@free.fr added the comment:
True, not all modules in 2.7 have converted to support the new buffer interface
(which memoryview() requires, as opposed to the old buffer interface used by
buffer()).
Unfortunately, it's probably too late to care about this now that the 2.7
Antoine Pitrou pit...@free.fr added the comment:
Oddly, at least with pybench, use of PREDICT(BINARY_SUBSCR) in
DUP_TOP_TWO seems to show an always right PREDICT as slower than
FAST_DISPATCH
The main point of computed gotos is to allow the CPU's branch predictor to
predict opcode pairs by
anatoly techtonik techto...@gmail.com added the comment:
reuploaded correct version to rietveld.
--
Added file: http://bugs.python.org/file17961/suffix.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8954
Changes by anatoly techtonik techto...@gmail.com:
Removed file: http://bugs.python.org/file17960/suffix.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8954
___
Antoine Pitrou pit...@free.fr added the comment:
Some comments on the patch:
- shouldn't getdir_id use os.path.normcase() rather than manually switch on
`windows`?
- the patch adds lots of names at the top-level which aren't part of the public
API (windows, getdir_id, defpath, defpath_ext).
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9230
___
___
Jan Killian jan.kill...@gmail.com added the comment:
@ Éric and Antoine: Thanks for the useful hints!
* PATH and PATHEXT are now evaluated when needed, not only on module init. The
rationale is, that the lib user may change them, eg. to include a directory
with additional commands.
* the
Changes by Jan Killian jan.kill...@gmail.com:
Added file: http://bugs.python.org/file17963/which.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue444582
___
Mihai Ibanescu mihai.ibane...@gmail.com added the comment:
Proposed patch attached.
--
keywords: +patch
Added file: http://bugs.python.org/file17964/_strptime.py.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6478
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +belopolsky, brett.cannon
versions: +Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8098
___
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
assignee: - belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6478
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8098
___
___
Python-bugs-list
Mark Lawrence breamore...@yahoo.co.uk added the comment:
Python cannot be installed on Vista in single user mode, this is a limitation
of Vista.
--
nosy: +BreamoreBoy
resolution: - invalid
status: open - closed
___
Python tracker
Mark Dickinson dicki...@gmail.com added the comment:
Applied in r82837. I'll open a separate issue for the trailing commas.
--
resolution: - accepted
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +pje
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8138
___
___
Python-bugs-list
New submission from Mark Dickinson dicki...@gmail.com:
Python's current grammar allows a trailing comma after the argument list in:
def f(a, b,):
pass
but not in
def f(*, a, b,):
pass
I propose allowing trailing commas in both situations.
See python-dev discussion starting at
Mark Lawrence breamore...@yahoo.co.uk added the comment:
Chui Tey does this issue still apply? If yes, could you please provide a patch
according to the guidelines here.
python.org/dev/patches
--
nosy: +BreamoreBoy
___
Python tracker
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1616125
___
___
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Thank you for the bug report and a patch.
This does look like a bug and proposed patch seems to be the simplest way to
fix it. It is unfortunate that the entire TimeRE cache needs to be
recalculated when only 'Z' entry
Reid Kleckner r...@mit.edu added the comment:
I completely agree, but the cat is out of the bag on this one. I don't see how
we could get rid of fork until Py4K, and even then I'm sure there will be
people who don't want to see it go, and I'd rather not spend my time arguing
this point.
The
Nick Coghlan ncogh...@gmail.com added the comment:
Interesting. Your example code doesn't run afoul of any of the don't do this
flags relating to import that I put into the threading docs, so it seems like a
fair complaint to me.
As Christian pointed out on c.l.p, the idea with this API is to
Mark Dickinson dicki...@gmail.com added the comment:
I think this can be closed. It should no longer be a problem in Python 2.7 or
Python 3.x, and there's a workaround (use protocol 1 or 2) for Python 2.6.
In theory, it *could* still be fixed for Python 2.6.6, but changing the pickle
output
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Composed before reading Nick's comment:
This issue is broader in scope than just the time module example that is given,
so I am not taking this over. With respect to datetime and time modules, there
are several related
Nick Coghlan ncogh...@gmail.com added the comment:
I'm curious - do the mod_wsgi problems go away if you arrange for the main
module to run with the import lock held? Or do they turn into deadlocks?
--
___
Python tracker rep...@bugs.python.org
Mark Dickinson dicki...@gmail.com added the comment:
However, here's a patch. I haven't tested it on Windows.
--
keywords: +patch
Added file: http://bugs.python.org/file17965/issue6290.patch
___
Python tracker rep...@bugs.python.org
Jack Diederich jackd...@gmail.com added the comment:
Can you check this on 3.1.2 or 3.2? There were a few bugfixes of the bytes
handling in that timeframe.
--
assignee: - jackdied
nosy: +jackdied
priority: high - normal
___
Python tracker
New submission from Fred L. Drake, Jr. fdr...@acm.org:
The json decoder doesn't pass tests when the C optimizations in the _json
module aren't available. The actual test failures appear fairly superficial,
but aren't the limit of the problems.
Empty objects are converted to empty lists
Mark Lawrence breamore...@yahoo.co.uk added the comment:
I get the same error on Windows for 3.1.2 as the OP did for 3.1.1.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7761
___
Fred L. Drake, Jr. fdr...@acm.org added the comment:
This lack of tests is an issue for Python 2.6 as well.
Issue 9233 might have been avoided were the pure-Python implementation tested.
--
nosy: +fdrake
versions: +Python 2.6
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +bob.ippolito, ezio.melotti
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9233
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5723
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
Amaury's suggestion sounds good to me.
--
nosy: +pitrou
status: pending - closed
superseder: - remove --with-wctype-functions configure option
___
Python tracker rep...@bugs.python.org
Stefan Krah stefan-use...@bytereef.org added the comment:
3.2 is affected as well.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7761
___
___
Antoine Pitrou pit...@free.fr added the comment:
Instead of being defined in _time.h, perhaps the new API function should be
provided by core Python? It would probably help in certain threading primitives.
--
nosy: +pitrou
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
Actually, there is a problem in Lock.acquire and RLock.acquire. If a signal
occurs and signal handling returns successfully, acquiring the lock will be
retried without decrementing the timeout first. Therefore, we may end up
waiting longer than
Mark Lawrence breamore...@yahoo.co.uk added the comment:
Andres, do you wish to provide more patches or can we close this issue?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4932
Antoine Pitrou pit...@free.fr added the comment:
I agree that errors while flushing stdout shouldn't be silenced but instead
reported (on stderr, obviously :-)). It is especially important when scripts
are used for data processing.
I'd like to have Guido's opinion, though.
--
nosy:
Mark Lawrence breamore...@yahoo.co.uk added the comment:
Raymond - can we close this ticket?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue849662
___
Mark Hammond mhamm...@users.sourceforge.net added the comment:
With the caveat that I haven't tested it (I'm currently traveling), the patch
looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8954
Gregory P. Smith g...@krypto.org added the comment:
Accepting that the timeout is not perfect in the face of signals as a caveat is
fine (document the possibility) and can be improved later.
--
___
Python tracker rep...@bugs.python.org
Fred L. Drake, Jr. fdr...@acm.org added the comment:
The attached test only fails for Python 2.7; removing Python 2.6 from this
issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9233
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Mon, Jul 12, 2010 at 12:07 PM, Antoine Pitrou rep...@bugs.python.org wrote:
..
Instead of being defined in _time.h, perhaps the new API function should be
provided by core Python?
This is an interesting idea, but
Antoine Pitrou pit...@free.fr added the comment:
Instead of being defined in _time.h, perhaps the new API function should be
provided by core Python?
This is an interesting idea, but proposed Py_gettimeofday inherits
float_time logic of falling back on ftime and then plain time in case
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Mon, Jul 12, 2010 at 1:06 PM, Antoine Pitrou rep...@bugs.python.org wrote:
..
Indeed, the GIL code would probably still use its own code paths.
However, other less sensitive code could rely on the new API. For
Greg Brockman g...@ksplice.com added the comment:
With pool.py:272 commented out, running about 50k iterations, I saw 4
tracebacks giving an exception on pool.py:152. So this seems to imply the race
does exist (i.e. that the thread is in _maintain_pool rather than time.sleep
when shutdown
Jesse Noller jnol...@gmail.com added the comment:
Thank you for doing that footwork Greg, it means a lot to me. I'm leaning
towards the patch to swallow the errors - I just wanted to ponder it just a
tiny bit longer before I pull the trigger.
--
Eli Bendersky eli...@gmail.com added the comment:
I agree with Terry's proposal. Here's a patch file for
Doc/reference/expressions.rst that implements the change.
--
Added file: http://bugs.python.org/file17967/issue9132.2.patch
___
Python tracker
John J Lee jj...@users.sourceforge.net added the comment:
This is a duplicate of issue3924
--
nosy: +jjlee
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8975
___
John J Lee jj...@users.sourceforge.net added the comment:
There is code in PyPI project mechanize that implements this feature. That
code is marked experimental though, due to lack of testing.
--
nosy: +jjlee
___
Python tracker
Eli Bendersky eli...@gmail.com added the comment:
Attaching a patch file for Lib/idlelib/IOBinding.py, diffed against the latest
SVN trunk.
--
keywords: +patch
nosy: +eli.bendersky
Added file: http://bugs.python.org/file17968/issue9122.1.patch
___
John J Lee jj...@users.sourceforge.net added the comment:
Is deprecation really necessary? lynx still uses that format. lynx doesn't
write the header that MozillaCookieJar insists on being present, but a trivial
subclass can read cookies files written by lynx.
--
Mark Dickinson dicki...@gmail.com added the comment:
Here's a patch. I've checked with PEP 306, but besides changing Grammar,
test_grammar.py and the parser module (which there's a separate issue open
for), I don't think any other changes are required.
--
keywords: +patch
Added file:
Andrew Farrell afarr...@mit.edu added the comment:
In the midst of installing from
http://www.python.org/ftp/python/2.7/Python-2.7.tgz
I get this same error on test_distutils when I run make test.
this is on debian lenny, amd64
distutils_test output:
Dave Malcolm dmalc...@redhat.com added the comment:
Attached is a patch against the py3k branch which implements this.
I've checked that it builds against openssl-0.9.8o.tar.gz,
openssl-1.0.0a.tar.gz, and against Fedora 12 and 13's heavily-patched
openssl-1.0.0. The bulk of my testing has
Mark Dickinson dicki...@gmail.com added the comment:
Assigning back to Alexander; sorry I haven't had time to look at this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9079
___
Mark Dickinson dicki...@gmail.com added the comment:
And I see that test_float is passing again. Thanks, Matthias!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9215
___
Changes by Raymond Hettinger rhettin...@users.sourceforge.net:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue849662
___
Terry J. Reedy tjre...@udel.edu added the comment:
Looks good to me. Thanks Eli.
--
stage: needs patch - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9132
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9222
___
___
Python-bugs-list
Ezio Melotti ezio.melo...@gmail.com added the comment:
Thanks for the report, fixed in r82839 (py3k), r82840 (release27-maint), and
r82841 (release31-maint).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6026
Ask Solem a...@opera.com added the comment:
termination.patch, in the result handler you've added:
while cache and thread._state != TERMINATE and not failed
why are you terminating the second pass after finding a failed process?
Unpickleable errors and other errors occurring in the worker
New submission from Adrian Sampson asamp...@cs.washington.edu:
The argparse module supports subparsers, which allow CLI tools to support
invocation of subcommands (much like the svn or hg programs). For these
subcommands, it is often useful to allow multiple names for the same command.
For
Antoine Pitrou pit...@free.fr added the comment:
Craig, thanks for pointing it out. I've committed a patch to fix the doc. It
should probably appear online soon.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7696
Andrew Farrell afarr...@mit.edu added the comment:
The attempt to install setuptools indicates that zlib may actually be required
it seems.
I download setuptools-0.6c11-py2.7.egg from
http://pypi.python.org/pypi/setuptools
and, as instructed at http://pypi.python.org/pypi/setuptools#id4
and
Derek Morr derekm...@psu.edu added the comment:
I'm not sure how to best write a unit test for this. The patch should only be
invoked if the client doesn't have a name-served hostname and has IPv6 enabled.
Also, there are several IPv4-isms in the smtplib tests.
--
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - cookielib chokes on non-integer cookie version, should ignore
it instead
type: crash - behavior
___
Python
Changes by Mark Dickinson dicki...@gmail.com:
--
assignee: mark.dickinson - belopolsky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9079
___
___
New submission from Yaroslav Halchenko yarikop...@gmail.com:
as you can see from below, sys. is used, but never imported (besides a
docstring)
$ git describe
upstream/0.5.0.dev-875-gf06319e
$ grep -5 'sys' /home/yoh/proj/misc/python/Tools/gdb/libpython.py
During development, I've been
Yaroslav Halchenko yarikop...@gmail.com added the comment:
sorry -- git describe was by mistake in there... report is based on SVN
revision 82502
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9235
Greg Brockman g...@ksplice.com added the comment:
Thanks much for taking a look at this!
why are you terminating the second pass after finding a failed
process?
Unfortunately, if you've lost a worker, you are no longer guaranteed that cache
will eventually be empty. In particular, you may
Giampaolo Rodola' g.rod...@gmail.com added the comment:
You might want to take a look at Lib/test/test_ftplib.py which contains IPv6
tests including the necessary logic to decide whether or not running them.
--
___
Python tracker
Andrew Farrell afarr...@mit.edu added the comment:
No dice. unless I'm mistaken, this needs to be included in the distribution.
My current best solution looks like finding the source to
zlib, putting it in my path to install setuptools.
then installing zlib properly
traceback for your
Jesse Noller jnol...@gmail.com added the comment:
Greg - I asked Ask to take a look - his celery package is a huge consumer of
multiprocessing, and so I tend to run things past him as well.
That said - to both of you - the fundamental problem the shutdown patch is
trying to scratch is
New submission from Stefan Krah stefan-use...@bytereef.org:
In test_bytes Valgrind finds two reads with negative array indices.
test_bytes
==7341== Invalid read of size 1
==7341==at 0x4EDA24: fastsearch (fastsearch.h:143)
==7341==by 0x4F170E: bytearray_find_internal (find.h:42)
Changes by Dave Malcolm dmalc...@redhat.com:
--
nosy: +dmalcolm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9235
___
___
Python-bugs-list
Andrew Farrell afarr...@mit.edu added the comment:
Apologies. Error on my part.
For those that run into the same problem:
Though zlib is installed on an earlier version of python,
you need to have (ob debian) the package zlib1g-dev installed
when you build python.
--
Ask Solem a...@opera.com added the comment:
Unfortunately, if you've lost a worker, you are no
longer guaranteed that cache will eventually be empty.
In particular, you may have lost a task, which could
result in an ApplyResult waiting forever for a _set call.
More generally, my chief
Nick Coghlan ncogh...@gmail.com added the comment:
I take it the AST generation just throws the extra comma away? You're sure this
doesn't upset any of the node counts in that stage of the compiler?
--
nosy: +ncoghlan
___
Python tracker
Changes by Stefan Krah stefan-use...@bytereef.org:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9236
___
___
Python-bugs-list
Barry A. Warsaw ba...@python.org added the comment:
Actually, the changes to distutils are not strictly necessary for PEP 3149
implementation (what the PEP-in-progress will be numbered). Once PEP 384 is
implemented, it might be useful, but OTOH there might be a better way to
support that.
New submission from rocky bernstein ro...@gnu.org:
sys.call_tracing doesn't appear in Python documents and I think it should. For
a start, one could use the docstring from sysmodule.c:
call_tracing(func, args) - object
Call func(*args), while tracing is enabled. The tracing state is saved,
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
This option would be more useful if it became an optional argument to the
help() function. For someone working at the python command line prompt, having
to switch to pydoc to see private method documentation may be
New submission from Ryan Kelly r...@rfk.id.au:
The zipfile module is prominently documented as This module does not currently
handle...ZIP files which have appended comments. But as far as I can tell, it
handles them fine - there's even a comment property on the ZipFile object
that you can
Joe Neeman joenee...@gmail.com added the comment:
It's still an issue in Python 2.6.5 as packaged by openSUSE 11.2.
--
nosy: +Joe.Neeman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3290
New submission from Ryan Kelly r...@rfk.id.au:
If you open a ZipFile in append mode and modify the comment to be shorter than
what was originally there, the file will become corrupted. Truncated data from
the original comment is left dangling at the end of the zipfile.
A much more trivial
New submission from Diego Jacobi jacobidi...@gmail.com:
Hi.
I am not a python expert and i was trying to reduce this next code:
data = []
i = 0
for j in range(packetlen+1):
print i, self.channels_in[ channels[i] ]
data.append( self.channels_in[
1 - 100 of 114 matches
Mail list logo