summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
Commit message (Collapse)AuthorAgeFilesLines
...
* | Update whatsnew/3.4 wrt. --version going to stdout. #18338, #18920, #18922Eli Bendersky2013-09-061-0/+7
| |
* | Issue #18878: sunau.open now supports the context manager protocol. Based onSerhiy Storchaka2013-09-051-0/+2
| | | | | | | | patches by Claudiu Popa and R. David Murray.
* | Issue #16853: Mention the new selectors module in What's New in Python 3.4Victor Stinner2013-09-041-0/+2
| |
* | Issue #16853: Add new selectors module.Charles-François Natali2013-09-041-3/+4
| |
* | Issue #18901: The sunau getparams method now returns a namedtuple rather thanSerhiy Storchaka2013-09-031-0/+7
| | | | | | | | a plain tuple. Patch by Claudiu Popa.
* | Update whatsnew/3.4.rst wrt. the socket constants switch to IntEnumEli Bendersky2013-08-311-0/+3
| | | | | | | | [issue #18730]
* | Issue #17741: Rename IncrementalParser and its methods.Eli Bendersky2013-08-301-3/+2
| | | | | | | | | | | | The new names are hopefully more descriptive and consistent. If you feel you don't agree with this change, *please* read issue 17741 first - there's a lot of discussion in there.
* | Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-271-0/+33
| | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* | Typo fixAndrew Kuchling2013-08-191-1/+1
| |
* | Issue 18774: Update news and whatsnew for the set optimizationsRaymond Hettinger2013-08-191-0/+6
| |
* | Issue #8713: Support alternative start methods in multiprocessing on Unix.Richard Oudkerk2013-08-141-0/+13
| | | | | | | | See http://hg.python.org/sandbox/sbt#spawn
* | Remove duplicate text in 3.4 what's new (my bad)Antoine Pitrou2013-08-131-6/+0
| |
* | Sort whatsnew entries alphabeticallyAntoine Pitrou2013-08-121-32/+34
| |
* | Add whatsnew entries for 3.4.Antoine Pitrou2013-08-121-10/+103
| |
* | Issue #16400: Add command line option for isolated mode.Christian Heimes2013-08-101-1/+2
| | | | | | | | | | | | | | | | | | | | -I Run Python in isolated mode. This also implies -E and -s. In isolated mode sys.path contains neither the script’s directory nor the user’s site-packages directory. All PYTHON* environment variables are ignored, too. Further restrictions may be imposed to prevent the user from injecting malicious code.
* | #18600: add policy to add_string, and as_bytes and __bytes__ methods.R David Murray2013-08-091-0/+20
| | | | | | | | | | | | | | This was triggered by wanting to make the doctest in email.policy.rst pass; as_bytes and __bytes__ are clearly useful now that we have BytesGenerator. Also updated the Message docs to document the policy keyword that was added in 3.3.
* | Issue #14323: Expanded the number of digits in the coefficients for theSerhiy Storchaka2013-08-061-0/+7
| | | | | | | | RGB -- YIQ conversions so that they match the FCC NTSC versions.
* | Hum, VMS code is still presentVictor Stinner2013-08-041-1/+0
| |
* | Complete What's New in Python 3.4Victor Stinner2013-08-041-2/+7
| |
* | Issue #18589: fix hyperlinking of type slots (tp_*)Antoine Pitrou2013-08-011-3/+3
|\ \ | |/
| * Issue #18589: fix hyperlinking of type slots (tp_*)Antoine Pitrou2013-08-011-3/+3
| |
* | #17616: wave.open now supports the 'with' statement.R David Murray2013-07-311-1/+4
| | | | | | | | Feature and tests by ClClaudiu.Popa, I added the doc changes.
* | Issue #18112: PEP 442 implementation (safe object finalization).Antoine Pitrou2013-07-301-0/+15
| |
* | Close #13266: Add inspect.unwrapNick Coghlan2013-07-281-3/+11
| | | | | | | | Initial patch by Daniel Urban and Aaron Iles
* | #17818: aifc.getparams now returns a namedtuple.R David Murray2013-07-251-0/+6
| | | | | | | | Patch by Claudiu Popa.
* | Close issue 17482: don't overwrite __wrapped__Nick Coghlan2013-07-151-0/+9
| |
* | Issue #3329: Implement the PEP 445Victor Stinner2013-07-071-14/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new enum: * PyMemAllocatorDomain Add new structures: * PyMemAllocator * PyObjectArenaAllocator Add new functions: * PyMem_RawMalloc(), PyMem_RawRealloc(), PyMem_RawFree() * PyMem_GetAllocator(), PyMem_SetAllocator() * PyObject_GetArenaAllocator(), PyObject_SetArenaAllocator() * PyMem_SetupDebugHooks() Changes: * PyMem_Malloc()/PyObject_Realloc() now always call malloc()/realloc(), instead of calling PyObject_Malloc()/PyObject_Realloc() in debug mode. * PyObject_Malloc()/PyObject_Realloc() now falls back to PyMem_Malloc()/PyMem_Realloc() for allocations larger than 512 bytes. * Redesign debug checks on memory block allocators as hooks, instead of using C macros
* | Issue #15767: back out 8a0ed9f63c6e, finishing the removal ofBrett Cannon2013-07-041-3/+0
| | | | | | | | ModuleNotFoundError.
* | Issue #15767: Revert 3a50025f1900 for ModuleNotFoundErrorBrett Cannon2013-07-041-1/+2
| |
* | #18111: Add What's New entry for max/min default.R David Murray2013-06-281-0/+3
| |
* | #11390: convert doctest CLI to argparse and add -o and -f options.R David Murray2013-06-231-2/+9
| | | | | | | | | | | | This provides a way to specify arbitrary doctest options when using the CLI interface to process test files, just as one can when calling testmod or testfile programmatically.
* | Issue #11016: Add C implementation of the stat module as _statChristian Heimes2013-06-221-1/+6
| |
* | ... also TLSv1.1 and TLSv1.2Christian Heimes2013-06-221-0/+3
| |
* | Add my SSL module patches to whatsnew 3.4Christian Heimes2013-06-221-0/+12
| |
* | whatsnew/3.4: mention functools.singledispatch, PEP 443Victor Stinner2013-06-201-0/+6
| |
* | whatsnew/3.4: mention the new enum module, PEP 435Victor Stinner2013-06-201-2/+2
| |
* | importlib.abc.SourceLoader.get_source() was re-raising SyntaxError andBrett Cannon2013-06-161-0/+9
| | | | | | | | | | | | | | | | | | UnicodeDecodeError as ImportError. That was over-reaching the point of raising ImportError in get_source() (which is to signal the source code was not found when it should have). Conflating the two exceptions with ImportError could lead to masking errors with the source which should be known outside of whether there was an error simply getting the source to begin with.
* | Issue #17177: The imp module is pending deprecation.Brett Cannon2013-06-161-0/+3
| | | | | | | | | | | | To make sure there is no issue with code that is both Python 2 and 3 compatible, there are no plans to remove the module any sooner than Python 4 (unless the community moves to Python 3 solidly before then).
* | Fix typo; clarify that the methods were removed entirelyAndrew Kuchling2013-06-151-2/+2
| |
* | Move something to the right section of What's NewBrett Cannon2013-06-151-4/+6
| |
* | Issue #17222: Raise FileExistsError when py_compile.compile wouldBrett Cannon2013-06-141-0/+5
| | | | | | | | overwrite a symlink or non-regular file with a regular file.
* | Issue #15767: Touch up ModuleNotFoundError usage by import.Brett Cannon2013-06-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Forgot to raise ModuleNotFoundError when None is found in sys.modules. This led to introducing the C function PyErr_SetImportErrorSubclass() to make setting ModuleNotFoundError easier. Also updated the reference docs to mention ModuleNotFoundError appropriately. Updated the docs for ModuleNotFoundError to mention the None in sys.modules case. Lastly, it was noticed that PyErr_SetImportError() was not setting an exception when returning None in one case. That issue is now fixed.
* | Issue #15767: Introduce ModuleNotFoundError, a subclass ofBrett Cannon2013-06-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ImportError. The exception is raised by import when a module could not be found. Technically this is defined as no viable loader could be found for the specified module. This includes ``from ... import`` statements so that the module usage is consistent for all situations where import couldn't find what was requested. This should allow for the common idiom of:: try: import something except ImportError: pass to be updated to using ModuleNotFoundError and not accidentally mask ImportError messages that should propagate (e.g. issues with a loader). This work was driven by the fact that the ``from ... import`` statement needed to be able to tell the difference between an ImportError that simply couldn't find a module (and thus silence the exception so that ceval can raise it) and an ImportError that represented an actual problem.
* | Issue #18065: For frozen packages set __path__ to [].Brett Cannon2013-06-011-0/+7
| | | | | | | | | | | | | | Previously __path__ was set to [__name__], but that could lead to bad results if someone managed to circumvent the frozen importer and somehow ended up with a finder that thought __name__ was a legit directory/location.
* | Issues #18088, 18089: IntroduceBrett Cannon2013-05-311-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | importlib.abc.Loader.init_module_attrs() and implement importlib.abc.InspectLoader.load_module(). The importlib.abc.Loader.init_module_attrs() method sets the various attributes on the module being loaded. It is done unconditionally to support reloading. Typically people used importlib.util.module_for_loader, but since that's a decorator there was no way to override it's actions, so init_module_attrs() came into existence to allow for overriding. This is also why module_for_loader is now pending deprecation (having its other use replaced by importlib.util.module_to_load). All of this allowed for importlib.abc.InspectLoader.load_module() to be implemented. At this point you can now implement a loader with nothing more than get_code() (which only requires get_source(); package support requires is_package()). Thanks to init_module_attrs() the implementation of load_module() is basically a context manager containing 2 methods calls, a call to exec(), and a return statement.
* | Update What's New for importlib.util.module_to_load name changeBrett Cannon2013-05-311-1/+1
| |
* | Issue #18070: importlib.util.module_for_loader() now sets __loader__Brett Cannon2013-05-281-1/+6
| | | | | | | | | | and __package__ unconditionally in order to do the right thing for reloading.
* | Issue #11816: multiple improvements to the dis moduleNick Coghlan2013-05-061-0/+15
| | | | | | | | | | | | | | | | * get_instructions generator * ability to redirect output to a file * Bytecode and Instruction abstractions Patch by Nick Coghlan, Ryan Kelly and Thomas Kluyver.
* | #17115,17116: Have modules initialize the __package__ and __loader__Brett Cannon2013-05-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attributes to None. The long-term goal is for people to be able to rely on these attributes existing and checking for None to see if they have been set. Since import itself sets these attributes when a loader does not the only instances when the attributes are None are from someone overloading __import__() and not using a loader or someone creating a module from scratch. This patch also unifies module initialization. Before you could have different attributes with default values depending on how the module object was created. Now the only way to not get the same default set of attributes is to circumvent initialization by calling ModuleType.__new__() directly.
* | #2118: IOError is deprecated, use OSError.R David Murray2013-04-141-1/+1
| |