[issue23389] pkgutil.find_loader raises an ImportError on PEP 420 implicit namespace packages

2015-02-04 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23389 ___ ___ Python-bugs-list

[issue23281] Access violation - pyc file

2015-01-20 Thread Brett Cannon
Brett Cannon added the comment: If it was created by a fuzzer then this isn't a bug as we do no validation of bytecode formatting as we assume it was generated by Python and not an external, malicious source. -- nosy: +brett.cannon resolution: - not a bug status: open - closed

[issue23240] pip 6.0.6- pip install command is broken

2015-01-14 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - third party status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23240

[issue23300] An improper change in httplib.py

2015-01-22 Thread Brett Cannon
Brett Cannon added the comment: That leading underscore in the method name means it is not a public API and thus changes are allowed without any backwards-compatibility guarantees. Mercurial will need to update their code to handle this if they want to continue to use the method

[issue23253] Delay-load ShellExecute

2015-01-18 Thread Brett Cannon
Brett Cannon added the comment: If you want a robust measurement of startup impact, the benchmark suite has two benchmarks specifically for startup (w/ and w/o site.py). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23253

[issue23257] Update Windows build/setup instructions in devguide

2015-01-18 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23257 ___ ___ Python-bugs-list

[issue23253] Delay-load ShellExecute

2015-01-18 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23253 ___ ___ Python-bugs-list

[issue23013] Tweak wording for importlib.util.LazyLoader in regards to Loader.create_module()

2015-01-16 Thread Brett Cannon
Brett Cannon added the comment: Change went in through making create_module() required. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23013

[issue21581] Consider dropping importlib.abc.Loader.create_module()

2015-01-16 Thread Brett Cannon
Brett Cannon added the comment: create_module() is now slated to be required in Python 3.6. -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21581

[issue22992] Adding a git developer's guide to Mercurial to devguide

2015-01-16 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the hard work, Demian! I don't remember how often the devguide is updated online, but it should hopefully be no longer than a day (probably more like an hour). -- resolution: - fixed stage: patch review - resolved status: open - closed

[issue23483] python 2.7 builds using icc

2015-02-19 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - duplicate ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23483 ___ ___ Python-bugs-list

[issue23203] Aliasing import of sub-{module, package} from the package raises AttributeError on import.

2015-01-10 Thread Brett Cannon
Brett Cannon added the comment: That seems reasonable. I guess first step is a patch and then seeing if it passes the test suite. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23203

[issue23014] Don't have importlib.abc.Loader.create_module() be optional

2015-01-09 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23014

[issue23203] Aliasing import of sub-{module, package} from the package raises AttributeError on import.

2015-01-09 Thread Brett Cannon
Brett Cannon added the comment: I think I would need to see exactly how you want the bytecode to change and then think over any backwards-compatibility issues since this is doesn't come up very often. -- ___ Python tracker rep...@bugs.python.org

[issue22992] Adding a git developer's guide to Mercurial to devguide

2015-01-09 Thread Brett Cannon
Brett Cannon added the comment: If Antoine or Ezio don't make any more comments or commit this themselves then I will take the patch as-is and commit it next Friday. Sorry for the delay, Demian, but December is always a slow month due to holidays

[issue23412] importlib sometimes fails to import a recently created module

2015-02-09 Thread Brett Cannon
Brett Cannon added the comment: Because stat results are cached for performance reasons, it's possible to write to the file system and then try to read/import from it before the modification time for the directory even picks up that there was a change. For this reason

[issue23422] Clarify docs for importlib.import_module()

2015-02-09 Thread Brett Cannon
New submission from Brett Cannon: * Link to the function from importlib.__import__() * Link to importlib.invalidate_caches() * Linkify mention in docs for importlib.util.find_spec() -- assignee: brett.cannon components: Documentation messages: 235616 nosy: brett.cannon priority: low

[issue15914] multiprocessing.SyncManager connection hang

2015-02-13 Thread Brett Cannon
Brett Cannon added the comment: Dead code deletion should be a separate issue, so I'm going to close this as fixed. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15914

[issue23447] Import fails when doing a circular import involving an `import *`

2015-02-13 Thread Brett Cannon
Brett Cannon added the comment: If you want to take a stab at it, Steven, go for it and I will review the patch, but as you pointed out this is such an edge case that I'm personally not going to worry about fixing it and still don't consider it a bug. -- title: Relative imports

[issue23447] Relative imports with __all__ attribute

2015-02-12 Thread Brett Cannon
Brett Cannon added the comment: If you put a print call after your `from . import *` call you will notice it never gets executed. Basically import is still in the middle of finishing imports when that import * is reached, including setting the module attributes on the package. Basically you

[issue15914] multiprocessing.SyncManager connection hang

2015-02-12 Thread Brett Cannon
Brett Cannon added the comment: I'm adding Nick to see if he has anything to add since he was the one that worked on the change that Richard said caused the problem. But in my opinion this is in the same realm as importing as a side-effect of spawning a thread; don't do it. -- nosy

[issue23696] zipimport: chain ImportError to OSError

2015-03-18 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +twouters ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23696 ___ ___ Python-bugs-list mailing

[issue23731] Implement PEP 488

2015-03-22 Thread Brett Cannon
Brett Cannon added the comment: Will probably want to see http://bugs.python.org/issue17232 resolved as part of this as well. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23731

[issue23738] Clarify documentation of positional-only default values

2015-03-22 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23738 ___ ___ Python-bugs-list

[issue23723] Provide a way to disable bytecode staleness checks

2015-03-22 Thread Brett Cannon
Brett Cannon added the comment: I haven't thought about how to implement it, let alone document it. As I said, I might simply refactor importlib so that others can at least implement a loader which can do this without having to directly muck with importlib itself. It really depends on how far

[issue23681] Have -b warn when directly comparing ints and bytes

2015-03-16 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- priority: deferred blocker - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23681

[issue23681] Have -b warn when directly comparing ints and bytes

2015-03-16 Thread Brett Cannon
New submission from Brett Cannon: To help writing Python 2/3 code the -b flag should switch on a warning when comparing an int to a bytes object in Python 2. This will help when someone writes something like `b'abcd'[2] == b'c'` and it always returns False thanks to the indexing returning 99

[issue23681] Have -b warn when directly comparing ints and bytes

2015-03-16 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- priority: normal - deferred blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23681

[issue23681] Have -b warn when directly comparing ints and bytes

2015-03-16 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- versions: +Python 3.5 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23681 ___ ___ Python

[issue2292] Missing *-unpacking generalizations

2015-03-17 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2292 ___ ___ Python

[issue23721] Set up a daily test coverage run

2015-03-20 Thread Brett Cannon
New submission from Brett Cannon: devinabox has instructions on how to get the best test coverage for Python possible: https://hg.python.org/devinabox/file/1eeb96fe98f1/README#l124 . It would probably be good to get a test report at least daily to help keep an eye on general test coverage

[issue22832] Tweak parameter names for fcntl module

2015-03-20 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: docs@python - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22832

[issue23733] Update porting HOWTO for bytes interpolation

2015-03-21 Thread Brett Cannon
New submission from Brett Cannon: The porting HOWTO for Python 3.5 doesn't mention that bytes interpolation will exist. -- assignee: brett.cannon components: Documentation messages: 238804 nosy: brett.cannon priority: normal severity: normal status: open title: Update porting HOWTO

[issue23732] Update porting HOWTO about new -b semantics

2015-03-21 Thread Brett Cannon
New submission from Brett Cannon: Thanks to http://bugs.python.org/issue23681 we now have a better story about helping people find int/bytes comparison issues. The docs for Python 3.5 -- but not Python 3.4! -- should get updated to point out this change. -- assignee: brett.cannon

[issue23731] Implement PEP 488

2015-03-21 Thread Brett Cannon
New submission from Brett Cannon: https://www.python.org/dev/peps/pep-0488/ -- assignee: brett.cannon components: Interpreter Core messages: 238799 nosy: brett.cannon priority: release blocker severity: normal stage: test needed status: open title: Implement PEP 488 type: enhancement

[issue23723] Provide a way to disable bytecode staleness checks

2015-03-21 Thread Brett Cannon
Brett Cannon added the comment: What Greg said. =) Basically it would allow those who know what they are doing to cut out a stat call per load. I suspect anyone deploying to a server is in a similar situation where they are not actively editing the code once deployed, and so saving

[issue23681] Have -b warn when directly comparing ints and bytes

2015-03-20 Thread Brett Cannon
Brett Cannon added the comment: I did one final pass on the patch and only had wording comments, so tweak those and it LGTM. Assigned to Serhiy since it's obviously his patch. =) Only other thing is to either open up a separate bug or at least apply the fixes to the stdlib in Python 3.4

[issue23723] Provide a way to disable bytecode staleness checks

2015-03-20 Thread Brett Cannon
New submission from Brett Cannon: In environments where bytecode generation is thoroughly controlled, it would be nice if there was a way to specify that the bytecode file is externally guaranteed to be up-to-date, and thus skip any stat call involving bytecode verification. Could

[issue23625] load_module() docs: zipped eggs are not loaded.

2015-03-11 Thread Brett Cannon
Brett Cannon added the comment: Egg files are not a part of the Python stdlib and so I don't understand why you expected them to be supported by imp? Anyway, because egg files are not from Python itself but a third-party project they shouldn't be referenced from the official docs as it would

[issue23615] Reloading tokenize breaks tokenize.open()

2015-03-11 Thread Brett Cannon
Brett Cannon added the comment: LGTM as well. You want to commit, Serhiy? If not assign to me and I will get to it on Friday. -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23615

[issue23628] See if os.scandir() could help speed up importlib

2015-03-10 Thread Brett Cannon
New submission from Brett Cannon: With os.scandir() now committed and implemented in C, it would be interesting to see if os.scandir() could provide any performance benefit to importlib. If finders can pass the DirEntry to loaders then some stat calls could potentially be saved at the expense

[issue23595] Split the math module into _math (C) + math (py)

2015-03-06 Thread Brett Cannon
Brett Cannon added the comment: I interpret Guido's email as vetoing the skipping of the C implementation of PEP 485, not on outright banning a PEP 399 math.py if someone like Victor wanted to put the work into implementing some things on top of the C code in Python. So as long as everything

[issue23642] Interaction of ModuleSpec and C Extension Modules

2015-03-12 Thread Brett Cannon
Brett Cannon added the comment: There is a proposed PEP on the import-sig: https://mail.python.org/pipermail/import-sig/2015-March/000904.html . I'm hoping to add it for the author to the PEP index on Friday. Basically we punted on extension modules as we ran out of time in Python 3.4

[issue23625] load_module() docs: zipped eggs are not loaded.

2015-03-12 Thread Brett Cannon
Brett Cannon added the comment: I understood what you asked. My point is that mentioning eggs in the imp doesn't make sense since the imp module nor import supports them natively. Eggs are a setuptools thing, not a Python standard library thing

[issue23628] See if os.scandir() could help speed up importlib

2015-03-13 Thread Brett Cannon
Brett Cannon added the comment: The answer is no. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23628

[issue23642] Interaction of ModuleSpec and C Extension Modules

2015-03-13 Thread Brett Cannon
Brett Cannon added the comment: The PEP is now live: https://www.python.org/dev/peps/pep-0489/ . If you want to participate in the discussion it will probably happen on the import-sig. -- ___ Python tracker rep...@bugs.python.org http

[issue23657] Don't do isinstance checks in zipapp

2015-03-14 Thread Brett Cannon
Brett Cannon added the comment: Depends on whether you want to support pathlib.Path objects explicitly. =) If so then yes, we should add tests. Which reminds me, it might be time for you to request commit privileges so you can commit patches like this yourself

[issue23491] PEP 441 - Improving Python Zip Application Support

2015-03-13 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the patch, Paul! I touched up the formatting to be more PEP 8 compliant and fixed the tests as they initially failed for me (TESTFN didn't exist prior to you trying to make a directory, so it just failed; switched to tempfile.TemporaryDirectory

[issue23657] Don't do isinstance checks in zipapp

2015-03-13 Thread Brett Cannon
New submission from Brett Cannon: As it stand, zipapp's code checks for str and then otherwise assumes an object is a file-like object. It might work out better to do some duck typing and simply check if an object has 'read' and 'readline' attributes then it's a file-like object and otherwise

[issue23657] Don't do isinstance checks in zipapp

2015-03-13 Thread Brett Cannon
Brett Cannon added the comment: Here is a proposed patch that does what I was thinking. What do you think? As for updating zipfile, it's possible but slightly risky because of backwards-compatibility. Since this is all-new code there is no worry about breaking someone's pre-existing code

[issue23643] Segmentation Fault with Large Simple Function

2015-03-13 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23643 ___ ___ Python-bugs-list

[issue23773] importlib does not properly remove frames when invoking external import hooks

2015-03-25 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23773 ___ ___ Python-bugs

[issue23810] Suboptimal stacklevel of deprecation warnings for formatter and imp modules

2015-03-30 Thread Brett Cannon
Brett Cannon added the comment: Probably need to introduce a new keyword argument just for deprecated imports or some helper function in importlib to get the stack depth right (else there is a risk of breaking the stack depth in any minor release whenever importlib's depth shifts). Something

[issue23807] Improved test coverage for calendar.py command line

2015-03-30 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23807 ___ ___ Python-bugs-list

[issue23818] test_enum failing test_class_nested_enum_and_pickle_protocol_four

2015-03-31 Thread Brett Cannon
New submission from Brett Cannon: test test_enum failed -- Traceback (most recent call last): File /Users/bcannon/Repositories/cpython/default/Lib/test/test_enum.py, line 580, in test_class_nested_enum_and_pickle_protocol_four protocol=(0, 3)) File /Users/bcannon/Repositories/cpython

[issue23825] test_idle fails under -OO

2015-03-31 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- components: IDLE nosy: brett.cannon priority: normal severity: normal stage: needs patch status: open title: test_idle fails under -OO versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http

[issue23826] test_enum fails under -OO

2015-03-31 Thread Brett Cannon
New submission from Brett Cannon: == FAIL: test_pydoc (__main__.TestStdLib) -- Traceback (most recent call last): File /Users/bcannon/Repositories/cpython

[issue23829] test_warnings fails under -Werror

2015-03-31 Thread Brett Cannon
New submission from Brett Cannon: == ERROR: test_warning_classes (__main__.CWarnTests) -- Traceback (most recent call last): File /Users/bcannon/Repositories

[issue23827] test.test_multiprocessing_spawn fails under -Werror

2015-03-31 Thread Brett Cannon
New submission from Brett Cannon: == FAIL: test_sys_exit (__main__.WithProcessesTestSubclassingProcess) -- Traceback (most recent call last): File /Users

[issue23828] test_socket fails under -Werror

2015-03-31 Thread Brett Cannon
New submission from Brett Cannon: == ERROR: testCmsgTruncLen0 (__main__.RecvmsgSCMRightsStreamTest) -- Traceback (most recent call last): File /Users/bcannon

[issue23819] test_asyncio fails when run under -O

2015-03-31 Thread Brett Cannon
New submission from Brett Cannon: Ton of failures along the lines of: == ERROR: test_ctor (test.test_asyncio.test_unix_events.UnixReadPipeTransportTests

[issue23820] test_importlib fails under -O

2015-03-31 Thread Brett Cannon
New submission from Brett Cannon: == FAIL: test_cached_sourceless (test.test_importlib.test_spec.Frozen_ModuleSpecTests) -- Traceback (most recent call last

[issue23821] test_pdb fails under -O

2015-03-31 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- components: Tests nosy: brett.cannon priority: normal severity: normal stage: needs patch status: open title: test_pdb fails under -O versions: Python 3.5 ___ Python tracker rep...@bugs.python.org http

[issue23822] test_py_compile fails under -O

2015-03-31 Thread Brett Cannon
New submission from Brett Cannon: == FAIL: test_double_dot_no_clobber (__main__.PyCompileTests) -- Traceback (most recent call last): File /Users/bcannon

[issue23794] http package should support HTTP/2

2015-03-28 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23794 ___ ___ Python-bugs-list

[issue17515] Add sys.setasthook() to allow to use a custom AST optimizer

2015-03-28 Thread Brett Cannon
Brett Cannon added the comment: The closing of this issue inspired me to think of a better way to do this, and I think providing something in importlib.util that accepted a NodeTransformer as an argument to a function that compiled source files to bytecode files would fill this issue thanks

[issue23738] Clarify documentation of positional-only default values

2015-03-23 Thread Brett Cannon
Brett Cannon added the comment: I say switch to what Argument Clinic uses, else there's a disconnect syntactically between help() and the docs. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23738

[issue21062] Evalute all import-related modules for best practices

2015-03-23 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: - brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21062 ___ ___ Python-bugs

[issue23731] Implement PEP 488

2015-04-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: Removed file: http://bugs.python.org/file38785/be7d966b660a.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23731

[issue23731] Implement PEP 488

2015-04-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- hgrepos: +303 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23731 ___ ___ Python-bugs-list mailing

[issue23731] Implement PEP 488

2015-04-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- keywords: +patch Added file: http://bugs.python.org/file38785/be7d966b660a.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23731

[issue23731] Implement PEP 488

2015-04-01 Thread Brett Cannon
Brett Cannon added the comment: Here is a patch that implements PEP 488 **except** for Windows installer stuff. I don't think the Windows changes need to block this patch going in, but I will need someone on Windows to help fix up PC/, PCbuild/, Tools/msi, Lib/distutils/command/bdist_msi.py

[issue23731] Implement PEP 488

2015-04-01 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: Added file: http://bugs.python.org/file38786/8ce8e9b1f3e7.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23731

[issue22834] Unexpected FileNotFoundError when current directory is removed

2015-02-27 Thread Brett Cannon
Brett Cannon added the comment: Thanks for catches the mistakes, guys! -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22834

[issue22832] Tweak parameter names for fcntl module

2015-02-27 Thread Brett Cannon
Brett Cannon added the comment: The patch LGTM. Serhiy, you have anything to add? -- stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22832

[issue22834] Unexpected FileNotFoundError when current directory is removed

2015-02-20 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the suggestion, Martin. Went with a variant of what you proposed. -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22834

[issue23422] Clarify docs for importlib.import_module()

2015-02-20 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23422

[issue22834] Unexpected FileNotFoundError when current directory is removed

2015-02-21 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22834 ___ ___ Python-bugs-list

[issue23279] test_site/test_startup_imports fails when mpl_toolkit or logilab based modules installed

2015-03-08 Thread Brett Cannon
Brett Cannon added the comment: Python's startup performance is very sensitive to what modules get imported for all Python programs. The tests that are failing for you make sure that a core developer doesn't accidentally introduce a new startup dependency and thus slow startup times without

[issue23732] Update porting HOWTO about new -b semantics

2015-04-13 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23732

[issue23822] test_py_compile fails under -O

2015-04-13 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the patch, Serhiy, but my PEP 488 patch invalidated yours. I just skipped it under -O rather than weakening the test to also work under -O. -- resolution: - fixed stage: patch review - resolved status: open - closed

[issue23733] Update porting HOWTO for bytes interpolation

2015-04-13 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23733

[issue23820] test_importlib fails under -O

2015-04-13 Thread Brett Cannon
Brett Cannon added the comment: The PEP 488 change actually fixed this. -- resolution: - out of date stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23820

[issue23773] importlib does not properly remove frames when invoking external import hooks

2015-04-13 Thread Brett Cannon
Brett Cannon added the comment: Did you happen to run the test suite with this change, Shiz? There's actually a test to make sure that the part of the traceback you're avoiding isn't lost in case there's a bug in importlib itself. Can you show that your change won't actually affect finding

[issue23731] Implement PEP 488

2015-04-13 Thread Brett Cannon
Brett Cannon added the comment: Thanks to Paul and Eric for the review and everyone who provided input! -- resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org

[issue23917] please fall back to sequential compilation when concurrent doesn't exist

2015-04-20 Thread Brett Cannon
Brett Cannon added the comment: LGTM -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23917 ___ ___ Python

[issue20851] Update devguide to cover testing from a tarball

2015-04-22 Thread Brett Cannon
Brett Cannon added the comment: I don't know if Larry is planning to do tarball releases for 3.5 (added him to the nosy to see). As for the install step, it would be best to suggest people install to a temp directory so they don't accidentally end up with a beta release stuck

[issue14019] Unify tests for str.format and string.Formatter

2015-04-24 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- assignee: brett.cannon - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14019 ___ ___ Python-bugs

[issue24050] Segmentation fault (core dumped)

2015-04-24 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24050 ___ ___ Python-bugs-list

[issue24049] Remove unused code in symtable.c and fix docs for import * checking

2015-04-24 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24049 ___ ___ Python-bugs-list

[issue24048] remove_module() needs to save/restore exception state

2015-04-24 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24048

[issue23810] Suboptimal stacklevel of deprecation warnings for formatter and imp modules

2015-04-24 Thread Brett Cannon
Brett Cannon added the comment: Here is a private function in warnings for calculating the stack depth to the first frame not referencing some key string. Can someone look at it to make sure it looks reasonable? I'm starting with it being private since it uses sys._getframe() and I don't

[issue23893] Forward-port future_builtins

2015-04-24 Thread Brett Cannon
Brett Cannon added the comment: I've decided that having the module exist in Python 2.7 and 3.5 but not 3.0 - 3.4 is just asking for trouble. -- resolution: - rejected status: open - closed ___ Python tracker rep...@bugs.python.org http

[issue23810] Suboptimal stacklevel of deprecation warnings for formatter and imp modules

2015-04-25 Thread Brett Cannon
Brett Cannon added the comment: OK, I'll look at making it more general for multiple names to skip. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23810

[issue24014] Second pass of PyCode_Optimize

2015-04-20 Thread Brett Cannon
Brett Cannon added the comment: Just FYI, http://bugs.python.org/issue11549 can act as a tracking issue for an AST optimization path that runs prior to the peepholer. -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http

[issue23723] Provide a way to disable bytecode staleness checks

2015-04-24 Thread Brett Cannon
Brett Cannon added the comment: Skipping the source stat makes no difference in startup time even if you import django.http as part of the work. This would definitely be mostly for people who launch so many processes that they actually gain from collecting microseconds worth of benefit from

[issue21243] Auto-generate exceptions.c from a Python file

2015-04-29 Thread Brett Cannon
Brett Cannon added the comment: All of the exception code is written in C. My hypothesis is that it isn't necessary to define *all* exceptions in C. Using a technique similar to importlib, I suspect we could write a bunch of the exceptions that are not critical to interpreter startup

[issue24069] Option to delete obsolete bytecode files

2015-04-29 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- versions: +Python 3.5 -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24069 ___ ___ Python

[issue24119] Carry comments with the AST

2015-05-04 Thread Brett Cannon
Brett Cannon added the comment: Normally I would agree comments don't belong there, but if we are going to start giving them semantic meaning then I don't think it's not so clear to me anymore. As to where to attach, simple place is off of the Module node. Another is to have

[issue10965] dev task of documenting undocumented APIs

2015-05-03 Thread Brett Cannon
Brett Cannon added the comment: The issue is still valid and waiting for someone to submit a patch to the devguide. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10965

  1   2   3   4   5   6   7   8   9   10   >