[issue8739] Update to smtpd.py to RFC 5321

2012-03-12 Thread Juhana Jauhiainen
Juhana Jauhiainen juhana.jauhiai...@gmail.com added the comment: Since Michele has been already working on this I could help with the cleanup once it's separated as a new issue. David: Thanks for your comments. I wasn't sure if I should make a general solution or not and ended up making this

[issue14257] minor error in glossary wording regarding __hash__

2012-03-12 Thread Chris Rebert
Chris Rebert pyb...@rebertia.com added the comment: I regret to inform you that those changes made the sentence in question ungrammatical. Removing the word method will make it grammatical again (as originally suggested). -- resolution: fixed - status: closed - open

[issue8739] Update to smtpd.py to RFC 5321

2012-03-12 Thread Michele Orrù
Michele Orrù maker...@gmail.com added the comment: Patch attached. A few considerations: in case of syntax error, the server responds with MAIL FROM:address [SP mail-parameters ] CRLF according to http://tools.ietf.org/html/rfc5321#section-3.3 (instead of MAIL FROM:address). Note that this

[issue1531415] parsetok.c emits warnings by writing to stderr

2012-03-12 Thread Michele Orrù
Michele Orrù maker...@gmail.com added the comment: This is not the proper workflow for bug tracking. No one is working on this right now is not the same as This bug is invalid. No one worked on this ticket almost *seven years* after I filed it. You are right. Sorry for that. --

[issue14261] Cleanup in smtpd module

2012-03-12 Thread Michele Orrù
New submission from Michele Orrù maker...@gmail.com: This issue is related to 8739 . As pointed in http://bugs.python.org/issue8739#msg155385, « tests are in the form FooTest instead of TestFoo, smtpd imports modules used only in __main__, warnings can be handled the appropriate module,

[issue14262] Allow using decimals as arguments to `timedelta`

2012-03-12 Thread Ram Rachum
New submission from Ram Rachum r...@rachum.com: Please allow using decimals as arguments to `timedelta`, so the following code won't raise an exception: Python 3.3.0a1 (default, Mar 4 2012, 17:27:59) [MSC v.1500 32 bit (Intel)] on win32 Type help, copyright, credits or license for more

[issue10296] ctypes catches BreakPoint error on windows 32

2012-03-12 Thread Patrick
Patrick pjlby...@gmail.com added the comment: This affects me too. -- nosy: +pjlbyrne ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10296 ___ ___

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-12 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14204 ___ ___ Python-bugs-list mailing list

[issue14102] argparse: add ability to create a man page

2012-03-12 Thread Ingo Fischer
Changes by Ingo Fischer fredistdurs...@googlemail.com: -- nosy: +Ingo.Fischer ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14102 ___ ___

[issue14249] unicodeobject.c: aliasing warnings

2012-03-12 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Benjamin Peterson rep...@bugs.python.org wrote: gcc 4.5 doesn't warn for me. Is this a compiler bug in 4.4 or 4.5? That is, are these actual aliasing violations? I see this with 4.4 but also with 4.6 when using -Wstrict-aliasing=2.

[issue1648923] HP-UX: -lcurses missing for readline.so

2012-03-12 Thread GaaL33
GaaL33 ubu...@l3p3t1t.net added the comment: I confirm that there's still a build issue. I've tried to compile python 2.7.2 on HP-UX 11.31. And it crashes with : ld -b build/temp.hp-ux-B.11.31-ia64-2.7/images/Python-2.7.2/Modules/readline.o -L/usr/lib/termcap -L/usr/local/lib

[issue8942] __path__ attribute of modules loaded by zipimporter is untested

2012-03-12 Thread Tatiana Al-Chueyr
Tatiana Al-Chueyr tatiana.alchu...@gmail.com added the comment: I'm working on it -- nosy: +tati_alchueyr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8942 ___

[issue1648923] HP-UX: -lcurses missing for readline.so

2012-03-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: OK, reopening. I've added 3.2 and 3.3 as I imagine the same problem will exist there. Now we need someone to propose a patch to fix it. -- resolution: out of date - stage: test needed - needs patch status: closed - open

[issue8070] Infinite loop in PyRun_InteractiveLoopFlags() if PyRun_InteractiveOneFlags() raises an error

2012-03-12 Thread Tim Lesher
Tim Lesher tles...@gmail.com added the comment: Corrected const warning in previous patch. -- Added file: http://bugs.python.org/file24794/8070-use-default-encoding-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8070

[issue8010] tkFileDialog.askopenfiles crashes on Windows 7

2012-03-12 Thread Tim Lesher
Changes by Tim Lesher tles...@gmail.com: -- nosy: +tlesher ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8010 ___ ___ Python-bugs-list mailing

[issue12919] Control what module is imported first

2012-03-12 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +carljm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12919 ___ ___ Python-bugs-list mailing

[issue1102] Add support for _msi.Record.GetString() and _msi.Record.GetInteger()

2012-03-12 Thread Anthony Tuininga
Anthony Tuininga anthony.tuini...@gmail.com added the comment: All, I have trimmed this patch down to the bare minimum required to solve this problem. Please review this as I would dearly love to have this committed. The error received without this patch is MSIError: unknown error 103 This

[issue14243] NamedTemporaryFile unusable under Windows

2012-03-12 Thread Dave Abrahams
Dave Abrahams d...@boostpro.com added the comment: Nick, not to belabor this, but I guess you don't understand the use-case in question very well, or you'd see that delete=False doesn't cover it. The use case is this: I have to write a test for a function that takes a filename as a parameter

[issue14243] NamedTemporaryFile unusable under Windows

2012-03-12 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14243 ___ ___ Python-bugs-list

[issue8942] __path__ attribute of modules loaded by zipimporter is untested

2012-03-12 Thread Tatiana Al-Chueyr
Tatiana Al-Chueyr tatiana.alchu...@gmail.com added the comment: Improved test so the __path__ of a package loaded from a zip file, using zipimporter, is checked. -- keywords: +patch Added file: http://bugs.python.org/file24796/issue8942_test_for_zipimporter.patch

[issue14260] re.groupindex available for modification and continues to work, having incorrect data inside it

2012-03-12 Thread Matthew Barnett
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: The re module creates the dict purely for the benefit of the user, and as it's a normal dict, it's mutable. An alternative would to use an immutable dict or dict-like object, but Python doesn't have such a class, and it's probably

[issue13842] Cannot pickle Ellipsis or NotImplemented

2012-03-12 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl added the comment: There is indeed a 5% performance gain from using PyUnicode_FromString instead of the generic Py_BuildValue function. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13842

[issue12342] characters with ord above 65535 fail to display in IDLE

2012-03-12 Thread Andrew Svetlov
Changes by Andrew Svetlov andrew.svet...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12342 ___ ___

[issue13842] Cannot pickle Ellipsis or NotImplemented

2012-03-12 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5832d3622473 by Łukasz Langa in branch 'default': Fixes #13842: cannot pickle Ellipsis or NotImplemented. http://hg.python.org/cpython/rev/5832d3622473 -- nosy: +python-dev

[issue13842] Cannot pickle Ellipsis or NotImplemented

2012-03-12 Thread Łukasz Langa
Changes by Łukasz Langa luk...@langa.pl: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13842 ___

[issue11664] Add patch method to unittest.TestCase

2012-03-12 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: mock is being added to Python 3.3 as unittest.mock - so a helper TestCase.patch should delegate to unittest.mock.patch. -- ___ Python tracker rep...@bugs.python.org

[issue14263] switch_index_if_fails fails on py2

2012-03-12 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: distutils2 pysetup install is not working on py2 because the wrapper tries to pull func.f_name, which does not exist. -- assignee: tarek messages: 155463 nosy: eric.araujo, j1m, tarek priority: critical severity: normal status:

[issue14263] switch_index_if_fails fails on py2

2012-03-12 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14263 ___ ___ Python-bugs-list

[issue14263] switch_index_if_fails fails on py2

2012-03-12 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- components: +Distutils2 nosy: +alexis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14263 ___ ___

[issue14264] can't install zope.event 3.4.0

2012-03-12 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- assignee: tarek components: Distutils2 nosy: alexis, eric.araujo, j1m, tarek priority: high severity: normal status: open title: can't install zope.event 3.4.0 type: behavior versions: Python 2.6, Python 2.7

[issue14264] can't install zope.event 3.4.0

2012-03-12 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: it gets 3.4.1 for some reason -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14264 ___

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Ali Ikinci
Ali Ikinci a...@ikinci.info added the comment: I have started to work on this. -- nosy: +aikinci ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14238 ___

[issue14264] can't install zope.event 3.4.0

2012-03-12 Thread Jan-Jaap Driessen
Changes by Jan-Jaap Driessen janjaapdriessen+pythonb...@gmail.com: -- nosy: +janjaapdriessen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14264 ___

[issue14263] switch_index_if_fails fails on py2

2012-03-12 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 32a95541829c by Tarek Ziade in branch 'default': Fixed a function name lookup in distutils2.pypi.wrapper (#14263) http://hg.python.org/distutils2/rev/32a95541829c -- nosy: +python-dev

[issue14265] Fully qualified test name in failure output

2012-03-12 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: Somewhere in the failure message for tests Guido would like to see the fully qualified test name, suitable for copying and pasting into a test runner invocation for running just that test. -- assignee: michael.foord

[issue14265] Fully qualified test name in failure output

2012-03-12 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: +10 :) -- nosy: +r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14265 ___

[issue13476] Simple exclusion filter for unittest autodiscovery

2012-03-12 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: This would be nice (more powerful) as a general test method exclusion filter: so run test discovery or fetch the specified test module / class and then exclude individual tests that match the pattern. We're looking to add a general

[issue14264] can't install zope.event 3.4.0

2012-03-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Can you increase logging level and paste log messages? -- stage: - test needed versions: +3rd party, Python 3.3 -Python 2.6, Python 2.7 ___ Python tracker rep...@bugs.python.org

[issue5758] fileinput.hook_compressed returning bytes from gz file

2012-03-12 Thread Tatiana Al-Chueyr
Tatiana Al-Chueyr tatiana.alchu...@gmail.com added the comment: Working on this -- nosy: +tati_alchueyr ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5758 ___

[issue13703] Hash collision security issue

2012-03-12 Thread Jon Vaughan
Jon Vaughan jsvaug...@gmail.com added the comment: FWIW I upgraded to ubuntu pangolin beta over the weekend, which includes 2.7.3rc1, and I'm also experiencing a problem with urandom. File /usr/lib/python2.7/email/utils.py, line 27, in module import random File

[issue14264] Comparison bug in distutils2.version

2012-03-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: More info: The command to reproduce the bug is “pysetup install zope.event (3.4.0)”, which gets zope.event 3.4.1. The bug comes from d2.version.VersionPredicate.match: predicate = VersionPredicate('zope.event (3.4.0)')

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-12 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: reviewing now. -- nosy: +gregory.p.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14234 ___

[issue14204] Support for the NPN extension to TLS/SSL

2012-03-12 Thread Colin Marc
Colin Marc colinm...@gmail.com added the comment: More updates to the patch. -- Added file: http://bugs.python.org/file24797/npn_patch_py3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14204

[issue14266] pyunit script as shorthand for python -m unittest

2012-03-12 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: python -m unittest ... is a pain to type. A pyunit script would be a nice shorthand. (unittest2 has a unit2 script that does this.) -- assignee: michael.foord components: Library (Lib) messages: 155476 nosy: michael.foord

[issue14266] pyunit script as shorthand for python -m unittest

2012-03-12 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: And it should do discover by default, IMO (like nose does). -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14266 ___

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Nicholas Riley
Nicholas Riley com-python-b...@sabi.net added the comment: Attached is a patch which implements time.monotonic() using mach_absolute_time() / mach_timebase_info(). This was recommended by Apple in their technical QA 1398: https://developer.apple.com/library/mac/#qa/qa1398/ --

[issue14266] pyunit script as shorthand for python -m unittest

2012-03-12 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Right unit2 on its own does discover by default now. (On head, not sure if that's released yet.) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14266

[issue14264] Comparison bug in distutils2.version

2012-03-12 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1e0ca4594a2a by Tarek Ziade in branch 'default': Removed the trailing zero wiping (#14264) http://hg.python.org/distutils2/rev/1e0ca4594a2a -- nosy: +python-dev ___

[issue2377] Replace __import__ w/ importlib.__import__

2012-03-12 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: So after looking at import.c and how it handles stuff, I have decided how I already implemented __import__() triggering __import__() itself is fine. So Antoine can just stay confused by my comment as it is now a moot point. =) --

[issue14267] TimedRotatingFileHandler chooses wrong file name due to daylight saving time spring forward

2012-03-12 Thread Matt Mullins
New submission from Matt Mullins mokom...@gmail.com: As logs were rotated at midnight this morning (at the end of the day 2012-03-11), we detected that the logs were incorrectly renamed to *.log.2012-03-10, causing logs from Saturday to be overwritten. I believe this bug is related to the

[issue14268] _move_file is broken because of a bad mock

2012-03-12 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: the mocked list_installed_files() returns a list of files instead of a list of (path, md5, path) -- assignee: tarek components: Distutils2 messages: 155483 nosy: alexis, eric.araujo, tarek priority: normal severity: normal status:

[issue14260] re.groupindex available for modification and continues to work, having incorrect data inside it

2012-03-12 Thread py.user
py.user port...@yandex.ru added the comment: Matthew Barnett wrote: The re module creates the dict purely for the benefit of the user this dict affects on regex.sub() import re p = re.compile(r'abc(?Pndef)') p.groupindex {'n': 1} p.groupindex['n'] = 2 p.sub(r'\gn', 'abcdef') Traceback

[issue2377] Replace __import__ w/ importlib.__import__

2012-03-12 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Looks like Windows as a PC/import_nt.c:_PyWin_FindRegisteredModule() function used to find modules in the registry. Probably should care about that at some point (I guess). -- ___ Python tracker

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Ali Ikinci
Ali Ikinci a...@ikinci.info added the comment: This patch fixes the issue but needs review. It is my first patch ever so be nice :) -- keywords: +patch Added file: http://bugs.python.org/file24800/issue14238.patch ___ Python tracker

[issue14268] _move_file is broken because of a bad mock

2012-03-12 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c0a9ba08ebe3 by Tarek Ziade in branch 'default': fixed a test mock issue (#14268) http://hg.python.org/distutils2/rev/c0a9ba08ebe3 -- nosy: +python-dev ___ Python tracker

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Thanks you for your contribution! I hope you’ll find fun bugs to make patches for. Your patch looks too simplistic; in the discussion, we agreed that if the lookup fails, the site module should not add user site directories (see

[issue13394] Patch to increase aifc lib test coverage

2012-03-12 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset fc3a63ed1f67 by Ezio Melotti in branch '3.2': #13394: add more tests for the aifc module. Patch by Oleg Plakhotnyuk. http://hg.python.org/cpython/rev/fc3a63ed1f67 New changeset 512d3ad81fb9 by Ezio Melotti in

[issue14269] SMTPD server does not enforce client starting mail transaction with HELO or EHLO

2012-03-12 Thread Dan Boswell
New submission from Dan Boswell fruitn...@gmail.com: The current SMTP RFC (5321) states that 'a client MUST issue HELO or EHLO before starting a mail transaction'. The SMTP server should issue '503 Bad sequence of commands' if a client sends MAIL, RCPT or DATA commands before it sends an

[issue13842] Cannot pickle Ellipsis or NotImplemented

2012-03-12 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 5353357382e2 by Łukasz Langa in branch 'default': #13842: check whether PyUnicode_FromString succeeded http://hg.python.org/cpython/rev/5353357382e2 -- ___ Python tracker

[issue14235] test_cmd.py does not correctly call reload()

2012-03-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Ah, right. Will apply your patch. -- assignee: - eric.araujo versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14235 ___

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Arkadiusz Miskiewicz Arkadiusz Miskiewicz
Arkadiusz MiskiewiczArkadiusz Miskiewicz ar...@maven.pl added the comment: $ LC_ALL=C sudo -u '#' -g '#' /bin/sh -c 'unset HOME ; python -c ' Traceback (most recent call last): File /usr/share/python2.7/site.py, line 567, in module main() File

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: See also the issue #10496. -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14238 ___

[issue14002] distutils2 fails to install a package from PyPI on Python 2.7.2

2012-03-12 Thread Tetsuya Morimoto
Tetsuya Morimoto tetsuya.morim...@gmail.com added the comment: I can reproduce it on Mac OS X. I made a patch which checks the func_name attribute of function before it refers. It works for me. However, I wonder if a function has both func.im_self and func.func_name? Tell me the background

[issue13394] Patch to increase aifc lib test coverage

2012-03-12 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the patches! -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13394

[issue14002] distutils2 fails to install a package from PyPI on Python 2.7.2

2012-03-12 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: see Bug 14263 also -- dependencies: +switch_index_if_fails fails on py2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14002 ___

[issue14270] Can't install a package in a specific directory

2012-03-12 Thread Mathieu Leduc-Hamel
New submission from Mathieu Leduc-Hamel marra...@gmail.com: When using distutils2.install.install_from_infos to install a package, no matter if you have an install_path parameter or not, it doesn't work. The problem seems to resided at: distutils2.install._run_install_from_archive Doesn't

[issue14238] python shouldn't need username in passwd database

2012-03-12 Thread Ali Ikinci
Ali Ikinci a...@ikinci.info added the comment: I would suggest that this issue is the same as http://bugs.python.org/issue10496 like Victor pointed out and would say close it because it is a duplicate. -- ___ Python tracker rep...@bugs.python.org

[issue13450] add assertions to implement the intent in ''.format_map test

2012-03-12 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 995cddd15313 by Eric V. Smith in branch '3.2': str.format_map tests don't do what they say: fix to actually implement the intent of the test. Closes #13450. http://hg.python.org/cpython/rev/995cddd15313 New

[issue14269] SMTPD server does not enforce client starting mail transaction with HELO or EHLO

2012-03-12 Thread Dan Boswell
Dan Boswell fruitn...@gmail.com added the comment: Attached a diff containing a unit-test for this behavior. -- keywords: +patch Added file: http://bugs.python.org/file24802/failing_test.diff ___ Python tracker rep...@bugs.python.org

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Attached is a patch which implements time.monotonic() using mach_absolute_time() / mach_timebase_info(). Is it possible that mach_timebase_info() fails? No according to the Technical QA QA1398. time * timebase.numer /

[issue13394] Patch to increase aifc lib test coverage

2012-03-12 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13394 ___ ___

[issue14271] remove setup.py from the doc

2012-03-12 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: http://docs.python.org/dev/packaging/index.html we still have setup.py pages here from the old doc -- assignee: eric.araujo components: Distutils2 messages: 155503 nosy: alexis, eric.araujo, j1m, tarek priority: normal severity:

[issue14272] ast.c: windows compile error

2012-03-12 Thread Stefan Krah
New submission from Stefan Krah stefan-use...@bytereef.org: The Windows build seems to be broken: Python-ast.c ..\Python\Python-ast.c(459) : error C2059: syntax error : ';'

[issue12978] Figure out extended attributes on BSDs

2012-03-12 Thread Nicholas Riley
Nicholas Riley com-python-b...@sabi.net added the comment: I've spent a few hours looking at xattr and the Linux/OS X (10.4+) implementations. Bob Ippolito's xattr module implements the OS X xattr interface on Linux, Solaris (9+) and FreeBSD. Linux and OS X are pretty close; FreeBSD and

[issue12978] Figure out extended attributes on BSDs

2012-03-12 Thread Nicholas Riley
Changes by Nicholas Riley com-python-b...@sabi.net: -- nosy: +bob.ippolito ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12978 ___ ___

[issue14271] remove setup.py from the doc

2012-03-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I have a clone with this fix and many more improvements. -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Update packaging documentation versions: +3rd party -Python 3.4

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Nicholas Riley
Nicholas Riley com-python-b...@sabi.net added the comment: timebase.numer and timebase.denom are always 1 in practice (see the note in the tech QA); I included them for completeness, but maybe it's just better to not bother? -- ___ Python tracker

[issue14184] test_recursion_limit fails on OS X when compiled with clang

2012-03-12 Thread Ned Deily
Ned Deily n...@acm.org added the comment: 3.2 also fails when compiled on 10.7 with clang. Issue9670 had increased the secondary stack size for OS X and FreeBSD by an empirically-determined amount to reduce the chance of crashes for recursive function calls. Continuing that somewhat kludgey

[issue14273] handler not properly initialized

2012-03-12 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: $ ./pysetup dwqqwddwq No handlers could be found for logger distutils2 -- assignee: eric.araujo components: Distutils2 messages: 155509 nosy: alexis, eric.araujo, tarek priority: high severity: normal status: open title: handler not

[issue14267] TimedRotatingFileHandler chooses wrong file name due to daylight saving time spring forward

2012-03-12 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +vinay.sajip versions: +Python 3.2, Python 3.3 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14267 ___

[issue14273] distutils2: logging handler not properly initialized

2012-03-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’ve seen that too when running “python -m packaging.run”, but I don’t understand why the behavior is different when running pysetup vs. ./pysetup vs. python -m: all of these run the same code. -- nosy: +vinay.sajip title: handler not

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: timebase.numer and timebase.denom are always 1 in practice In this case, you will not lose precision and it's safe to cast to double to multiply and divide ;-) -- ___ Python tracker

[issue14259] re.finditer() doesn't accept keyword arguments

2012-03-12 Thread Sean Reifschneider
Sean Reifschneider j...@tummy.com added the comment: Working on this. -- nosy: +jafo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14259 ___ ___

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14104 ___ ___ Python-bugs-list mailing

[issue14274] pysetup does not look at requires.txt

2012-03-12 Thread Tarek Ziadé
New submission from Tarek Ziadé ziade.ta...@gmail.com: the installer needs to read requires.txt to build the deps list as well -- assignee: eric.araujo components: Distutils2 messages: 155513 nosy: alexis, eric.araujo, tarek priority: normal severity: normal status: open title: pysetup

[issue14274] pysetup does not look at requires.txt

2012-03-12 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- assignee: eric.araujo - alexis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14274 ___ ___

[issue14275] pysetup create doesn't handle install requirements

2012-03-12 Thread Jan-Jaap Driessen
New submission from Jan-Jaap Driessen janjaapdriessen+pythonb...@gmail.com: Distutils2 pysetup can take an existing setuptools based project and convert it into the distutils2 setup.cfg syntax using `pysetup create`. The install requirements are not converted: {{{ svn co

[issue14259] re.finditer() doesn't accept keyword arguments

2012-03-12 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14259 ___

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Nicholas Riley
Nicholas Riley com-python-b...@sabi.net added the comment: OK, you have a point :-) New patch attached. -- Added file: http://bugs.python.org/file24804/monotonic-2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14104

[issue14234] CVE-2012-0876 (hash table collisions CPU usage DoS) for embedded copy of expat

2012-03-12 Thread Gregory P. Smith
Gregory P. Smith g...@krypto.org added the comment: Oddly, test_sax fails once this patch is applied (using 3.1). debugging now. test_sax test test_sax failed -- Traceback (most recent call last): File /home/greg/sandbox/python/cpython/3.1/Lib/xml/sax/expatreader.py, line 207, in feed

[issue14276] install latest version of a package

2012-03-12 Thread Jan-Jaap Driessen
New submission from Jan-Jaap Driessen janjaapdriessen+pythonb...@gmail.com: I would like to install the latest version of a package. The pysetup command does not give me easy access to do this. Can we add an 'upgrade' method? -- assignee: eric.araujo components: Distutils2 messages:

[issue14277] time.monotonic docstring does not mention the time unit returned

2012-03-12 Thread Nicholas Riley
New submission from Nicholas Riley com-python-b...@sabi.net: Currently: help(time.monotonic) Help on built-in function monotonic in module time: monotonic(...) monotonic() - float Monotonic clock. The reference point of the returned value is undefined so only the difference

[issue14179] Test coverage for lib/re.py

2012-03-12 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset cc48eef234dd by Ezio Melotti in branch '2.7': #14179: add tests for re.compile. Patch by Florian Mladitsch. http://hg.python.org/cpython/rev/cc48eef234dd -- nosy: +python-dev

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14104 ___

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 3c875719e46d by Victor Stinner in branch 'default': Issue #14104: Implement time.monotonic() on Mac OS X, http://hg.python.org/cpython/rev/3c875719e46d -- nosy: +python-dev

[issue14104] Implement time.monotonic() on Mac OS X

2012-03-12 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: Path commited, thanks for the patch Nicholas! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14104 ___

[issue14276] installing latest version of a project

2012-03-12 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: When you install a project for the first time and you don’t specify a version number, i.e. pysetup install spam, the latest version (or the latest final version (non-alpha/beta/rc), Alexis knows better) should be installed. This could be added

[issue14179] Test coverage for lib/re.py

2012-03-12 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset fafe12f2a030 by Ezio Melotti in branch '3.2': #14179: add tests for re.compile. Patch by Florian Mladitsch. http://hg.python.org/cpython/rev/fafe12f2a030 New changeset 4a5eafcdde11 by Ezio Melotti in branch

[issue14179] Test coverage for lib/re.py

2012-03-12 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed, thanks for the patch! -- assignee: - ezio.melotti resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue14277] time.monotonic docstring does not mention the time unit returned

2012-03-12 Thread STINNER Victor
STINNER Victor victor.stin...@gmail.com added the comment: time.monotonic() has 3 implementations: * Windows: QueryPerformanceCounter() with QueryPerformanceFrequency() * Mac OS X: mach_absolute_time() with mach_timebase_info() * UNIX: clock_gettime(CLOCK_MONOTONIC_RAW) or

  1   2   >