Commit Graph

1656 Commits

Author SHA1 Message Date
Brett Cannon f6901c8baa Issue #19410: Put back in special-casing of '' for
importlib.machinery.FileFinder.

While originally moved to stop special-casing '' as PathFinder farther
up the typical call chain now uses the cwd in the instance of '', it
was deemed an unnecessary risk to breaking subclasses of FileFinder to
take the special-casing out.
2013-11-01 10:37:57 -04:00
Nick Coghlan 367df12044 Assorted 3.4 What's New updates
- cross-references and attributions for inspect changes
- note improvements to inspect and pydoc handling of
  metaclasses and dynamic attributes (courtesy of the
  enum PEP)
- group all CPython implementation specific changes
  into a common section
- add see also links for most of the PEPs
- fix the see also link for the release PEP
- add suitable caveats on Argument Clinic inclusion
- clarify the change to __wrapped__ handling
2013-10-27 01:57:34 +10:00
Antoine Pitrou 3b2f0f0459 Issue #19375: The site module adding a "site-python" directory to sys.path, if it exists, is now deprecated. 2013-10-25 21:39:26 +02:00
Victor Stinner 3dd263faab Close #19345: fix typo 2013-10-23 18:54:43 +02:00
Christian Heimes 086b1afa55 Issue #19344: fix markup error in whatsnew
Thanks to Marius Gedminas
2013-10-22 11:49:34 +02:00
Christian Heimes b7bd5df809 Issue #16595: Add prlimit() to resource module
prlimit() is a Linux specific command that combines setrlimit, getrlimit and can set the limit
of other processes.
2013-10-22 11:21:54 +02:00
Victor Stinner 6633c39af8 fix typo in what's new in 3.4 2013-10-21 13:27:11 +02:00
Christian Heimes e1bfd3e296 Fix typo in whatsnew 2013-10-21 12:32:21 +02:00
Christian Tismer 59202e5fc7 add a filterfunc to zip file.PyZipFile.writepy, issue 19274 2013-10-21 03:59:23 +02:00
Nick Coghlan 0acceb7697 What's New updates prior to alpha 2013-10-20 13:22:21 +10:00
Serhiy Storchaka eaea5e9107 Issue #12866: The audioop module now supports 24-bit samples. 2013-10-19 21:10:46 +03:00
Georg Brandl 0f5bff24ab Doc markup fixes. 2013-10-19 17:46:38 +02:00
Brett Cannon 27e27f7ee1 Issue #18416: Have importlib.machinery.PathFinder treat '' as the cwd
and stop importlib.machinery.FileFinder treating '' as '.'.

Previous PathFinder transformed '' into '.' which led to __file__ for
modules imported from the cwd to always be relative paths. This meant
the values of the attribute were wrong as soon as the cwd changed.
This change now means that as long as the site module is run (which
makes all entries in sys.path absolute) then all values for __file__
will also be absolute unless it's for __main__ when specified by file
path in a relative way (modules imported by runpy will have an
absolute path).

Now that PathFinder is no longer treating '' as '.' it only makes
sense for FileFinder to stop doing so as well. Now no transformation
is performed for the directory given to the __init__ method.

Thanks to Madison May for the initial patch.
2013-10-18 11:39:04 -04:00
Nick Coghlan 240f86d7dd Close #19266: contextlib.ignore -> contextlib.suppress
Patch by Zero Piraeus.
2013-10-17 23:40:57 +10:00
Nick Coghlan 7d270ee05d Issue #16129: Add `Py_SetStandardStreamEncoding`
This new pre-initialization API allows embedding
applications like Blender to force a particular
encoding and error handler for the standard IO streams.

Also refactors Modules/_testembed.c to let us start
testing multiple embedding scenarios.

(Initial patch by Bastien Montagne)
2013-10-17 22:35:35 +10:00
R David Murray 3da240fd01 #18891: Complete new provisional email API.
This adds EmailMessage and, MIMEPart subclasses of Message
with new API methods, and a ContentManager class used by
the new methods.  Also a new policy setting, content_manager.

Patch was reviewed by Stephen J. Turnbull and Serhiy Storchaka,
and reflects their feedback.

I will ideally add some examples of using the new API to the
documentation before the final release.
2013-10-16 22:48:40 -04:00
Serhiy Storchaka 98b28fddd8 Issue #18758: Fixed and improved cross-references. 2013-10-13 23:12:09 +03:00
Nick Coghlan e206b6e10e Issue #17827: document codecs.encode and codecs.decode
- Merge from 3.3
- Added to What's New since these are more important in 3.x,
  as the bytes<->bytes and str<->str codecs don't fit the
  text model convenience methods in 3.x the way they did the
  basestring<->basestring methods in the 2.x text model
- Included under Library in Misc/NEWS for the same reason
2013-10-14 00:55:46 +10:00
Nick Coghlan b4534ae704 Docs tweaks for contextlib additions 2013-10-13 23:23:08 +10:00
Eric V. Smith 57841ddb5c Grammar fix. 2013-10-13 00:36:08 -04:00
Christian Heimes 17ecd1d384 Document speedup in whatsnew 2013-10-13 03:10:06 +02:00
Christian Heimes e92ef13b0a Issue #18582: Add 'pbkdf2_hmac' to the hashlib module. 2013-10-13 00:52:43 +02:00
Ezio Melotti 34808e2237 #19221: update whatsnew entry about UCD version. 2013-10-12 16:36:13 +03:00
Georg Brandl c2228c8995 Markup fix. 2013-10-12 13:24:55 +02:00
R David Murray 78d692f98e 18764: remove the problematic 'print' alias for the PDB 'p' command.
So that it no longer shadows the print function.

Patch by Connor Osborn, doc and test changes by R. David Murray.
2013-10-10 17:23:26 -04:00
Victor Stinner 2fe9bac4dc Close #16742: Fix misuse of memory allocations in PyOS_Readline()
The GIL must be held to call PyMem_Malloc(), whereas PyOS_Readline() releases
the GIL to read input.

The result of the C callback PyOS_ReadlineFunctionPointer must now be a string
allocated by PyMem_RawMalloc() or PyMem_RawRealloc() (or NULL if an error
occurred), instead of a string allocated by PyMem_Malloc() or PyMem_Realloc().

Fixing this issue was required to setup a hook on PyMem_Malloc(), for example
using the tracemalloc module.

PyOS_Readline() copies the result of PyOS_ReadlineFunctionPointer() into a new
buffer allocated by PyMem_Malloc(). So the public API of PyOS_Readline() does
not change.
2013-10-10 16:18:20 +02:00
Victor Stinner 8d19767403 Close #19199: Remove ``PyThreadState.tick_counter`` field 2013-10-09 14:53:01 +02:00
Brett Cannon 1448ecf470 Issue #18716: Deprecate the formatter module 2013-10-04 11:38:59 -04:00
Serhiy Storchaka 7c411a4041 Issue #19132: The pprint module now supports compact mode. 2013-10-02 11:56:18 +03:00
Nick Coghlan f94a16b494 Close #18626: add a basic CLI for the inspect module 2013-09-22 22:46:49 +10:00
Nick Coghlan be57ab8a34 Close #19047: weakref doc cleanups
- be clear finalizers survive automatically
- update for PEP 442 __del__ changes
- mention module cleanup changes and weakref.finalize in What's New
2013-09-22 21:26:30 +10:00
Georg Brandl c6ebbef6bd One more markup fix. 2013-09-16 04:03:12 +02:00
Andrew Kuchling 173a157e72 #1565525: Add traceback.clear_frames() helper function to clear locals ref'd by a traceback 2013-09-15 18:15:56 -04:00
Raymond Hettinger 8408dc581e Issue 18771: Make it possible to set the number linear probes at compile-time. 2013-09-15 14:57:15 -07:00
Georg Brandl 5642ff9d8e Fixup reST syntax errors and streamline docs of PEP 446. 2013-09-15 10:37:57 +02:00
Eli Bendersky 96d848ace4 Update whatsnew/3.4 wrt. --version going to stdout. #18338, #18920, #18922 2013-09-06 06:55:58 -07:00
Serhiy Storchaka 34d201374c Issue #18878: sunau.open now supports the context manager protocol. Based on
patches by Claudiu Popa and R. David Murray.
2013-09-05 17:01:53 +03:00
Victor Stinner 4aea4a0c89 Issue #16853: Mention the new selectors module in What's New in Python 3.4 2013-09-04 20:30:34 +02:00
Charles-François Natali 243d8d85de Issue #16853: Add new selectors module. 2013-09-04 19:02:49 +02:00
Serhiy Storchaka e06a89655a Issue #18901: The sunau getparams method now returns a namedtuple rather than
a plain tuple.  Patch by Claudiu Popa.
2013-09-04 00:43:03 +03:00
Eli Bendersky 34567ec94b Update whatsnew/3.4.rst wrt. the socket constants switch to IntEnum
[issue #18730]
2013-08-31 15:18:48 -07:00
Eli Bendersky b586934f0e Issue #17741: Rename IncrementalParser and its methods.
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.
2013-08-30 05:51:20 -07:00
Victor Stinner daf455554b Issue #18571: Implementation of the PEP 446: file descriptors and file handles
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
2013-08-28 00:53:59 +02:00
Andrew Kuchling 13aa7818ac Typo fix 2013-08-19 13:07:18 -04:00
Raymond Hettinger c301b55d7b Issue 18774: Update news and whatsnew for the set optimizations 2013-08-19 09:12:20 -07:00
Richard Oudkerk 84ed9a68bd Issue #8713: Support alternative start methods in multiprocessing on Unix.
See http://hg.python.org/sandbox/sbt#spawn
2013-08-14 15:35:41 +01:00
Antoine Pitrou 0c7907dd48 Remove duplicate text in 3.4 what's new (my bad) 2013-08-13 22:25:56 +02:00
Antoine Pitrou d6cbd34aad Sort whatsnew entries alphabetically 2013-08-12 20:48:15 +02:00
Antoine Pitrou f89aa9af3c Add whatsnew entries for 3.4. 2013-08-12 20:46:47 +02:00
Christian Heimes ad73a9cf97 Issue #16400: Add command line option for isolated mode.
-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.
2013-08-10 16:36:18 +02:00
R David Murray bb17d2b857 #18600: add policy to add_string, and as_bytes and __bytes__ methods.
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.
2013-08-09 16:15:28 -04:00
Serhiy Storchaka 9b855de8d2 Issue #14323: Expanded the number of digits in the coefficients for the
RGB -- YIQ conversions so that they match the FCC NTSC versions.
2013-08-06 11:51:23 +03:00
Victor Stinner 8580dab513 Hum, VMS code is still present 2013-08-04 10:32:26 +02:00
Victor Stinner f3fd13b5dd Complete What's New in Python 3.4 2013-08-04 10:30:57 +02:00
Antoine Pitrou a68cbfa556 Issue #18589: fix hyperlinking of type slots (tp_*) 2013-08-01 21:14:43 +02:00
Antoine Pitrou 39668f57f4 Issue #18589: fix hyperlinking of type slots (tp_*) 2013-08-01 21:12:45 +02:00
R David Murray c91d5eea10 #17616: wave.open now supports the 'with' statement.
Feature and tests by ClClaudiu.Popa, I added the doc changes.
2013-07-31 13:46:08 -04:00
Antoine Pitrou 796564c27b Issue #18112: PEP 442 implementation (safe object finalization). 2013-07-30 19:59:21 +02:00
Nick Coghlan e8c45d6d0e Close #13266: Add inspect.unwrap
Initial patch by Daniel Urban and Aaron Iles
2013-07-28 20:00:01 +10:00
R David Murray 4d35e75ca0 #17818: aifc.getparams now returns a namedtuple.
Patch by Claudiu Popa.
2013-07-25 16:12:01 -04:00
Nick Coghlan 24c05bc154 Close issue 17482: don't overwrite __wrapped__ 2013-07-15 21:13:08 +10:00
Victor Stinner 0507bf56f0 Issue #3329: Implement the PEP 445
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
2013-07-07 02:05:46 +02:00
Brett Cannon 679ecb565b Issue #15767: back out 8a0ed9f63c6e, finishing the removal of
ModuleNotFoundError.
2013-07-04 17:51:50 -04:00
Brett Cannon 82da8886cc Issue #15767: Revert 3a50025f1900 for ModuleNotFoundError 2013-07-04 17:48:16 -04:00
R David Murray 9a2f139ba0 #18111: Add What's New entry for max/min default. 2013-06-28 13:31:19 -04:00
R David Murray 5707d508e1 #11390: convert doctest CLI to argparse and add -o and -f options.
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.
2013-06-23 14:24:13 -04:00
Christian Heimes c77d9f38c2 Issue #11016: Add C implementation of the stat module as _stat 2013-06-22 21:05:02 +02:00
Christian Heimes 70833a8b1f ... also TLSv1.1 and TLSv1.2 2013-06-22 19:34:17 +02:00
Christian Heimes 24cd4cfc58 Add my SSL module patches to whatsnew 3.4 2013-06-22 19:31:58 +02:00
Victor Stinner 854ffcb6f3 whatsnew/3.4: mention functools.singledispatch, PEP 443 2013-06-21 00:36:30 +02:00
Victor Stinner 84e33c8431 whatsnew/3.4: mention the new enum module, PEP 435 2013-06-21 00:31:55 +02:00
Brett Cannon f4375ef4d4 importlib.abc.SourceLoader.get_source() was re-raising SyntaxError and
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.
2013-06-16 18:05:54 -04:00
Brett Cannon e4f41deccf Issue #17177: The imp module is pending deprecation.
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).
2013-06-16 13:13:40 -04:00
Andrew Kuchling 0d0813a816 Fix typo; clarify that the methods were removed entirely 2013-06-15 13:29:09 -04:00
Brett Cannon 82b3d6ae93 Move something to the right section of What's New 2013-06-14 22:37:11 -04:00
Brett Cannon 33915eba7c Issue #17222: Raise FileExistsError when py_compile.compile would
overwrite a symlink or non-regular file with a regular file.
2013-06-14 18:33:00 -04:00
Brett Cannon 8f5ac5106e Issue #15767: Touch up ModuleNotFoundError usage by import.
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.
2013-06-12 23:29:18 -04:00
Brett Cannon b1611e2772 Issue #15767: Introduce ModuleNotFoundError, a subclass of
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.
2013-06-12 16:59:46 -04:00
Brett Cannon 3e0651b5fa Issue #18065: For frozen packages set __path__ to [].
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.
2013-05-31 23:18:39 -04:00
Brett Cannon 0dbb4c7f13 Issues #18088, 18089: Introduce
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.
2013-05-31 18:56:47 -04:00
Brett Cannon 028d51236a Update What's New for importlib.util.module_to_load name change 2013-05-31 18:02:11 -04:00
Brett Cannon 3dc48d6f69 Issue #18070: importlib.util.module_for_loader() now sets __loader__
and __package__ unconditionally in order to do the right thing for
reloading.
2013-05-28 18:35:54 -04:00
Nick Coghlan b39fd0c9b8 Issue #11816: multiple improvements to the dis module
* get_instructions generator
* ability to redirect output to a file
* Bytecode and Instruction abstractions

Patch by Nick Coghlan, Ryan Kelly and Thomas Kluyver.
2013-05-06 23:59:20 +10:00
Brett Cannon 4c14b5de1c #17115,17116: Have modules initialize the __package__ and __loader__
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.
2013-05-04 13:56:58 -04:00
R David Murray 8a34596bbe #2118: IOError is deprecated, use OSError. 2013-04-14 06:46:35 -04:00
R David Murray 8e37d5df95 #2118: Make SMTPException a subclass of IOError.
Initial patch by Ned Jackson Lovely.
2013-04-13 14:49:48 -04:00
R David Murray 671cd3290b #17487: wave.getparams now returns a namedtuple.
Patch by Claudiu Popa.
2013-04-10 12:31:43 -04:00
Brett Cannon 777622b6ca What's new entry for issue #17093 2013-04-09 17:03:10 -04:00
R David Murray 9c7dfbf720 Merge #17623: fix whatsnew typo
Patch by Thomas Heller.
2013-04-03 06:17:30 -04:00
R David Murray 03b2a1ce51 #17623: fix whatsnew typo
Patch by Thomas Heller.
2013-04-03 06:16:14 -04:00
Antoine Pitrou 2463e5fee4 Issue #16692: The ssl module now supports TLS 1.1 and TLS 1.2. Initial patch by Michele Orrù. 2013-03-28 22:24:43 +01:00
Georg Brandl 1bab7134a8 Merge with 3.3. 2013-03-28 13:28:55 +01:00
Georg Brandl 44ea77bd81 Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text. 2013-03-28 13:28:44 +01:00
Kristjan Valur Jonsson a1e8244afa Issue #16475: Add a whatsnew entry for 3.4 2013-03-26 13:56:14 +00:00
Terry Jan Reedy 2b6c26ebe3 Issue #13248: NEWS and What's New items 2013-03-21 19:36:26 -04:00
doko@ubuntu.com 6d3d0fe0b2 - Issue #16754: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:39:52 -07:00
doko@ubuntu.com 1621d77fc8 - Issue #16754: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:31:41 -07:00
doko@ubuntu.com d5537d071c - Issue #16754: Fix the incorrect shared library extension on linux. Introduce
two makefile macros SHLIB_SUFFIX and EXT_SUFFIX. SO now has the value of
  SHLIB_SUFFIX again (as in 2.x and 3.1). The SO macro is removed in 3.4.
2013-03-21 13:21:49 -07:00
Chris Jerdonek 7d2fad1be2 Merge from 3.3: link to "yield from" examples in yield documentation. 2012-12-23 15:35:23 -08:00
Chris Jerdonek 2654b86e88 Link to "yield from" examples in yield documentation.
This commit also simplifies the more advanced "yield from" example and removes
unused function parameters.
2012-12-23 15:31:57 -08:00
R David Murray 5a9d706123 #16522: Add FAIL_FAST flag to doctest.
Patch by me, most of the work (doc and tests) by Daniel Urban.
2012-11-21 15:09:21 -05:00
Ezio Melotti 25bbe5e0bc #16157: merge with 3.3. 2012-11-17 19:30:48 +02:00
Ezio Melotti fa7aeecbca #16157: fix links in the whatsnew files. 2012-11-17 19:29:12 +02:00
Victor Stinner e64322e034 Close #14625: Rewrite the UTF-32 decoder. It is now 3x to 4x faster
Patch written by Serhiy Storchaka.
2012-10-30 23:12:47 +01:00
Georg Brandl 3b80d34c55 Remove confusing "Release" and "Date" markers from whatsnews. Merge with 3.3. 2012-10-28 13:37:54 +01:00
Georg Brandl ff65a10418 Remove confusing "Release" and "Date" markers from whatsnews. Merge with 3.2. 2012-10-28 13:37:18 +01:00
Georg Brandl 75f0020d29 Remove confusing "Release" and "Date" markers from whatsnews. 2012-10-28 13:35:56 +01:00
Ezio Melotti 777d0c5c21 Merge PEP name fix with 3.3. 2012-10-21 07:37:25 +03:00
Ezio Melotti 8cd45bd48d Fix PEP name. 2012-10-21 07:36:58 +03:00
Ezio Melotti 13b1547e1b Merge punctuation fixes with 3.3. 2012-10-20 22:54:12 +03:00
Ezio Melotti 76e7ea5b4c Fix punctuation. 2012-10-20 22:53:47 +03:00
Ezio Melotti 022b6d2fa5 Merge "seealso" change with 3.3. 2012-10-20 16:27:51 +03:00
Ezio Melotti 36e01df18e Move note about the implementation in the "seealso". 2012-10-20 16:26:18 +03:00
R David Murray 4d289a2a4d Merge: A couple more whatsnew updates. 2012-10-16 21:54:12 -04:00
R David Murray e54c718572 A couple more whatsnew updates. 2012-10-16 21:52:24 -04:00
Ezio Melotti 6ca07a221a Merge typo fix. 2012-10-16 21:51:06 +03:00
Ezio Melotti ad626807a6 Fix typo. 2012-10-16 21:50:33 +03:00
Benjamin Peterson 143d034ecd merge 3.2 2012-10-12 12:04:32 -04:00
Ezio Melotti 5c3283e43a Merge __next__ method link fixes with 3.3. 2012-10-12 13:46:37 +03:00
Ezio Melotti 1dd7c30419 Merge __next__ method link fixes with 3.2. 2012-10-12 13:45:38 +03:00
Ezio Melotti 7fa822275b Fix links to the __next__ method. 2012-10-12 13:42:08 +03:00
R David Murray 96e936712f Merge: More whatsnew updates, move some doc NEWS items into the doc section. 2012-10-06 23:21:01 -04:00
R David Murray f4c2757d78 More whatsnew updates, move some doc NEWS items into the doc section. 2012-10-06 23:19:17 -04:00
R David Murray fb4dc080eb Merge: starmap/starmap_async for whatsnew, and fix multiprocessing Pool markup. 2012-10-06 22:27:31 -04:00
R David Murray ace5162294 starmap/starmap_async for whatsnew, and fix multiprocessing Pool markup. 2012-10-06 22:26:52 -04:00
R David Murray 7ecc5ba7be Merge: More whatsnew updates. Also move a C-API NEWS item out of library section. 2012-10-06 22:10:42 -04:00
R David Murray fd740967ba More whatsnew updates. Also move a C-API NEWS item out of library section. 2012-10-06 22:08:08 -04:00
R David Murray e24728bb9e merge #9957: document that SpooledTemporaryFile.truncate now accepts a size arg 2012-10-06 18:33:08 -04:00
R David Murray ca76ea16ad #9957: document that SpooledTemporaryFile.truncate now accepts a size arg 2012-10-06 18:32:39 -04:00
R David Murray 435ee1fcd2 More whatsnew updates. 2012-10-06 18:20:08 -04:00
R David Murray 1e218c98df More whatsnew updates. 2012-10-06 18:18:55 -04:00
R David Murray 3dc23d4bf2 Merge: whatsnew updates for smtplib and collections.Counter. 2012-10-06 16:30:46 -04:00
R David Murray a21e51570d whatsnew updates for smtplib and collections.Counter. 2012-10-06 16:29:14 -04:00
R David Murray 5bab0789f8 Merge: Fix typos. 2012-10-06 16:06:41 -04:00
R David Murray 344174dc77 Fix typos. 2012-10-06 16:06:16 -04:00
R David Murray d9c6ab48a0 merge #10968: commit threading doc changes and corresponding whatsnew entry.
It is unfortunate that the '_' names were not kept as aliases, and that RLock
was not also converted to a class, but it is now too late to change either of
those things for 3.3.
2012-10-06 14:38:17 -04:00
R David Murray ef4d286770 #10968: commit threading doc changes and corresponding whatsnew entry.
It is unfortunate that the '_' names were not kept as aliases, and that RLock
was not also converted to a class, but it is now too late to change either of
those things for 3.3.
2012-10-06 14:35:35 -04:00
Christian Heimes 4a0270d82b Issue #16113: integrade SHA-3 (Keccak) patch from http://hg.python.org/sandbox/cheimes 2012-10-06 02:23:36 +02:00
Benjamin Peterson 88f3b23fdb 3.3 -> 3.4 (closes #16130) 2012-10-04 12:45:10 -04:00
Jesus Cea 279ed3cc55 MERGE: Whatsnew typo 2012-10-04 02:59:09 +02:00
Jesus Cea b6bb3ad567 Whatsnew typo 2012-10-04 02:58:48 +02:00
Jesus Cea ce3e0dd999 MERGE: whatsnew 2012-10-04 02:51:44 +02:00
Jesus Cea aa26488711 whatsnew 2012-10-04 02:51:22 +02:00
R David Murray 8155ff4dc0 More whatsnew updates. 2012-10-02 18:26:31 -04:00
R David Murray 3430fb803e More whatsnew updates. 2012-10-02 18:24:56 -04:00
R David Murray 814a13dc30 Merge: Add multiprocessing.Process.sentinel to whatsnew, mention SSLFakeFile removal. 2012-10-02 10:19:48 -04:00
R David Murray 994ce1a3c1 Add multiprocessing.Process.sentinel to whatsnew, mention SSLFakeFile removal. 2012-10-02 10:19:08 -04:00
Georg Brandl 450dbcf421 merge with 3.3. 2012-10-02 10:16:26 +02:00
Georg Brandl dc704c6751 In this case it is not useful to hide "threading". 2012-10-02 10:16:19 +02:00
R David Murray 6c617163a3 Merge: Add threading.get_ident to whatsnew. 2012-10-01 22:10:53 -04:00
R David Murray 0bbfd6b817 Add threading.get_ident to whatsnew. 2012-10-01 22:10:15 -04:00
R David Murray 6e7bd65453 Merge #11109: clean up docs, add whatsnew entry, and fix Justin's last name. 2012-10-01 21:47:57 -04:00
R David Murray 258fabefde #11109: clean up docs, add whatsnew entry, and fix Justin's last name. 2012-10-01 21:43:46 -04:00
Ezio Melotti f25dabe1ec Merge changelog filtering fixes/improvements with 3.3. 2012-10-02 01:46:49 +03:00
Ezio Melotti 7eb03ddf11 Fix/improve the changelog filtering. 2012-10-02 01:43:42 +03:00
Georg Brandl a32e8dfe12 merge with 3.3. 2012-10-01 19:09:00 +02:00
Georg Brandl 44d0c2156a Several improvements to the HTML NEWS version:
* rename to "Changelog"
* recognize more issue links
* add NEWS as a dependency for Sphinx
2012-10-01 19:08:50 +02:00
Georg Brandl 4a6ca2186a merge with 3.3 2012-10-01 18:56:55 +02:00
Brian Curtin f41d202555 Correcting my name since people keep bringing it up 2012-10-01 09:29:36 -05:00
R David Murray 015031cfd7 Merge: More additions to whatsnew. 2012-09-30 22:00:29 -04:00
R David Murray 445d69c2bd More additions to whatsnew. 2012-09-30 21:59:56 -04:00
R David Murray 4c12c51111 Merge: More whatsnew adds, especially the os module.
I went through all the versionchanged/versionadded tags in the os doc page for
this changeset.
2012-09-30 20:09:04 -04:00
R David Murray c652ce6d02 More whatsnew adds, especially the os module.
I went through all the versionchanged/versionadded tags in the os doc page for
this changeset.
2012-09-30 20:07:42 -04:00
R David Murray 9ec083a376 Merge: Add some missing stuff to whatsnew. 2012-09-30 17:29:54 -04:00
R David Murray d2489cf4d0 Add some missing stuff to whatsnew. 2012-09-30 17:28:54 -04:00
Nick Coghlan 03074fd450 Adjust guidelines for What's New maintenance to account for issues encountered in 3.3 and in past releases 2012-09-30 18:51:53 +05:30
Georg Brandl 7ef90a1a37 merge with 3.3 2012-09-30 15:10:34 +02:00
Georg Brandl 2cac28b37e Add a filterable HTML version of Misc/NEWS to the docs "whatsnew" section. 2012-09-30 15:10:06 +02:00
Georg Brandl 50de85067f Record UCD update in whatsnew. 2012-09-30 14:39:18 +02:00
Nick Coghlan f029beccb1 Close previous head 2012-09-30 13:27:29 +05:30
Nick Coghlan 349c802fd8 What's new entry for PEP 397 and Windows PATH modification 2012-09-30 13:00:43 +05:30
Georg Brandl b80f511a8b Add a stub "whatsnew in 3.4" document. 2012-09-30 09:11:58 +02:00
Nick Coghlan cfb181859a Fix release PEP description 2012-09-30 12:08:13 +05:30
R David Murray ea22685a04 Add notes to whatsnew porting for visible changes in email compatibility mode. 2012-09-30 01:27:24 -04:00
R David Murray f23e2b67ad Make whatsnew PEP markup conform to previous whatsnew docs.
Also some other consistency tweaks.
2012-09-29 19:41:26 -04:00
R David Murray 77ac351bbf Move discussion of email changes into Improved Modules section. 2012-09-29 15:43:33 -04:00
R David Murray 9a2eb3aa66 Raymond didn't write any of the text this time, remove as author. 2012-09-29 15:33:49 -04:00
R David Murray f75e65f0f4 Fix over-indentation of bullet lists. 2012-09-29 15:27:53 -04:00
R David Murray 26d15bffaa Be consistent and don't use a bullet list when a section has only one item. 2012-09-29 15:13:35 -04:00
R David Murray cff1c6f665 Clarify description of who needs to worry about importlib changes. 2012-09-29 14:34:43 -04:00
Benjamin Peterson 14fb44e1ba merge mostly from default 2012-09-29 14:14:19 -04:00
R David Murray 1764c80925 Add smtpd changes to whatsnew, and integrate 'other' section.
Also made the smtplib markup consistent with the rest of the markup.
2012-09-29 11:42:36 -04:00
R David Murray defdb16a3c Remove visible XXX in What's New. 2012-09-29 10:53:31 -04:00
R David Murray aae25833dc Document the addition of 'quote' to shlex in What's New. 2012-09-29 09:49:05 -04:00
Georg Brandl 99a247fd01 Merge with main repo default branch. 2012-09-29 09:27:15 +02:00
Georg Brandl 1d021738e2 Update release date in whatsnew document. 2012-09-29 09:06:10 +02:00
Nick Coghlan 3658cb3012 Tell people the *new* behaviour, not just the old behaviour 2012-09-27 20:07:45 +10:00
Nick Coghlan c4bacd3646 Mention the Unicode version bump in What's New 2012-09-27 19:58:31 +10:00
Ezio Melotti 461f41df5b Add a few entries to whatsnew/3.3.rst. 2012-09-26 17:43:23 +03:00
Georg Brandl fc349216d7 Closes #16052: fix typo. Patch by Lars Buitinck. 2012-09-26 13:11:48 +02:00
Giampaolo Rodola' 8286951f57 merge 3.3 2012-09-25 12:34:54 -07:00
Giampaolo Rodola' 49379c05cd mention new MLSD support for ftplib in 3.3 whatsnew 2012-09-25 12:32:46 -07:00
Brett Cannon 847bb76f18 merge 2012-09-25 15:23:49 -04:00
Brett Cannon 288717a2ac Shift a deprecation from the porting section to the deprecation section. 2012-09-25 15:23:07 -04:00
Giampaolo Rodola' 15c8849001 fix contextlib.ExitStack typo in 3.3's whatsnew.rst 2012-09-25 12:00:04 -07:00
Victor Stinner d0af3103ef Close #16022: What's New in Python 3.3 document is no more at beta stage 2012-09-24 23:19:17 +02:00
Victor Stinner 6447b9214a Close #16022: What's New in Python 3.3 document is no more at beta stage 2012-09-24 23:19:17 +02:00
Larry Hastings 88950fb4d0 Add What's New entries for some minor work I did in 3.3. 2012-09-21 09:30:19 -07:00
Ezio Melotti 7598e18bf2 Fix rst markup. 2012-09-20 08:33:53 +03:00
Victor Stinner 1da769a302 What's New in Python 3.3: mention unittest.mock 2012-09-18 22:40:03 +02:00
Larry Hastings 9471797cc6 Add What's New entries for some minor work I did in 3.3. 2012-09-21 09:30:19 -07:00
Stefan Krah 9e31d36d4a Issue #15814: Update whatsnew to the current state of hashing memoryviews. 2012-09-08 15:35:01 +02:00
Stefan Krah 37a0170fa3 Issue #15814: Update whatsnew to the current state of hashing memoryviews. 2012-09-08 15:35:01 +02:00
Eric Snow b2a61e1ead add whatsnew entry for PEP 421 2012-09-05 22:19:38 -07:00
Stefan Krah 49dc1d4013 Add missing unit. 2012-09-01 14:27:51 +02:00
Stefan Krah a10e2fbe0b Compile _decimal without asserts and update benchmark results. 2012-09-01 14:21:22 +02:00
Stefan Krah af3f3a7f00 Closes #10650: Deprecate the watchexp parameter of Decimal.quantize(). 2012-08-30 12:33:55 +02:00
Stefan Krah 0f8cab20d9 Closes #10650: Deprecate the watchexp parameter of Decimal.quantize(). 2012-08-30 12:33:55 +02:00
Stefan Krah a3f4a16607 Add missing unit. 2012-09-01 14:27:51 +02:00
Stefan Krah ceaaced4be Compile _decimal without asserts and update benchmark results. 2012-09-01 14:21:22 +02:00
Nick Coghlan 06e1ab0a6b Close #15573: use value-based memoryview comparisons (patch by Stefan Krah) 2012-08-25 17:59:50 +10:00
Stefan Krah 029780be09 Issue #13072: The array module's 'u' format code is now deprecated and
will be removed in Python 4.0.
2012-08-24 20:14:12 +02:00
Alexander Belopolsky 35d600cbb5 Suggested a whatsnew item 2012-08-22 23:14:29 -04:00
Antoine Pitrou a5e5797e48 Improve the pyvenv entry 2012-08-21 01:08:17 +02:00
Antoine Pitrou c907de90d4 Improved summary section in whatsnew 2012-08-21 00:53:06 +02:00
Nick Coghlan 273069cf7d Close #4966: revamp the sequence docs in order to better explain the state of modern Python 2012-08-20 17:14:07 +10:00
R David Murray 27bbcfb8ff Merge #15543: glossary entry for and 'universal newlines', and links to it.
Patch by Chris Jerdonek.
2012-08-15 11:11:27 -04:00
R David Murray ee0a945ae4 #15543: reflow paragraphs. 2012-08-15 11:05:36 -04:00
R David Murray 1b00f25bf9 #15543: glossary entry for and 'universal newlines', and links to it.
Patch by Chris Jerdonek.
2012-08-15 10:43:58 -04:00
Andrew Svetlov ac23c9ea7f Mention PEP 362: Function Signature Object in whatsnew. 2012-08-13 21:27:56 +03:00
Andrew Svetlov a2fe334081 Issue #15527: fix docs, remove double parens by changing markup.
Patch by Serhiy Storchaka.
2012-08-11 21:14:08 +03:00
Antoine Pitrou b79be95dac Issue #15444: Use proper spelling for non-ASCII contributor names.
Patch by Serhiy Storchaka.
2012-08-11 16:54:27 +02:00
Antoine Pitrou fbd4f80979 Issue #15444: Use proper spelling for non-ASCII contributor names.
Patch by Serhiy Storchaka.
2012-08-11 16:51:50 +02:00
Georg Brandl a81b481e3a Fix markup errors and update pydoc topics. 2012-08-11 08:43:59 +02:00
Brett Cannon 522267e784 Issue #15610: The PyImport_ImportModuleEx macro now calls
PyImport_ImportModuleLevel() with a 'level' of 0 instead of -1 as the
latter is no longer a valid value.

Also added a versionchanged note for PyImport_ImportModuleLevel() just
in case people don't make the connection between changes to
__import__() and this C function.
2012-08-10 18:55:08 -04:00
Eli Bendersky efcaba065e Add description of major changes in xml.etree.ElementTree to whatsnew/3.3 2012-08-09 08:20:20 +03:00
Victor Stinner 636130ed65 What's New in Python 3.3: Split improved and new modules, start to write a summary 2012-08-05 16:37:12 +02:00
Victor Stinner 8f17c1c00d Complete What's New in Python 3.3. 2012-08-05 16:31:32 +02:00
Victor Stinner fa0d628359 Issue #15548: Update and complete What's New in Python 3.3, especially the "os" section 2012-08-05 15:56:51 +02:00
Brett Cannon 077ef45a74 Update the What's New details for importlib based on doc/ABC changes. 2012-08-02 17:50:06 -04:00
Barry Warsaw c1e721b979 Address substantially all of Eric Snow's comments in issue #15295, except for
those which now have additional XXX's here.  I'll get to those later. :)
2012-07-30 16:24:12 -04:00
Nick Coghlan 6061000d01 Update the pkgutil porting section in What's New. This should cause significantly fewer problems after today's updates 2012-07-15 22:39:39 +10:00
Brett Cannon 77b2abd094 Issue #15167 (as part of #13959): imp.get_magic() is no implemented in
Lib/imp.py.
2012-07-09 16:09:00 -04:00
Brett Cannon 903c27c177 Add a note about pkgutil and how some things do not work in the face of PEP 302 permeating throughout import. 2012-07-09 14:15:32 -04:00
Antoine Pitrou d94adb7367 Add a blurb about PEP 412 2012-07-07 17:33:42 +02:00
Christian Heimes 31940375a6 Added hmac.compare_digest to whatsnew 2012-06-26 10:16:55 +02:00
Georg Brandl dba3b5ce07 3.3 whatsnew: Comment out the section about new POSIX *at functions etc.; has to be rewritten later. 2012-06-26 09:36:14 +02:00
Petri Lehtinen 6c3f1dd834 What's new: Add myself as the contributor of issue 12170 2012-06-26 10:24:47 +03:00
Antoine Pitrou ad09b5ddb9 Add a couple of what's new entries. 2012-06-24 22:41:33 +02:00
Antoine Pitrou 5d7e1d378c Fix statement. 2012-06-24 22:38:23 +02:00
Georg Brandl 988049ad97 Alpha -> Beta 2012-06-24 18:12:24 +02:00
Sandro Tosi f06d444f5a don't split 'Hye-Shik Chang' name; thanks to Sergey from docs@ 2012-02-19 12:30:28 +01:00
Sandro Tosi 515687a7ed remove 'Documenting Python' and its references, it's now on devguide 2012-01-14 22:23:27 +01:00
Sandro Tosi f57674713a Issue #12042: a queue is only used to retrive results; preliminary patch by Jordan Stadler 2012-01-05 19:48:56 +01:00
Antoine Pitrou 08c08eb93c Issue #13597: Fix the documentation of the "-u" command-line option, and wording of "What's new in Python 3.0" about standard streams. 2011-12-21 11:24:15 +01:00
Jason R. Coombs df9a5f5ecf Issue #12666: Clarifying changes in map for Python 3 2011-08-01 17:51:34 -04:00
Éric Araujo 04e6909845 Fix markup 2011-11-14 18:00:48 +01:00
Raymond Hettinger af37b89240 Issue 12668: Fix wording in Whatsnew3.2 2011-10-19 14:16:18 -07:00
Ezio Melotti e130a52d8a Remove duplication. 2011-10-19 10:58:56 +03:00
Ezio Melotti 4e15828640 Fix/improve markup in whatsnew/2.7. 2011-10-10 00:30:14 +03:00