Python-Dev
Threads by month
- ----- 2024 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1999 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
November 2007
- 77 participants
- 93 discussions
22 Nov '07
At 01:41 AM 11/22/2007 +0100, Amaury Forgeot d'Arc wrote:
>Could we check for "real" inheritance first, and call
>__instancecheck__ only when the previous is false? It would speed-up
>the common cases.
+1.
>Or is there really a use case for a derived class to appear as NOT
>being a subclass of its base class?
The only reason to do this would be to work around badly written
code, but IMO the cure is worse than the disease at that point.
The lookup sequence should probably be something like:
1. type(ob) is cls
2. issubclass(type(ob), cls)
3. ob.__class__ is cls
4. issubclass(ob.__class__, cls)
5. ob.__instancecheck__(cls)
Where issubclass() checks __mro__ before calling the subclass check
method, and #3 and #4 can be skipped if ob.__class__ is type(ob).
2
2
ACTIVITY SUMMARY (11/14/07 - 11/21/07)
Tracker at http://bugs.python.org/
To view or respond to any of the issues listed below, click on the issue
number. Do NOT respond to this message.
1328 open (+20) / 11638 closed (+21) / 12966 total (+41)
Open issues with patches: 418
Average duration of open issues: 693 days.
Median duration of open issues: 806 days.
Open Issues Breakdown
open 1322 (+19)
pending 6 ( +1)
Issues Created Or Reopened (42)
_______________________________
Magic class member variable initialization with lists 11/14/07
CLOSED http://bugs.python.org/issue1443 created neoone
utf_8_sig streamreader bug, patch, and test 11/15/07
CLOSED http://bugs.python.org/issue1444 created jgsack
patch
SystemError accessing uninitialised cell contents 11/15/07
http://bugs.python.org/issue1445 created duncanb
Link to call me for free 11/15/07
CLOSED http://bugs.python.org/issue1446 created gopiyadav26
patch to make msvccompiler.py work with vs 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1447 created weck
patch
Build Python with VS 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1448 created weck
patch
make msi work the vs 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1449 created weck
patch
make modulator more general 11/15/07
http://bugs.python.org/issue1450 created weck
patch
SSL patch for Python 3000 11/15/07
CLOSED http://bugs.python.org/issue1451 created janssen
py3k, patch
subprocess's popen.stdout.seek(0) doesn't raise an error 11/16/07
http://bugs.python.org/issue1452 created tiran
py3k
Python does not honor "CFLAGS" environment variable 11/16/07
CLOSED http://bugs.python.org/issue1453 created tebeka
Generators break trace functionality 11/17/07
CLOSED http://bugs.python.org/issue1454 created cortesi
VS2008, quick hack for distutils.msvccompiler 11/17/07
http://bugs.python.org/issue1455 created tiran
py3k, patch
unexpected iterator behavior with removal 11/18/07
CLOSED http://bugs.python.org/issue1456 created JosephArmbruster
IDLE - configDialog - new layout for key config 11/18/07
http://bugs.python.org/issue1457 created taleinat
installer crashes on attempted cancellation 11/18/07
http://bugs.python.org/issue1458 created JosephArmbruster
Bugs lost on migration from Sourceforge 11/18/07
CLOSED http://bugs.python.org/issue1459 created gagenellina
codecs utf7 decoding error 11/19/07
CLOSED http://bugs.python.org/issue1460 created arnimar
0**0 should raise an error 11/19/07
CLOSED http://bugs.python.org/issue1461 created jmgillet
About this document refers to SourceForge tracker 11/19/07
CLOSED http://bugs.python.org/issue1462 created kjohnson
Minor error in mimetypes docs 11/19/07
CLOSED http://bugs.python.org/issue1463 created kjohnson
inet_pton redefined while building with windows SDK 6.0 11/19/07
CLOSED http://bugs.python.org/issue1464 created weck
py3k, patch
building python 2.6 with VC Express 2008 Beta2 11/19/07
http://bugs.python.org/issue1465 created weck
patch
Special reporting of NotImplementedError in unittest 11/19/07
CLOSED http://bugs.python.org/issue1466 created erik_andersen
error in TestResult.addError and TestResult.addFailure 11/19/07
http://bugs.python.org/issue1467 created draghuram
MSI installer does not include SSL test .pem files 11/19/07
http://bugs.python.org/issue1468 created pmoore
SSL tests leak memory 11/19/07
http://bugs.python.org/issue1469 created janssen
py3k
py3k unit tests are removing %TEMP% dir on Windows 11/20/07
CLOSED http://bugs.python.org/issue1470 created tiran
py3k
ioctl doesn't work properly on 64-bit OpenBSD 11/20/07
http://bugs.python.org/issue1471 created fbvortex
Small bat files to build docs on Windows 11/20/07
http://bugs.python.org/issue1472 created tiran
py3k, patch
Drop _EXPORTS macros in PCbuild9 11/20/07
CLOSED http://bugs.python.org/issue1473 created loewis
py3k
PCbuild9 patch for trunk 11/20/07
http://bugs.python.org/issue1474 created tiran
patch
test_popen fails when the directory contains a space 11/20/07
http://bugs.python.org/issue1475 created tiran
py3k
missing debug configuration for make_versioninfo.vcproj 11/20/07
CLOSED http://bugs.python.org/issue1476 created JosephArmbruster
UnicodeDecodeError that cannot be caught in narrow unicode build 11/20/07
http://bugs.python.org/issue1477 created sbp
pythoncore.vcproj fails to generate buildinfo (when spaces in pa 11/21/07
CLOSED http://bugs.python.org/issue1478 created JosephArmbruster
py3k, patch
csv module is leaking references 11/21/07
http://bugs.python.org/issue1479 created tiran
py3k
sqlite module is leaking lots of references 11/21/07
http://bugs.python.org/issue1480 created tiran
py3k
test_uuid is warning about unreliable functions 11/21/07
http://bugs.python.org/issue1481 created tiran
py3k
IMAP4 SSL isn't working 11/21/07
http://bugs.python.org/issue1482 created tiran
py3k
xml.sax.saxutils.prepare_input_source ignores character stream i 11/21/07
http://bugs.python.org/issue1483 created ygale
Add a -z interpreter flag to execute a zip file 11/19/07
CLOSED http://bugs.python.org/issue1739468 reopened ncoghlan
patch
Issues Now Closed (43)
______________________
pyexpat.XMParserType broken (was: pydoc doesn't work on pyexpat) 87 days
http://bugs.python.org/issue1020 tiran
py3k
Parsing a simple script eats all of your memory 68 days
http://bugs.python.org/issue1134 amaury.forgeotdarc
py3k, patch
parsermodule validation out of sync with Grammar 65 days
http://bugs.python.org/issue1144 gvanrossum
patch
os.system() encoding bug on Windows 57 days
http://bugs.python.org/issue1193 amaury.forgeotdarc
py3k
string find and rfind methods give a TypeError that is misleadin 37 days
http://bugs.python.org/issue1259 facundobatista
PCBuild8 Solution Support Changes 27 days
http://bugs.python.org/issue1320 tiran
windows installer problem 20 days
http://bugs.python.org/issue1354 loewis
zlibmodule.c: int overflow in PyZlib_decompress 19 days
http://bugs.python.org/issue1372 tiran
patch, 64bit
fromfd() and dup() for _socket on WIndows 12 days
http://bugs.python.org/issue1378 gvanrossum
patch
py3k: duplicated line endings when using read(1) 14 days
http://bugs.python.org/issue1395 amaury.forgeotdarc
py3k
py_compile and compileall need unit tests 13 days
http://bugs.python.org/issue1403 tiran
py3k
Weakref not working properly 5 days
http://bugs.python.org/issue1417 MHOOO
pth files not loaded at startup 4 days
http://bugs.python.org/issue1431 brett.cannon
patch
marshal roundtripping for unicode 3 days
http://bugs.python.org/issue1433 lemburg
logging.config.fileConfig, NameError: name 'RotatingFileHandler' 7 days
http://bugs.python.org/issue1436 vsajip
proposed 3000 patch for socket.py - "socket GC worries" 1 days
http://bugs.python.org/issue1439 janssen
py3k, patch
Checks for PySys_GetObject("std???") == Py_None 1 days
http://bugs.python.org/issue1440 tiran
py3k, patch
Magic class member variable initialization with lists 0 days
http://bugs.python.org/issue1443 gvanrossum
utf_8_sig streamreader bug, patch, and test 4 days
http://bugs.python.org/issue1444 doerwalter
patch
Link to call me for free 0 days
http://bugs.python.org/issue1446 georg.brandl
patch to make msvccompiler.py work with vs 2005(MSVC8) 0 days
http://bugs.python.org/issue1447 loewis
patch
Build Python with VS 2005(MSVC8) 0 days
http://bugs.python.org/issue1448 loewis
patch
make msi work the vs 2005(MSVC8) 3 days
http://bugs.python.org/issue1449 tiran
patch
SSL patch for Python 3000 0 days
http://bugs.python.org/issue1451 janssen
py3k, patch
Python does not honor "CFLAGS" environment variable 0 days
http://bugs.python.org/issue1453 loewis
Generators break trace functionality 1 days
http://bugs.python.org/issue1454 gvanrossum
unexpected iterator behavior with removal 0 days
http://bugs.python.org/issue1456 tiran
Bugs lost on migration from Sourceforge 0 days
http://bugs.python.org/issue1459 brett.cannon
codecs utf7 decoding error 2 days
http://bugs.python.org/issue1460 amaury.forgeotdarc
0**0 should raise an error 0 days
http://bugs.python.org/issue1461 gvanrossum
About this document refers to SourceForge tracker 0 days
http://bugs.python.org/issue1462 brett.cannon
Minor error in mimetypes docs 0 days
http://bugs.python.org/issue1463 facundobatista
inet_pton redefined while building with windows SDK 6.0 1 days
http://bugs.python.org/issue1464 tiran
py3k, patch
Special reporting of NotImplementedError in unittest 0 days
http://bugs.python.org/issue1466 erik_andersen
py3k unit tests are removing %TEMP% dir on Windows 0 days
http://bugs.python.org/issue1470 tiran
py3k
Drop _EXPORTS macros in PCbuild9 1 days
http://bugs.python.org/issue1473 tiran
py3k
missing debug configuration for make_versioninfo.vcproj 0 days
http://bugs.python.org/issue1476 tiran
pythoncore.vcproj fails to generate buildinfo (when spaces in pa 0 days
http://bugs.python.org/issue1478 tiran
py3k, patch
C3 MRO algorithm implementation 1865 days
http://bugs.python.org/issue619475 gvanrossum
patch
Use correct encoding for printing SyntaxErrors 1151 days
http://bugs.python.org/issue1031213 gvanrossum
patch
recursive __getattr__ in thread crashes 641 days
http://bugs.python.org/issue1430436 brett.cannon
Remove backslash escapes from tokenize.c. 183 days
http://bugs.python.org/issue1720390 gvanrossum
py3k, patch
Add a -z interpreter flag to execute a zip file 0 days
http://bugs.python.org/issue1739468 gvanrossum
patch
Top Issues Most Discussed (10)
______________________________
26 fromfd() and dup() for _socket on WIndows 12 days
closed http://bugs.python.org/issue1378
9 Add a -z interpreter flag to execute a zip file 0 days
closed http://bugs.python.org/issue1739468
9 VS2008, quick hack for distutils.msvccompiler 4 days
open http://bugs.python.org/issue1455
9 SSL patch for Python 3000 0 days
closed http://bugs.python.org/issue1451
8 Special reporting of NotImplementedError in unittest 0 days
closed http://bugs.python.org/issue1466
8 make msi work the vs 2005(MSVC8) 3 days
closed http://bugs.python.org/issue1449
7 Python does not honor "CFLAGS" environment variable 0 days
closed http://bugs.python.org/issue1453
6 building python 2.6 with VC Express 2008 Beta2 2 days
open http://bugs.python.org/issue1465
5 test_popen fails when the directory contains a space 1 days
open http://bugs.python.org/issue1475
5 proposed 3000 patch for socket.py - "socket GC worries" 1 days
closed http://bugs.python.org/issue1439
1
0
Sir,
I am a computer science student studying in India. I have maintained a good
academic record throughtout my engineering. I would like to associate myself
with GOOGLE. I will be glad if you let me know how to apply for GOOGLE
INTERSHIP.. given a chance i would prove to be an asset to your
firm.Yourhelp might provide a new dimension to my career. Please help.
Thank you
--
SILKY SINGH
2
1
ACTIVITY SUMMARY (11/13/07 - 11/20/07)
Tracker at http://bugs.python.org/
To view or respond to any of the issues listed below, click on the issue
number. Do NOT respond to this message.
1328 open (+20) / 11630 closed (+18) / 12958 total (+38)
Open issues with patches: 419
Average duration of open issues: 692 days.
Median duration of open issues: 805 days.
Open Issues Breakdown
open 1322 (+19)
pending 6 ( +1)
Issues Created Or Reopened (39)
_______________________________
Calling base class methods is slow due to __instancecheck__ over 11/13/07
http://bugs.python.org/issue1438 created gvanrossum
py3k
proposed 3000 patch for socket.py - "socket GC worries" 11/13/07
CLOSED http://bugs.python.org/issue1439 created janssen
py3k, patch
Checks for PySys_GetObject("std???") == Py_None 11/14/07
CLOSED http://bugs.python.org/issue1440 created tiran
py3k, patch
Cycles through ob_type aren't freed 11/14/07
http://bugs.python.org/issue1441 created rhamphoryncus
pythonstartup addition of minor error checking 11/14/07
http://bugs.python.org/issue1442 created JosephArmbruster
patch
Magic class member variable initialization with lists 11/14/07
CLOSED http://bugs.python.org/issue1443 created neoone
utf_8_sig streamreader bug, patch, and test 11/15/07
CLOSED http://bugs.python.org/issue1444 created jgsack
patch
SystemError accessing uninitialised cell contents 11/15/07
http://bugs.python.org/issue1445 created duncanb
Link to call me for free 11/15/07
CLOSED http://bugs.python.org/issue1446 created gopiyadav26
patch to make msvccompiler.py work with vs 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1447 created weck
patch
Build Python with VS 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1448 created weck
patch
make msi work the vs 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1449 created weck
patch
make modulator more general 11/15/07
http://bugs.python.org/issue1450 created weck
patch
SSL patch for Python 3000 11/15/07
CLOSED http://bugs.python.org/issue1451 created janssen
py3k, patch
subprocess's popen.stdout.seek(0) doesn't raise an error 11/16/07
http://bugs.python.org/issue1452 created tiran
py3k
Python does not honor "CFLAGS" environment variable 11/16/07
CLOSED http://bugs.python.org/issue1453 created tebeka
Generators break trace functionality 11/17/07
CLOSED http://bugs.python.org/issue1454 created cortesi
VS2008, quick hack for distutils.msvccompiler 11/17/07
http://bugs.python.org/issue1455 created tiran
py3k, patch
unexpected iterator behavior with removal 11/18/07
CLOSED http://bugs.python.org/issue1456 created JosephArmbruster
IDLE - configDialog - new layout for key config 11/18/07
http://bugs.python.org/issue1457 created taleinat
installer crashes on attempted cancellation 11/18/07
http://bugs.python.org/issue1458 created JosephArmbruster
Bugs lost on migration from Sourceforge 11/18/07
CLOSED http://bugs.python.org/issue1459 created gagenellina
codecs utf7 decoding error 11/19/07
http://bugs.python.org/issue1460 created arnimar
0**0 should raise an error 11/19/07
CLOSED http://bugs.python.org/issue1461 created jmgillet
About this document refers to SourceForge tracker 11/19/07
CLOSED http://bugs.python.org/issue1462 created kjohnson
Minor error in mimetypes docs 11/19/07
CLOSED http://bugs.python.org/issue1463 created kjohnson
inet_pton redefined while building with windows SDK 6.0 11/19/07
http://bugs.python.org/issue1464 created weck
py3k, patch
building python 2.6 with VC Express 2008 Beta2 11/19/07
http://bugs.python.org/issue1465 created weck
patch
Special reporting of NotImplementedError in unittest 11/19/07
CLOSED http://bugs.python.org/issue1466 created erik_andersen
error in TestResult.addError and TestResult.addFailure 11/19/07
http://bugs.python.org/issue1467 created draghuram
MSI installer does not include SSL test .pem files 11/19/07
http://bugs.python.org/issue1468 created pmoore
SSL tests leak memory 11/19/07
http://bugs.python.org/issue1469 created janssen
py3k
py3k unit tests are removing %TEMP% dir on Windows 11/20/07
CLOSED http://bugs.python.org/issue1470 created tiran
py3k
ioctl doesn't work properly on 64-bit OpenBSD 11/20/07
http://bugs.python.org/issue1471 created fbvortex
Small bat files to build docs on Windows 11/20/07
http://bugs.python.org/issue1472 created tiran
py3k, patch
Drop _EXPORTS macros in PCbuild9 11/20/07
http://bugs.python.org/issue1473 created loewis
py3k
PCbuild9 patch for trunk 11/20/07
http://bugs.python.org/issue1474 created tiran
patch
test_popen fails when the directory contains a space 11/20/07
http://bugs.python.org/issue1475 created tiran
py3k
Add a -z interpreter flag to execute a zip file 11/19/07
CLOSED http://bugs.python.org/issue1739468 reopened ncoghlan
patch
Issues Now Closed (36)
______________________
Parsing a simple script eats all of your memory 68 days
http://bugs.python.org/issue1134 amaury.forgeotdarc
py3k, patch
parsermodule validation out of sync with Grammar 65 days
http://bugs.python.org/issue1144 gvanrossum
patch
os.system() encoding bug on Windows 57 days
http://bugs.python.org/issue1193 amaury.forgeotdarc
py3k
string find and rfind methods give a TypeError that is misleadin 37 days
http://bugs.python.org/issue1259 facundobatista
PCBuild8 Solution Support Changes 27 days
http://bugs.python.org/issue1320 tiran
windows installer problem 20 days
http://bugs.python.org/issue1354 loewis
fromfd() and dup() for _socket on WIndows 12 days
http://bugs.python.org/issue1378 gvanrossum
patch
py3k: duplicated line endings when using read(1) 14 days
http://bugs.python.org/issue1395 amaury.forgeotdarc
py3k
Weakref not working properly 5 days
http://bugs.python.org/issue1417 MHOOO
pth files not loaded at startup 4 days
http://bugs.python.org/issue1431 brett.cannon
patch
marshal roundtripping for unicode 3 days
http://bugs.python.org/issue1433 lemburg
Support for multiple handlers for the "with" statement 0 days
http://bugs.python.org/issue1435 gvanrossum
logging.config.fileConfig, NameError: name 'RotatingFileHandler' 7 days
http://bugs.python.org/issue1436 sebastian
proposed 3000 patch for socket.py - "socket GC worries" 1 days
http://bugs.python.org/issue1439 janssen
py3k, patch
Checks for PySys_GetObject("std???") == Py_None 1 days
http://bugs.python.org/issue1440 tiran
py3k, patch
Magic class member variable initialization with lists 0 days
http://bugs.python.org/issue1443 gvanrossum
utf_8_sig streamreader bug, patch, and test 4 days
http://bugs.python.org/issue1444 doerwalter
patch
Link to call me for free 0 days
http://bugs.python.org/issue1446 georg.brandl
patch to make msvccompiler.py work with vs 2005(MSVC8) 0 days
http://bugs.python.org/issue1447 loewis
patch
Build Python with VS 2005(MSVC8) 0 days
http://bugs.python.org/issue1448 loewis
patch
make msi work the vs 2005(MSVC8) 3 days
http://bugs.python.org/issue1449 tiran
patch
SSL patch for Python 3000 0 days
http://bugs.python.org/issue1451 janssen
py3k, patch
Python does not honor "CFLAGS" environment variable 0 days
http://bugs.python.org/issue1453 loewis
Generators break trace functionality 1 days
http://bugs.python.org/issue1454 gvanrossum
unexpected iterator behavior with removal 0 days
http://bugs.python.org/issue1456 tiran
Bugs lost on migration from Sourceforge 0 days
http://bugs.python.org/issue1459 brett.cannon
0**0 should raise an error 0 days
http://bugs.python.org/issue1461 gvanrossum
About this document refers to SourceForge tracker 0 days
http://bugs.python.org/issue1462 brett.cannon
Minor error in mimetypes docs 0 days
http://bugs.python.org/issue1463 facundobatista
Special reporting of NotImplementedError in unittest 0 days
http://bugs.python.org/issue1466 erik_andersen
py3k unit tests are removing %TEMP% dir on Windows 0 days
http://bugs.python.org/issue1470 tiran
py3k
C3 MRO algorithm implementation 1865 days
http://bugs.python.org/issue619475 gvanrossum
patch
Use correct encoding for printing SyntaxErrors 1151 days
http://bugs.python.org/issue1031213 gvanrossum
patch
recursive __getattr__ in thread crashes 641 days
http://bugs.python.org/issue1430436 brett.cannon
Remove backslash escapes from tokenize.c. 183 days
http://bugs.python.org/issue1720390 gvanrossum
py3k, patch
Add a -z interpreter flag to execute a zip file 0 days
http://bugs.python.org/issue1739468 gvanrossum
patch
Top Issues Most Discussed (10)
______________________________
26 fromfd() and dup() for _socket on WIndows 12 days
closed http://bugs.python.org/issue1378
9 Add a -z interpreter flag to execute a zip file 0 days
closed http://bugs.python.org/issue1739468
9 SSL patch for Python 3000 0 days
closed http://bugs.python.org/issue1451
9 Parsing a simple script eats all of your memory 68 days
closed http://bugs.python.org/issue1134
8 Special reporting of NotImplementedError in unittest 0 days
closed http://bugs.python.org/issue1466
8 VS2008, quick hack for distutils.msvccompiler 3 days
open http://bugs.python.org/issue1455
8 make msi work the vs 2005(MSVC8) 3 days
closed http://bugs.python.org/issue1449
7 Python does not honor "CFLAGS" environment variable 0 days
closed http://bugs.python.org/issue1453
6 building python 2.6 with VC Express 2008 Beta2 1 days
open http://bugs.python.org/issue1465
5 Checks for PySys_GetObject("std???") == Py_None 1 days
closed http://bugs.python.org/issue1440
1
0
ACTIVITY SUMMARY (11/12/07 - 11/19/07)
Tracker at http://bugs.python.org/
To view or respond to any of the issues listed below, click on the issue
number. Do NOT respond to this message.
1325 open (+15) / 11623 closed (+20) / 12948 total (+35)
Open issues with patches: 416
Average duration of open issues: 693 days.
Median duration of open issues: 802 days.
Open Issues Breakdown
open 1320 (+15)
pending 5 ( +0)
Issues Created Or Reopened (36)
_______________________________
pth files not loaded at startup 11/12/07
CLOSED http://bugs.python.org/issue1431 created gbloisi
patch
Strange behavior of urlparse.urljoin 11/13/07
http://bugs.python.org/issue1432 created yan
marshal roundtripping for unicode 11/13/07
CLOSED http://bugs.python.org/issue1433 created cfbolz
SocketServer creates non-blocking files 11/13/07
http://bugs.python.org/issue1434 created luke-jr
Support for multiple handlers for the "with" statement 11/13/07
CLOSED http://bugs.python.org/issue1435 created Stavros
logging.config.fileConfig, NameError: name 'RotatingFileHandler' 11/13/07
CLOSED http://bugs.python.org/issue1436 created sebastian
List member inside a class is shared by all instances of the cla 11/13/07
CLOSED http://bugs.python.org/issue1437 created glubglub
Calling base class methods is slow due to __instancecheck__ over 11/13/07
http://bugs.python.org/issue1438 created gvanrossum
proposed 3000 patch for socket.py - "socket GC worries" 11/13/07
CLOSED http://bugs.python.org/issue1439 created janssen
py3k, patch
Checks for PySys_GetObject("std???") == Py_None 11/14/07
CLOSED http://bugs.python.org/issue1440 created tiran
py3k, patch
Cycles through ob_type aren't freed 11/14/07
http://bugs.python.org/issue1441 created rhamphoryncus
pythonstartup addition of minor error checking 11/14/07
http://bugs.python.org/issue1442 created JosephArmbruster
patch
Magic class member variable initialization with lists 11/14/07
CLOSED http://bugs.python.org/issue1443 created neoone
utf_8_sig streamreader bug, patch, and test 11/15/07
CLOSED http://bugs.python.org/issue1444 created jgsack
patch
SystemError accessing uninitialised cell contents 11/15/07
http://bugs.python.org/issue1445 created duncanb
Link to call me for free 11/15/07
CLOSED http://bugs.python.org/issue1446 created gopiyadav26
patch to make msvccompiler.py work with vs 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1447 created weck
patch
Build Python with VS 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1448 created weck
patch
make msi work the vs 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1449 created weck
patch
make modulator more general 11/15/07
http://bugs.python.org/issue1450 created weck
patch
SSL patch for Python 3000 11/15/07
CLOSED http://bugs.python.org/issue1451 created janssen
py3k, patch
subprocess's popen.stdout.seek(0) doesn't raise an error 11/16/07
http://bugs.python.org/issue1452 created tiran
py3k
Python does not honor "CFLAGS" environment variable 11/16/07
CLOSED http://bugs.python.org/issue1453 created tebeka
Generators break trace functionality 11/17/07
CLOSED http://bugs.python.org/issue1454 created cortesi
VS2008, quick hack for distutils.msvccompiler 11/17/07
http://bugs.python.org/issue1455 created tiran
py3k, patch
unexpected iterator behavior with removal 11/18/07
CLOSED http://bugs.python.org/issue1456 created JosephArmbruster
IDLE - configDialog - new layout for key config 11/18/07
http://bugs.python.org/issue1457 created taleinat
installer crashes on attempted cancellation 11/18/07
http://bugs.python.org/issue1458 created JosephArmbruster
Bugs lost on migration from Sourceforge 11/18/07
CLOSED http://bugs.python.org/issue1459 created gagenellina
codecs utf7 decoding error 11/19/07
http://bugs.python.org/issue1460 created arnimar
0**0 should raise an error 11/19/07
CLOSED http://bugs.python.org/issue1461 created jmgillet
About this document refers to SourceForge tracker 11/19/07
http://bugs.python.org/issue1462 created kjohnson
Minor error in mimetypes docs 11/19/07
CLOSED http://bugs.python.org/issue1463 created kjohnson
inet_pton redefined while building with windows SDK 6.0 11/19/07
http://bugs.python.org/issue1464 created weck
building python 2.6 with VC Express 2008 Beta2 11/19/07
http://bugs.python.org/issue1465 created weck
Add a -z interpreter flag to execute a zip file 11/19/07
http://bugs.python.org/issue1739468 reopened ncoghlan
patch
Issues Now Closed (35)
______________________
Parsing a simple script eats all of your memory 68 days
http://bugs.python.org/issue1134 amaury.forgeotdarc
py3k, patch
parsermodule validation out of sync with Grammar 65 days
http://bugs.python.org/issue1144 gvanrossum
patch
string find and rfind methods give a TypeError that is misleadin 37 days
http://bugs.python.org/issue1259 facundobatista
pdb bug with "with" statement 33 days
http://bugs.python.org/issue1265 amaury.forgeotdarc
py3k
windows installer problem 20 days
http://bugs.python.org/issue1354 loewis
fromfd() and dup() for _socket on WIndows 12 days
http://bugs.python.org/issue1378 gvanrossum
patch
py3k: pythonw.exe fails because std streams a missing 4 days
http://bugs.python.org/issue1415 amaury.forgeotdarc
py3k
Weakref not working properly 5 days
http://bugs.python.org/issue1417 MHOOO
ssl module version 1.10 causes TypeError when accepting connecti 3 days
http://bugs.python.org/issue1419 janssen
readline module needs a review 1 days
http://bugs.python.org/issue1426 tiran
py3k
pth files not loaded at startup 4 days
http://bugs.python.org/issue1431 brett.cannon
patch
marshal roundtripping for unicode 3 days
http://bugs.python.org/issue1433 lemburg
Support for multiple handlers for the "with" statement 0 days
http://bugs.python.org/issue1435 gvanrossum
logging.config.fileConfig, NameError: name 'RotatingFileHandler' 0 days
http://bugs.python.org/issue1436 vsajip
List member inside a class is shared by all instances of the cla 0 days
http://bugs.python.org/issue1437 tiran
proposed 3000 patch for socket.py - "socket GC worries" 1 days
http://bugs.python.org/issue1439 janssen
py3k, patch
Checks for PySys_GetObject("std???") == Py_None 1 days
http://bugs.python.org/issue1440 tiran
py3k, patch
Magic class member variable initialization with lists 0 days
http://bugs.python.org/issue1443 gvanrossum
utf_8_sig streamreader bug, patch, and test 4 days
http://bugs.python.org/issue1444 doerwalter
patch
Link to call me for free 0 days
http://bugs.python.org/issue1446 georg.brandl
patch to make msvccompiler.py work with vs 2005(MSVC8) 0 days
http://bugs.python.org/issue1447 loewis
patch
Build Python with VS 2005(MSVC8) 0 days
http://bugs.python.org/issue1448 loewis
patch
make msi work the vs 2005(MSVC8) 3 days
http://bugs.python.org/issue1449 tiran
patch
SSL patch for Python 3000 0 days
http://bugs.python.org/issue1451 janssen
py3k, patch
Python does not honor "CFLAGS" environment variable 0 days
http://bugs.python.org/issue1453 loewis
Generators break trace functionality 1 days
http://bugs.python.org/issue1454 gvanrossum
unexpected iterator behavior with removal 0 days
http://bugs.python.org/issue1456 tiran
Bugs lost on migration from Sourceforge 0 days
http://bugs.python.org/issue1459 brett.cannon
0**0 should raise an error 0 days
http://bugs.python.org/issue1461 gvanrossum
Minor error in mimetypes docs 0 days
http://bugs.python.org/issue1463 facundobatista
C3 MRO algorithm implementation 1865 days
http://bugs.python.org/issue619475 gvanrossum
patch
Use correct encoding for printing SyntaxErrors 1151 days
http://bugs.python.org/issue1031213 gvanrossum
patch
recursive __getattr__ in thread crashes 641 days
http://bugs.python.org/issue1430436 brett.cannon
interpreter crash when multiplying large lists 206 days
http://bugs.python.org/issue1704621 gvanrossum
patch
Remove backslash escapes from tokenize.c. 183 days
http://bugs.python.org/issue1720390 gvanrossum
py3k, patch
Top Issues Most Discussed (10)
______________________________
26 fromfd() and dup() for _socket on WIndows 12 days
closed http://bugs.python.org/issue1378
14 py3k: pythonw.exe fails because std streams a missing 4 days
closed http://bugs.python.org/issue1415
9 SSL patch for Python 3000 0 days
closed http://bugs.python.org/issue1451
9 Parsing a simple script eats all of your memory 68 days
closed http://bugs.python.org/issue1134
8 Add a -z interpreter flag to execute a zip file 0 days
open http://bugs.python.org/issue1739468
8 make msi work the vs 2005(MSVC8) 3 days
closed http://bugs.python.org/issue1449
7 Python does not honor "CFLAGS" environment variable 0 days
closed http://bugs.python.org/issue1453
7 pth files not loaded at startup 4 days
closed http://bugs.python.org/issue1431
7 pdb bug with "with" statement 33 days
closed http://bugs.python.org/issue1265
6 VS2008, quick hack for distutils.msvccompiler 2 days
open http://bugs.python.org/issue1455
1
0
19 Nov '07
Brett Cannon wrote:
> Can't you do this testing in your own checkout without committing the
> change until you have talked to python-dev about the idea of changing
> how all types are initialized?
CC to Python Dev
The discussion is about http://svn.python.org/view?rev=59042&view=rev
I've carefully studied the docs before I've committed the change. The
problem is a well documented compiler issue on Windows. The tp_base slot
can't be filled with a type on Windows when the module is compiled with
distutils.
On Unix the gcc can handle tp_base fine. Since most Python developers
are using Linux or Mac OS X and the file isn't covered by a unit test
nobody has noticed the problem
http://docs.python.org/dev/3.0/extending/newtypes.html#subclassing-other-ty…
"When filling out the PyTypeObject() for the Shoddy type, you see a slot
for tp_base(). Due to cross platform compiler issues, you can’t fill
that field directly with the PyList_Type(); it can be done later in the
module’s init() function."
I've changed it for two reasons:
* The xxmodule.c file is an example and template for developers. It's
giving a bad example and it leads to code that doesn't compile on Windows.
* I'm working on a very basic unit test to test
distutils.core.Extension. I've chosen xxmodule and xxsubtype for the tests.
I hope I didn't step over a line with the change. I didn't change the
files w/o consulting the documentation first.
Christian
2
2
ACTIVITY SUMMARY (11/11/07 - 11/18/07)
Tracker at http://bugs.python.org/
To view or respond to any of the issues listed below, click on the issue
number. Do NOT respond to this message.
1322 open (+14) / 11618 closed (+21) / 12940 total (+35)
Open issues with patches: 417
Average duration of open issues: 693 days.
Median duration of open issues: 801 days.
Open Issues Breakdown
open 1317 (+14)
pending 5 ( +0)
Issues Created Or Reopened (35)
_______________________________
wave sunau aifc 16bit errors 11/11/07
http://bugs.python.org/issue1423 created jeroen
py3k: readline and rlcompleter doesn't list choices 11/11/07
CLOSED http://bugs.python.org/issue1424 created tiran
py3k
readline: no display matches hook set 11/11/07
CLOSED http://bugs.python.org/issue1425 created tiran
py3k
readline module needs a review 11/11/07
CLOSED http://bugs.python.org/issue1426 created tiran
py3k
Error in standard module calendar 11/11/07
CLOSED http://bugs.python.org/issue1427 created gdamjan
patch
Update to property.__doc__ 11/11/07
CLOSED http://bugs.python.org/issue1428 created tiran
patch
FD leak in SocketServer 11/12/07
http://bugs.python.org/issue1429 created luke-jr
Installing on Vista asks to close Explorer (and Nokia PC Suite) 11/12/07
CLOSED http://bugs.python.org/issue1430 created dabarlow
pth files not loaded at startup 11/12/07
CLOSED http://bugs.python.org/issue1431 created gbloisi
patch
Strange behavior of urlparse.urljoin 11/13/07
http://bugs.python.org/issue1432 created yan
marshal roundtripping for unicode 11/13/07
CLOSED http://bugs.python.org/issue1433 created cfbolz
SocketServer creates non-blocking files 11/13/07
http://bugs.python.org/issue1434 created luke-jr
Support for multiple handlers for the "with" statement 11/13/07
CLOSED http://bugs.python.org/issue1435 created Stavros
logging.config.fileConfig, NameError: name 'RotatingFileHandler' 11/13/07
CLOSED http://bugs.python.org/issue1436 created sebastian
List member inside a class is shared by all instances of the cla 11/13/07
CLOSED http://bugs.python.org/issue1437 created glubglub
Calling base class methods is slow due to __instancecheck__ over 11/13/07
http://bugs.python.org/issue1438 created gvanrossum
proposed 3000 patch for socket.py - "socket GC worries" 11/13/07
CLOSED http://bugs.python.org/issue1439 created janssen
py3k, patch
Checks for PySys_GetObject("std???") == Py_None 11/14/07
CLOSED http://bugs.python.org/issue1440 created tiran
py3k, patch
Cycles through ob_type aren't freed 11/14/07
http://bugs.python.org/issue1441 created rhamphoryncus
pythonstartup addition of minor error checking 11/14/07
http://bugs.python.org/issue1442 created JosephArmbruster
patch
Magic class member variable initialization with lists 11/14/07
CLOSED http://bugs.python.org/issue1443 created neoone
utf_8_sig streamreader bug, patch, and test 11/15/07
http://bugs.python.org/issue1444 created jgsack
patch
SystemError accessing uninitialised cell contents 11/15/07
http://bugs.python.org/issue1445 created duncanb
Link to call me for free 11/15/07
CLOSED http://bugs.python.org/issue1446 created gopiyadav26
patch to make msvccompiler.py work with vs 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1447 created weck
patch
Build Python with VS 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1448 created weck
patch
make msi work the vs 2005(MSVC8) 11/15/07
http://bugs.python.org/issue1449 created weck
patch
make modulator more general 11/15/07
http://bugs.python.org/issue1450 created weck
patch
SSL patch for Python 3000 11/15/07
CLOSED http://bugs.python.org/issue1451 created janssen
py3k, patch
subprocess's popen.stdout.seek(0) doesn't raise an error 11/16/07
http://bugs.python.org/issue1452 created tiran
py3k
Python does not honor "CFLAGS" environment variable 11/16/07
CLOSED http://bugs.python.org/issue1453 created tebeka
Generators break trace functionality 11/17/07
CLOSED http://bugs.python.org/issue1454 created cortesi
VS2008, quick hack for distutils.msvccompiler 11/17/07
http://bugs.python.org/issue1455 created tiran
py3k, patch
unexpected iterator behavior with removal 11/18/07
CLOSED http://bugs.python.org/issue1456 created JosephArmbruster
IDLE - configDialog - new layout for key config 11/18/07
http://bugs.python.org/issue1457 created taleinat
Issues Now Closed (40)
______________________
Parsing a simple script eats all of your memory 68 days
http://bugs.python.org/issue1134 amaury.forgeotdarc
py3k, patch
parsermodule validation out of sync with Grammar 65 days
http://bugs.python.org/issue1144 gvanrossum
patch
pdb fails to launch some script. 33 days
http://bugs.python.org/issue1254 tiran
string find and rfind methods give a TypeError that is misleadin 37 days
http://bugs.python.org/issue1259 facundobatista
pdb bug with "with" statement 33 days
http://bugs.python.org/issue1265 amaury.forgeotdarc
py3k
fromfd() and dup() for _socket on WIndows 12 days
http://bugs.python.org/issue1378 gvanrossum
patch
py3k: pythonw.exe fails because std streams a missing 4 days
http://bugs.python.org/issue1415 amaury.forgeotdarc
py3k
Weakref not working properly 5 days
http://bugs.python.org/issue1417 MHOOO
Python/hypot.c is never used 2 days
http://bugs.python.org/issue1418 loewis
ssl module version 1.10 causes TypeError when accepting connecti 3 days
http://bugs.python.org/issue1419 janssen
Unicode literals in tokenize.py and tests. 1 days
http://bugs.python.org/issue1420 gvanrossum
py3k, patch
python.org: outdated and false information 1 days
http://bugs.python.org/issue1421 georg.brandl
Writing to an invalid fd doesn't raise an exception 1 days
http://bugs.python.org/issue1422 gvanrossum
py3k
py3k: readline and rlcompleter doesn't list choices 1 days
http://bugs.python.org/issue1424 tiran
py3k
readline: no display matches hook set 0 days
http://bugs.python.org/issue1425 loewis
py3k
readline module needs a review 1 days
http://bugs.python.org/issue1426 tiran
py3k
Error in standard module calendar 0 days
http://bugs.python.org/issue1427 doerwalter
patch
Update to property.__doc__ 0 days
http://bugs.python.org/issue1428 tiran
patch
Installing on Vista asks to close Explorer (and Nokia PC Suite) 0 days
http://bugs.python.org/issue1430 loewis
pth files not loaded at startup 4 days
http://bugs.python.org/issue1431 brett.cannon
patch
marshal roundtripping for unicode 3 days
http://bugs.python.org/issue1433 lemburg
Support for multiple handlers for the "with" statement 0 days
http://bugs.python.org/issue1435 gvanrossum
logging.config.fileConfig, NameError: name 'RotatingFileHandler' 0 days
http://bugs.python.org/issue1436 vsajip
List member inside a class is shared by all instances of the cla 0 days
http://bugs.python.org/issue1437 tiran
proposed 3000 patch for socket.py - "socket GC worries" 1 days
http://bugs.python.org/issue1439 janssen
py3k, patch
Checks for PySys_GetObject("std???") == Py_None 1 days
http://bugs.python.org/issue1440 tiran
py3k, patch
Magic class member variable initialization with lists 0 days
http://bugs.python.org/issue1443 gvanrossum
Link to call me for free 0 days
http://bugs.python.org/issue1446 georg.brandl
patch to make msvccompiler.py work with vs 2005(MSVC8) 0 days
http://bugs.python.org/issue1447 loewis
patch
Build Python with VS 2005(MSVC8) 0 days
http://bugs.python.org/issue1448 loewis
patch
SSL patch for Python 3000 0 days
http://bugs.python.org/issue1451 janssen
py3k, patch
Python does not honor "CFLAGS" environment variable 0 days
http://bugs.python.org/issue1453 loewis
Generators break trace functionality 1 days
http://bugs.python.org/issue1454 gvanrossum
unexpected iterator behavior with removal 0 days
http://bugs.python.org/issue1456 tiran
C3 MRO algorithm implementation 1865 days
http://bugs.python.org/issue619475 gvanrossum
patch
Use correct encoding for printing SyntaxErrors 1151 days
http://bugs.python.org/issue1031213 gvanrossum
patch
recursive __getattr__ in thread crashes 641 days
http://bugs.python.org/issue1430436 brett.cannon
interpreter crash when multiplying large lists 206 days
http://bugs.python.org/issue1704621 gvanrossum
patch
Remove backslash escapes from tokenize.c. 183 days
http://bugs.python.org/issue1720390 gvanrossum
py3k, patch
Add a -z interpreter flag to execute a zip file 152 days
http://bugs.python.org/issue1739468 ncoghlan
patch
Top Issues Most Discussed (10)
______________________________
26 fromfd() and dup() for _socket on WIndows 12 days
closed http://bugs.python.org/issue1378
18 py3k: pythonw.exe fails because std streams a missing 4 days
closed http://bugs.python.org/issue1415
9 SSL patch for Python 3000 0 days
closed http://bugs.python.org/issue1451
9 Parsing a simple script eats all of your memory 68 days
closed http://bugs.python.org/issue1134
7 Python does not honor "CFLAGS" environment variable 0 days
closed http://bugs.python.org/issue1453
7 pth files not loaded at startup 4 days
closed http://bugs.python.org/issue1431
7 pdb bug with "with" statement 33 days
closed http://bugs.python.org/issue1265
6 VS2008, quick hack for distutils.msvccompiler 1 days
open http://bugs.python.org/issue1455
5 make msi work the vs 2005(MSVC8) 3 days
open http://bugs.python.org/issue1449
5 Checks for PySys_GetObject("std???") == Py_None 1 days
closed http://bugs.python.org/issue1440
1
0
ACTIVITY SUMMARY (11/10/07 - 11/17/07)
Tracker at http://bugs.python.org/
To view or respond to any of the issues listed below, click on the issue
number. Do NOT respond to this message.
1323 open (+14) / 11615 closed (+23) / 12938 total (+37)
Open issues with patches: 418
Average duration of open issues: 692 days.
Median duration of open issues: 800 days.
Open Issues Breakdown
open 1318 (+14)
pending 5 ( +0)
Issues Created Or Reopened (37)
_______________________________
ssl module version 1.10 causes TypeError when accepting connecti 11/11/07
CLOSED http://bugs.python.org/issue1419 created complex
Unicode literals in tokenize.py and tests. 11/11/07
CLOSED http://bugs.python.org/issue1420 created ron_adam
py3k, patch
python.org: outdated and false information 11/11/07
CLOSED http://bugs.python.org/issue1421 created tiran
Writing to an invalid fd doesn't raise an exception 11/11/07
CLOSED http://bugs.python.org/issue1422 created tiran
py3k
wave sunau aifc 16bit errors 11/11/07
http://bugs.python.org/issue1423 created jeroen
py3k: readline and rlcompleter doesn't list choices 11/11/07
CLOSED http://bugs.python.org/issue1424 created tiran
py3k
readline: no display matches hook set 11/11/07
CLOSED http://bugs.python.org/issue1425 created tiran
py3k
readline module needs a review 11/11/07
CLOSED http://bugs.python.org/issue1426 created tiran
py3k
Error in standard module calendar 11/11/07
CLOSED http://bugs.python.org/issue1427 created gdamjan
patch
Update to property.__doc__ 11/11/07
CLOSED http://bugs.python.org/issue1428 created tiran
patch
FD leak in SocketServer 11/12/07
http://bugs.python.org/issue1429 created luke-jr
Installing on Vista asks to close Explorer (and Nokia PC Suite) 11/12/07
CLOSED http://bugs.python.org/issue1430 created dabarlow
pth files not loaded at startup 11/12/07
CLOSED http://bugs.python.org/issue1431 created gbloisi
patch
Strange behavior of urlparse.urljoin 11/13/07
http://bugs.python.org/issue1432 created yan
marshal roundtripping for unicode 11/13/07
CLOSED http://bugs.python.org/issue1433 created cfbolz
SocketServer creates non-blocking files 11/13/07
http://bugs.python.org/issue1434 created luke-jr
Support for multiple handlers for the "with" statement 11/13/07
CLOSED http://bugs.python.org/issue1435 created Stavros
logging.config.fileConfig, NameError: name 'RotatingFileHandler' 11/13/07
CLOSED http://bugs.python.org/issue1436 created sebastian
List member inside a class is shared by all instances of the cla 11/13/07
CLOSED http://bugs.python.org/issue1437 created glubglub
Calling base class methods is slow due to __instancecheck__ over 11/13/07
http://bugs.python.org/issue1438 created gvanrossum
proposed 3000 patch for socket.py - "socket GC worries" 11/13/07
CLOSED http://bugs.python.org/issue1439 created janssen
py3k, patch
Checks for PySys_GetObject("std???") == Py_None 11/14/07
CLOSED http://bugs.python.org/issue1440 created tiran
py3k, patch
Cycles through ob_type aren't freed 11/14/07
http://bugs.python.org/issue1441 created rhamphoryncus
pythonstartup addition of minor error checking 11/14/07
http://bugs.python.org/issue1442 created JosephArmbruster
patch
Magic class member variable initialization with lists 11/14/07
CLOSED http://bugs.python.org/issue1443 created neoone
utf_8_sig streamreader bug, patch, and test 11/15/07
http://bugs.python.org/issue1444 created jgsack
patch
SystemError accessing uninitialised cell contents 11/15/07
http://bugs.python.org/issue1445 created duncanb
Link to call me for free 11/15/07
CLOSED http://bugs.python.org/issue1446 created gopiyadav26
patch to make msvccompiler.py work with vs 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1447 created weck
patch
Build Python with VS 2005(MSVC8) 11/15/07
CLOSED http://bugs.python.org/issue1448 created weck
patch
make msi work the vs 2005(MSVC8) 11/15/07
http://bugs.python.org/issue1449 created weck
patch
make modulator more general 11/15/07
http://bugs.python.org/issue1450 created weck
patch
SSL patch for Python 3000 11/15/07
CLOSED http://bugs.python.org/issue1451 created janssen
py3k, patch
subprocess's popen.stdout.seek(0) doesn't raise an error 11/16/07
http://bugs.python.org/issue1452 created tiran
py3k
Python does not honor "CFLAGS" environment variable 11/16/07
CLOSED http://bugs.python.org/issue1453 created tebeka
Generators break trace functionality 11/17/07
http://bugs.python.org/issue1454 created cortesi
VS2008, quick hack for distutils.msvccompiler 11/17/07
http://bugs.python.org/issue1455 created tiran
py3k, patch
Issues Now Closed (39)
______________________
Parsing a simple script eats all of your memory 68 days
http://bugs.python.org/issue1134 amaury.forgeotdarc
py3k, patch
parsermodule validation out of sync with Grammar 65 days
http://bugs.python.org/issue1144 gvanrossum
patch
pdb fails to launch some script. 33 days
http://bugs.python.org/issue1254 tiran
string find and rfind methods give a TypeError that is misleadin 37 days
http://bugs.python.org/issue1259 facundobatista
pdb bug with "with" statement 33 days
http://bugs.python.org/issue1265 amaury.forgeotdarc
py3k
fromfd() and dup() for _socket on WIndows 12 days
http://bugs.python.org/issue1378 gvanrossum
patch
Garbage collection not working correctly in Python 2.3 1 days
http://bugs.python.org/issue1405 gvanrossum
py3k: pythonw.exe fails because std streams a missing 4 days
http://bugs.python.org/issue1415 amaury.forgeotdarc
py3k
@prop.setter decorators 1 days
http://bugs.python.org/issue1416 gvanrossum
patch
Weakref not working properly 5 days
http://bugs.python.org/issue1417 MHOOO
Python/hypot.c is never used 2 days
http://bugs.python.org/issue1418 loewis
ssl module version 1.10 causes TypeError when accepting connecti 3 days
http://bugs.python.org/issue1419 janssen
Unicode literals in tokenize.py and tests. 1 days
http://bugs.python.org/issue1420 gvanrossum
py3k, patch
python.org: outdated and false information 1 days
http://bugs.python.org/issue1421 georg.brandl
Writing to an invalid fd doesn't raise an exception 1 days
http://bugs.python.org/issue1422 gvanrossum
py3k
py3k: readline and rlcompleter doesn't list choices 1 days
http://bugs.python.org/issue1424 tiran
py3k
readline: no display matches hook set 0 days
http://bugs.python.org/issue1425 loewis
py3k
readline module needs a review 1 days
http://bugs.python.org/issue1426 tiran
py3k
Error in standard module calendar 0 days
http://bugs.python.org/issue1427 doerwalter
patch
Update to property.__doc__ 0 days
http://bugs.python.org/issue1428 tiran
patch
Installing on Vista asks to close Explorer (and Nokia PC Suite) 0 days
http://bugs.python.org/issue1430 loewis
pth files not loaded at startup 4 days
http://bugs.python.org/issue1431 brett.cannon
patch
marshal roundtripping for unicode 3 days
http://bugs.python.org/issue1433 lemburg
Support for multiple handlers for the "with" statement 0 days
http://bugs.python.org/issue1435 gvanrossum
logging.config.fileConfig, NameError: name 'RotatingFileHandler' 0 days
http://bugs.python.org/issue1436 vsajip
List member inside a class is shared by all instances of the cla 0 days
http://bugs.python.org/issue1437 tiran
proposed 3000 patch for socket.py - "socket GC worries" 1 days
http://bugs.python.org/issue1439 janssen
py3k, patch
Checks for PySys_GetObject("std???") == Py_None 1 days
http://bugs.python.org/issue1440 tiran
py3k, patch
Magic class member variable initialization with lists 0 days
http://bugs.python.org/issue1443 gvanrossum
Link to call me for free 0 days
http://bugs.python.org/issue1446 georg.brandl
patch to make msvccompiler.py work with vs 2005(MSVC8) 0 days
http://bugs.python.org/issue1447 loewis
patch
Build Python with VS 2005(MSVC8) 0 days
http://bugs.python.org/issue1448 loewis
patch
SSL patch for Python 3000 0 days
http://bugs.python.org/issue1451 janssen
py3k, patch
Python does not honor "CFLAGS" environment variable 0 days
http://bugs.python.org/issue1453 loewis
C3 MRO algorithm implementation 1865 days
http://bugs.python.org/issue619475 gvanrossum
patch
Use correct encoding for printing SyntaxErrors 1151 days
http://bugs.python.org/issue1031213 gvanrossum
patch
recursive __getattr__ in thread crashes 641 days
http://bugs.python.org/issue1430436 brett.cannon
interpreter crash when multiplying large lists 206 days
http://bugs.python.org/issue1704621 gvanrossum
patch
Remove backslash escapes from tokenize.c. 183 days
http://bugs.python.org/issue1720390 gvanrossum
py3k, patch
Top Issues Most Discussed (10)
______________________________
26 fromfd() and dup() for _socket on WIndows 12 days
closed http://bugs.python.org/issue1378
22 py3k: pythonw.exe fails because std streams a missing 4 days
closed http://bugs.python.org/issue1415
9 SSL patch for Python 3000 0 days
closed http://bugs.python.org/issue1451
9 Parsing a simple script eats all of your memory 68 days
closed http://bugs.python.org/issue1134
7 Python does not honor "CFLAGS" environment variable 0 days
closed http://bugs.python.org/issue1453
7 pth files not loaded at startup 4 days
closed http://bugs.python.org/issue1431
7 Unicode literals in tokenize.py and tests. 1 days
closed http://bugs.python.org/issue1420
7 pdb bug with "with" statement 33 days
closed http://bugs.python.org/issue1265
5 make msi work the vs 2005(MSVC8) 2 days
open http://bugs.python.org/issue1449
5 Checks for PySys_GetObject("std???") == Py_None 1 days
closed http://bugs.python.org/issue1440
1
0
For another project (see my previous email on named tuples), I needed to
represent procedure signatures, and use them to expand arguments into the
dictionary of values that exists when execution of a procedure starts. To my
surprise, this capability didn't seem to be provided by the Python library,
even though it clearly is present within the Python system somewhere.
So I wrote a Signature class. Instances of the class represent all the
information present between the parentheses of a procedure definition.
Properties are provided to get the information out, and an expand_args method
can be called to expand arguments into a dictionary. This expand_args method
implements (if I've done it right) the argument conversion part of section
5.3.4 of the Python Reference Manual (http://docs.python.org/ref/calls.html).
I've put the code below, but I wonder if the real solution is just to create an
interface to already-existing capability? It occurs to me that the
implementation is likely to be in the interpreter itself and not written in
Python.
One possible improvement (and I'm not sure it's better, so I'm just putting it
out there): perhaps expand_args should be renamed to __call__. Then essentially
a Signature object would be a procedure whose body is just "return locals ()".
class Signature (object):
def __init__ (self, argnames,
excessargs=None, excesskeys=None, defaults=None):
self.__argnames = tuple (argnames)
self.__excessargs = excessargs
self.__excesskeys = excesskeys
if defaults is None:
defaults = {}
self.__defaults = dict (defaults)
@property
def argnames (self):
return self.__argnames
@property
def excessargs (self):
return self.__excessargs
@property
def excesskeys (self):
return self.__excesskeys
def defaults (self):
return dict (self.__defaults)
def expand_args (self, *args, **keys):
# Start with defaults
result = self.defaults ()
# Assign positional arguments
for i in range (min (len (args), len (self.argnames))):
result[self.argnames[i]] = args[i]
# Assign keyword arguments
for arg in self.argnames:
if arg in keys:
if arg in result:
raise TypeError
result[arg] = keys[arg]
del keys[arg]
# Check for missing arguments
for i in range (len (args), len (self.argnames)):
if not self.argnames[i] in result:
raise TypeError
# Excess positional arguments (*args parameter)
if self.excessargs is None:
if len (args) > len (self.argnames):
raise TypeError
else:
result[self.excessargs] = args[len (self.argnames):]
# Excess keyword arguments (**keys parameter)
if self.excesskeys is None:
if keys:
raise TypeError
else:
result[self.excesskeys] = keys
return result
Isaac Morland CSCF Web Guru
DC 2554C, x36650 WWW Software Specialist
4
8
I am finding myself often doing for loops over a subset of a list, like:
for r in results:
if r.numNodes != numNodes:
continue
# do something with r
It would be nice if the plain for loop was as flexible as list
comprehensions and allowed an optional if clause, like this:
for r in results if r.numNodes == numNodes:
# do something with r
Has this idea come up before? Does anyone else like this idea?
--
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
7
7