anatoly techtonik [EMAIL PROTECTED] added the comment:
Any links to alpha code?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3341
___
___
Python-bugs-list
anatoly techtonik [EMAIL PROTECTED] added the comment:
This behavior is inherited from the C-level fopen() and therefore
normal text mode is whatever that defines.
Is this really nowhere documented?
Relation to fopen() function may be documented, but there is no
explanation of what normal
New submission from engelbert gruber [EMAIL PROTECTED]:
take the line from python-3
--
components: Library (Lib)
files: lib_unittest-r65058
messages: 69877
nosy: grubert
severity: normal
status: open
title: [PATCH] replace last has_key in unittest by in operator
type: behavior
versions:
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Selon Gregory P. Smith [EMAIL PROTECTED]:
To answer Antoine Pitrou's question about using the old ident vs the new
_get_ident(). I don't know if the forked process will have the same
thread id.
Then wouldn't it be safer to use
New submission from Robert Schuppenies [EMAIL PROTECTED]:
Idle does not use the 'line' argument for its showwarning function. This
results in the DeprecationWarning functions overriding
warnings.showwarning() must support the 'line' argument, or, when
called from within Idle TypeError:
Changes by Robert Schuppenies [EMAIL PROTECTED]:
Added file: http://bugs.python.org/file10927/verify.py
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3391
___
New submission from Mattias Engdegård [EMAIL PROTECTED]:
If the stdin/out file descriptors are too large to be used with
select(), subprocess will fail in .communicate(). Example:
# raise the fd limit to something like 2048 before running this
import subprocess
somefiles = [open(/etc/passwd)
Changes by Jeremy Hylton [EMAIL PROTECTED]:
--
assignee: - jhylton
nosy: +jhylton
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3377
___
___
Changes by David Goodger [EMAIL PROTECTED]:
Removed file: http://bugs.python.org/file10928/unnamed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3364
___
___
Antoine Pitrou [EMAIL PROTECTED] added the comment:
How about simply doing sys.path_importer_cache.clear() at the right
point in setup.py? I don't think the performance loss would be
overwhelming...
--
nosy: +pitrou
___
Python tracker [EMAIL
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Has a resolution been made on this?
--
nosy: +pitrou
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2690
___
Antoine Pitrou [EMAIL PROTECTED] added the comment:
If nobody objects I'll commit Alexandre's patch in a few days (after
beta 2 though).
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2523
___
Guido van Rossum [EMAIL PROTECTED] added the comment:
I've checked in a fix (r65063) that simply clear sys.path_importer_cache
right before the attempted import of the freshly-built extension. This
seems to work.
--
assignee: jnoller - gvanrossum
resolution: - fixed
status: open -
Changes by Mark Dickinson [EMAIL PROTECTED]:
--
assignee: - marketdickinson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3369
___
___
Trent Mick [EMAIL PROTECTED] added the comment:
Similar change in Mac/IDLE/Makefile.in:
-
--- python/trunk/Mac/IDLE/Makefile.in (original)
+++ python/trunk/Mac/IDLE/Makefile.in Thu Jun 5 14:58:24 2008
@@ -42,7 +42,7 @@
Trent Mick [EMAIL PROTECTED] added the comment:
Alternative potential solution: use the ARCHPREFERENCE environment
variable as described in the Mac OS X 10.5 arch man page. Ronald, if you
could test if that works for you on 10.5, then presumably setting that
environment var would be safely
Jesse Noller [EMAIL PROTECTED] added the comment:
To add to ben's comment, under py3k the third test hangs, if you pull
out the basic script code being executed in subprocess:
if 1:
import sys, os, time, threading
# a thread, which waits for the main program to terminate
Jesse Noller [EMAIL PROTECTED] added the comment:
Ben commented out the hanging test, lowering this from a release blocker
as the patch is on both trunk and 3k, and minus that third new test,
test_threading and test_multiprocessing are both passing
--
priority: release blocker -
Jesse Noller [EMAIL PROTECTED] added the comment:
Issue 874900's patch seems to have resolve the hangs. I am closing this
issue as fixed.
--
resolution: - fixed
status: open - closed
___
Python tracker [EMAIL PROTECTED]
J. Pablo Fernández [EMAIL PROTECTED] added the comment:
Added tests.
Added file: http://bugs.python.org/file10929/add_avoid_exit_option.diff
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3379
___
Eric Smith [EMAIL PROTECTED] added the comment:
Implemented for trunk in r65069; for py3k in r65073.
--
resolution: - accepted
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3382
New submission from Stephen Warren [EMAIL PROTECTED]:
Run the following Python script, on Unix/Linux:
==
import zipfile
z = zipfile.ZipFile('zipbad.zip', 'w')
z.writestr('filebad.txt', 'Some content')
z.close()
z = zipfile.ZipFile('zipgood.zip', 'w')
zi =
Stephen Warren [EMAIL PROTECTED] added the comment:
Oops. Forgot to set type field.
--
type: - behavior
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3394
___
Roman Petrichev [EMAIL PROTECTED] added the comment:
Senthil, please read the RFC3986 text, not only examples.
[Page 31] contains exact algorithm how to handle this case.
--cut--
if (R.path == ) then
T.path = Base.path;
if defined(R.query) then
T.query = R.query;
else
Eric Smith [EMAIL PROTECTED] added the comment:
Changes backed out, pending fixing on Windows.
--
resolution: accepted -
status: closed - open
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3382
Georg Brandl [EMAIL PROTECTED] added the comment:
I've backported the fix to the 2.5 branch. This will go live with the
release of 2.5.3.
For those who do not want to use the released documentation we do offer
the 2.6 documentation under development under http://docs.python.org/dev
-- it is
Antoine Pitrou [EMAIL PROTECTED] added the comment:
Here is a small script that shows various possibilities depending on how
object creation is done, and here is the output with the trunk:
rec1 stopped at 1000
rec2 stopped at 1000
rec3 stopped at 500
rec4 stopped at 334
rec5 stopped at 334
rec6
Changes by Antoine Pitrou [EMAIL PROTECTED]:
--
priority: - high
versions: +Python 3.0
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3373
___
___
New submission from Barry Alan Scott [EMAIL PROTECTED]:
$ sw_vers
ProductName:Mac OS X
ProductVersion: 10.4.11
BuildVersion: 8S165
./configure --enable-framework
make
...
make install
...
DYLD_FRAMEWORK_PATH=/Users/barry/Work/Python-3.0b1: ../python.exe
./scripts/BuildApplet.py \
Guilherme Polo [EMAIL PROTECTED] added the comment:
This is somewhat obscure to notice but the problem is towards that
getattr on attr_matches. For int specifically, it will try to get the
attribute '__abstractmethods__' (which is a member of int.__class__) and
will raise an AttributeError but
Benjamin Peterson [EMAIL PROTECTED] added the comment:
I assume this is only 3.0 beta 1. This has been fixed for beta 2.
--
nosy: +benjamin.peterson
resolution: - out of date
status: open - closed
___
Python tracker [EMAIL PROTECTED]
Benjamin Peterson [EMAIL PROTECTED] added the comment:
This is fixed in beta 2.
--
nosy: +benjamin.peterson
resolution: - out of date
status: open - closed
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3397
Barry Alan Scott [EMAIL PROTECTED] added the comment:
I don't see beta 2 on python.org or I'd have used it...
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3398
___
Benjamin Peterson [EMAIL PROTECTED] added the comment:
It's supposed to be release tonight. Sorry for the confusion. :)
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3398
___
Jose Antonio Martin H [EMAIL PROTECTED] added the comment:
I have the same problem, i have patched the file and now it works ok.
--
nosy: +jamartinh
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2234
Changes by Antoine Pitrou [EMAIL PROTECTED]:
--
keywords: +patch
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3390
___
___
Python-bugs-list mailing
New submission from Mark Dickinson [EMAIL PROTECTED]:
As of revision 65077 of the trunk, I'm getting errors in
test_multiprocessing that seem to point to memory corruption in object
allocation/deallocation. The failures are intermittent, and of a
similar nature to the errors I was seeing
New submission from Terry J. Reedy [EMAIL PROTECTED]:
dis / Python Bytecode Instructions is missing
UNPACK_EX
STORE_LOCALS
LOAD_BUILD_CLASS
MAKE_BYTES
which appear in dis.opname (3.0 version).
Suggestion: After entry for UNPACK_SEQUENCE(count), add
UNPACK_EX(bytepair)
Used for starred
Benjamin Peterson [EMAIL PROTECTED] added the comment:
LOAD_BUILD_CLASS is 3.0 only and I documented it.
--
nosy: +benjamin.peterson
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3400
___
Guilherme Polo [EMAIL PROTECTED] added the comment:
It would be more appropriate to properly use withdraw and deiconify
then. I'm attaching a patch that uses them.
--
keywords: +patch
Added file: http://bugs.python.org/file10931/issue_2638.diff
___
Mark Dickinson [EMAIL PROTECTED] added the comment:
And one more:
Failure 4:
test_make_pool (__main__.WithManagerTestPool) ... Assertion failed: (bp !=
NULL), function PyObject_Malloc, file Objects/obmalloc.c, line 746.
___
Python tracker [EMAIL PROTECTED]
Christopher Brannon [EMAIL PROTECTED] added the comment:
What value should the new archive entry's external_attr attribute have?
ZipFile.write sets it to the permissions of the file being archived, but
writestr is archiving a string, not a file. Setting it to 0600 lt;lt; 16
seems reasonable.
Martin v. Löwis [EMAIL PROTECTED] added the comment:
Terry, would you like to contribute a patch (even if only for the one
you understand)?
--
nosy: +loewis
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3400
Mark Dickinson [EMAIL PROTECTED] added the comment:
And another:
Failure 5:
test_notify (__main__.WithManagerTestCondition) ... Assertion failed:
(usable_arenas-freepools == NULL), function PyObject_Malloc, file
Objects/obmalloc.c, line 809.
ERROR
___
Jesse Noller [EMAIL PROTECTED] added the comment:
On Jul 17, 2008, at 6:22 PM, Mark Dickinson [EMAIL PROTECTED]
wrote:
New submission from Mark Dickinson [EMAIL PROTECTED]:
As of revision 65077 of the trunk, I'm getting errors in
test_multiprocessing that seem to point to memory
Mark Dickinson [EMAIL PROTECTED] added the comment:
LD_LIBRARY_PATH isn't set. gcc is the system gcc from Apple:
Macintosh-3:trunk dickinsm$ echo $LD_LIBRARY_PATH
Macintosh-3:trunk dickinsm$ which gcc
/usr/bin/gcc
Macintosh-3:trunk dickinsm$ gcc -v
Using built-in specs.
Target:
Georg Brandl [EMAIL PROTECTED] added the comment:
None yet. :(
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3341
___
___
Python-bugs-list mailing list
Gregory P. Smith [EMAIL PROTECTED] added the comment:
Jesse: thanks for doing the py3k merge.
Antoine: yeah it might be safer to use _get_ident() but since the
len(_active) == 1 assert is not firing we're probably fine as is.
A change to this that I was considering making to this code has been
New submission from Benjamin Peterson [EMAIL PROTECTED]:
The following errors pop up on the Windows trunk build bot because the
LIB environmental variable is unicode not str. This causes the
validation to fail.
Re-running test 'test_wsgiref' in verbose mode
testAbstractMethods
Changes by Benjamin Peterson [EMAIL PROTECTED]:
--
components: +Library (Lib)
priority: - high
type: - behavior
versions: +Python 2.6
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3401
___
Changes by Georg Brandl [EMAIL PROTECTED]:
--
assignee: - pje
nosy: +pje
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3401
___
___
Python-bugs-list
Jesse Noller [EMAIL PROTECTED] added the comment:
Can you try removing the --with-pydebug flag from configure and
running that way?
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3399
___
New submission from Benjamin Peterson [EMAIL PROTECTED]:
The 3.0 Solaris buildbot keeps hanging on test_nis.
--
components: Tests
messages: 69931
nosy: benjamin.peterson
priority: deferred blocker
severity: normal
status: open
title: test_nis is hanging on Solaris
type: behavior
Changes by Barry A. Warsaw [EMAIL PROTECTED]:
--
priority: deferred blocker - release blocker
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2235
___
Changes by Barry A. Warsaw [EMAIL PROTECTED]:
--
priority: deferred blocker - release blocker
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3231
___
Changes by Barry A. Warsaw [EMAIL PROTECTED]:
--
priority: deferred blocker - release blocker
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3131
___
Changes by Barry A. Warsaw [EMAIL PROTECTED]:
--
priority: deferred blocker - release blocker
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3139
___
Changes by Barry A. Warsaw [EMAIL PROTECTED]:
--
priority: deferred blocker - release blocker
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3352
___
Changes by Barry A. Warsaw [EMAIL PROTECTED]:
--
priority: deferred blocker - release blocker
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3402
___
Stephen Warren [EMAIL PROTECTED] added the comment:
I'd probably argue for at least 066016, if not 066616, since group
permissions are pretty typically set, but even 066616 would be OK,
since the umask on extraction would take away any permissions the
extracting user didn't want.
But, as long
Changes by Alexandr Zamaraev [EMAIL PROTECTED]:
--
nosy: +shura_zam
___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1432
___
___
Python-bugs-list mailing
Manuel Muradás [EMAIL PROTECTED] added the comment:
Oops, you are right. If that is the way we should handle this
regression, I could upload a patch. I also thought we could use
hasattr, but that means using getattr twice. Something like:
if word[:n] == attr and word != __builtins__ and
Ronald Oussoren [EMAIL PROTECTED] added the comment:
This patch is wrong, it drops the call to 'arch' entirely even when the
call is needed.
The suggestion for ARCHPREFERENCE won't work though, arch doesn't take
arguments at all on 10.4.
BTW. This is a duplicate of issue 3381, which
Ronald Oussoren [EMAIL PROTECTED] added the comment:
Whoops, issue 3393 is a duplicate of this issue and notes that
Mac/IDLE/Makefile.in is also affected.
I've fixed that makefile in r65091.
___
Python tracker [EMAIL PROTECTED]
64 matches
Mail list logo